Uniot Core
0.8.1
Loading...
Searching...
No Matches
uniot::ISchedulerConnectionKit Class Referenceabstract

Interface for connecting components to the TaskScheduler. More...

#include <ISchedulerConnectionKit.h>

Inheritance diagram for uniot::ISchedulerConnectionKit:
[legend]

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.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ~ISchedulerConnectionKit()

virtual uniot::ISchedulerConnectionKit::~ISchedulerConnectionKit ( )
inlinevirtual

Virtual destructor for proper cleanup.

Member Function Documentation

◆ attach()

virtual void uniot::ISchedulerConnectionKit::attach ( )
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.

◆ pushTo()

virtual void uniot::ISchedulerConnectionKit::pushTo ( TaskScheduler & scheduler)
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.

Parameters
schedulerThe scheduler to connect with

Implemented in uniot::AppKit, uniot::MQTTKit, uniot::NetworkController, and uniot::NetworkScheduler.


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