Tool Libs
UMIT-TIROL Institute of Automation and Control Engineering library collection
 
Loading...
Searching...
No Matches
Schedule::Schedulable Struct Referenceabstract

represents an object that can be scheduled for later calling More...

#include <schedule.h>

Inherited by Schedule::Evented::Schedulable, and Schedule::Recurring::Schedulable.

Public Member Functions

virtual bool schedule (uint32_t)
 return true if object should be scheduled at this time
 
virtual void call ()=0
 this method is called to run the Schedulable
 

Detailed Description

represents an object that can be scheduled for later calling

is the poor man's closure this can be implemented to enable different behaviours. See the Recurring & Evented namespaces


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