|
m2etis
0.4
|
#include <Scheduler.h>

Classes | |
| struct | Job |
Public Types | |
| typedef struct m2etis::pubsub::Scheduler::Job | Job |
Public Member Functions | |
| Scheduler (util::Clock< ClockUpdater > &c) | |
| ~Scheduler () | |
| uint64_t | runOnce (uint64_t time, const boost::function< bool(void)> &func, int16_t priority) |
| adds new job running only once More... | |
| uint64_t | runRepeated (uint64_t interval, const boost::function< bool(void)> &func, int16_t priority) |
| adds new job running repeatedly More... | |
| uint64_t | getTime () const |
| returns current time More... | |
| void | stop (uint64_t id) |
| void | Stop () |
| Stops whole Scheduler and removes all tasks. More... | |
Definition at line 37 of file Scheduler.h.
| typedef struct m2etis::pubsub::Scheduler::Job m2etis::pubsub::Scheduler< ClockUpdater >::Job |
|
inlineexplicit |
Definition at line 59 of file Scheduler.h.
|
inline |
Definition at line 68 of file Scheduler.h.
|
inline |
returns current time
Definition at line 106 of file Scheduler.h.

|
inline |
adds new job running only once
| [in] | time | time after which this job will be scheduled (in microseconds) |
| [in] | func | function to be called when scheduled |
| [in] | priority | priority of this job |
Definition at line 78 of file Scheduler.h.

|
inline |
adds new job running repeatedly
| [in] | interval | time after which this job will be scheduled (in microseconds) |
| [in] | func | function to be called when scheduled |
| [in] | priority | priority of this job |
Definition at line 94 of file Scheduler.h.

|
inline |
|
inline |
Stops whole Scheduler and removes all tasks.
Definition at line 119 of file Scheduler.h.