Uniot Core
0.8.1
Loading...
Searching...
No Matches
uniot::IEventBusConnectionKit< T_topic, T_msg, T_data > Class Template Referenceabstract

#include <IEventBusConnectionKit.h>

Public Member Functions

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.
 

Constructor & Destructor Documentation

◆ ~IEventBusConnectionKit()

template<class T_topic, class T_msg, class T_data>
virtual uniot::IEventBusConnectionKit< T_topic, T_msg, T_data >::~IEventBusConnectionKit ( )
inlinevirtual

Virtual destructor to ensure proper cleanup of derived classes.

Member Function Documentation

◆ registerWithBus()

template<class T_topic, class T_msg, class T_data>
virtual void uniot::IEventBusConnectionKit< T_topic, T_msg, T_data >::registerWithBus ( EventBus< T_topic, T_msg, T_data > & eventBus)
pure virtual

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
eventBusReference to the event bus to register with

Implemented in uniot::AppKit.

◆ unregisterFromBus()

template<class T_topic, class T_msg, class T_data>
virtual void uniot::IEventBusConnectionKit< T_topic, T_msg, T_data >::unregisterFromBus ( EventBus< T_topic, T_msg, T_data > & eventBus)
pure virtual

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
eventBusReference to the event bus to unregister from

Implemented in uniot::AppKit.


The documentation for this class was generated from the following file: