COSA
An Object-Oriented Platform for Arduino Programming
|
#include <RTT.hh>
Public Member Functions | |
Scheduler () | |
virtual bool | start (Job *job) |
virtual void | dispatch () |
virtual uint32_t | time () |
virtual bool | stop (Job *job) |
Protected Attributes | |
Head | m_queue |
|
inline |
|
virtual |
Dispatch expired jobs. Called from RTT ISR.
Reimplemented from Job::Scheduler.
Definition at line 70 of file RTT_Scheduler.cpp.
|
virtual |
Start given job. Returns true(1) if successful otherwise false(0).
Reimplemented from Job::Scheduler.
Definition at line 25 of file RTT_Scheduler.cpp.
|
virtualinherited |
Stop given job. Returns true(1) if successful otherwise false(0).
[in] | job | to stop. |
Definition at line 44 of file Job_Scheduler.cpp.
|
virtual |
Return current time in micro-seconds.
Implements Job::Scheduler.
Definition at line 109 of file RTT_Scheduler.cpp.