Minor event refactoring
Assert that all events will share the same filter interface by
moving event filters to event base class.
Remove virtual on destructors in classes with final.
Improve comments in a number of places.
Change-Id: Ia32c13fd0f3b9a5fa147a2198a285bce37c27cfb
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/manager.hpp b/manager.hpp
index bd12ef6..616e45d 100644
--- a/manager.hpp
+++ b/manager.hpp
@@ -92,10 +92,10 @@
/** @brief sd_bus Notify method implementation callback. */
void notify(sdbusplus::message::object_path, Object) override;
- /** @brief sd_bus signal callback. */
- void signal(sdbusplus::message::message&,
- const details::DbusSignal& event,
- const EventInfo& info);
+ /** @brief Event processing entry point. */
+ void handleEvent(sdbusplus::message::message&,
+ const details::Event& event,
+ const EventInfo& info);
/** @brief Drop one or more objects from DBus. */
void destroyObjects(