diff options
Diffstat (limited to 'src/monitor.hpp')
-rw-r--r-- | src/monitor.hpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/monitor.hpp b/src/monitor.hpp index 2fc91b5..aca64d8 100644 --- a/src/monitor.hpp +++ b/src/monitor.hpp @@ -23,9 +23,20 @@ class Monitor explicit Monitor(sdbusplus::bus::bus& bus); + void processStart() noexcept; + + void handleEvent(sdbusplus::message::message& msg, + const Event& event, + const std::tuple<std::vector<std::shared_ptr<Event>>, + std::vector<Action>>& eventDef); + private: sdbusplus::bus::bus& bus; + static const std::vector< + std::tuple<std::vector<std::shared_ptr<Event>>, + std::vector<Action>>> events; + }; } // namespace monitoring |