#include <IEventBusConnectionKit.h>
|
| virtual | ~IEventBusConnectionKit () |
| | Virtual destructor to ensure proper cleanup of derived classes.
|
| |
| virtual void | registerWithBus (EventBus< T_topic, T_msg, T_data > &eventBus)=0 |
| | Registers this component with the specified event bus.
|
| |
| virtual void | unregisterFromBus (EventBus< T_topic, T_msg, T_data > &eventBus)=0 |
| | Unregisters this component from the specified event bus.
|
| |
◆ ~IEventBusConnectionKit()
template<class T_topic, class T_msg, class T_data>
Virtual destructor to ensure proper cleanup of derived classes.
◆ registerWithBus()
template<class T_topic, class T_msg, class T_data>
Registers this component with the specified event bus.
Implementing classes should use this method to subscribe to relevant topics and set up message handlers.
- Parameters
-
| eventBus | Reference to the event bus to register with |
Implemented in uniot::AppKit.
◆ unregisterFromBus()
template<class T_topic, class T_msg, class T_data>
Unregisters this component from the specified event bus.
Implementing classes should use this method to unsubscribe from topics and clean up any resources associated with the event bus.
- Parameters
-
| eventBus | Reference to the event bus to unregister from |
Implemented in uniot::AppKit.
The documentation for this class was generated from the following file: