![]() |
|
Uniot Core
|
| 0.8.1 |
Interface for connecting components to the TaskScheduler. More...
#include <ISchedulerConnectionKit.h>
Public Member Functions | |
| virtual | ~ISchedulerConnectionKit () |
| Virtual destructor for proper cleanup. | |
| virtual void | pushTo (TaskScheduler &scheduler)=0 |
| Register this component with the given scheduler. | |
| virtual void | attach ()=0 |
| Initialize and activate the component. | |
Interface for connecting components to the TaskScheduler.
This interface facilitates the integration of different components with the TaskScheduler. Implementing classes can register themselves and their tasks with the scheduler system.
|
inlinevirtual |
Virtual destructor for proper cleanup.
|
pure virtual |
Initialize and activate the component.
This method should prepare the component for use, typically called after the component has been registered with a scheduler.
Implemented in uniot::AppKit, uniot::MQTTKit, uniot::NetworkController, and uniot::NetworkScheduler.
|
pure virtual |
Register this component with the given scheduler.
Implementing classes use this method to add themselves or their tasks to the provided scheduler instance.
| scheduler | The scheduler to connect with |
Implemented in uniot::AppKit, uniot::MQTTKit, uniot::NetworkController, and uniot::NetworkScheduler.