Marsyas
0.6.0-alpha
|
Scheduler schedules things. More...
#include <Scheduler.h>
Public Member Functions | |
void | addTimer (TmTimer *t) |
void | addTimer (std::string class_name, std::string identifier) |
void | addTimer (std::string class_name, std::string identifier, std::vector< TmParam > params) |
bool | eventPending () |
std::string | getName () |
std::string | getPrefix () |
mrs_natural | getTime (std::string timer) |
std::string | getType () |
void | post (std::string event_time, Repeat rep, EvEvent *me) |
void | post (std::string event_time, EvEvent *me) |
void | post (TmTime t, Repeat r, EvEvent *me) |
void | post (std::string time, std::string timer_name, Repeat r, EvEvent *me) |
void | removeAll () |
bool | removeTimer (std::string name) |
Scheduler () | |
void | setName (std::string name) |
void | tick () |
void | updtimer (std::string tmr_id, TmControlValue value) |
void | updtimer (std::string tmr_id, TmParam ¶m) |
void | updtimer (std::string tmr_id, std::vector< TmParam > params) |
virtual | ~Scheduler () |
Static Public Member Functions | |
static void | split_cname (std::string cname, std::string *head, std::string *tail) |
Scheduler schedules things.
Definition at line 40 of file Scheduler.h.
Scheduler | ( | ) |
Definition at line 29 of file Scheduler.cpp.
~Scheduler | ( | ) | [virtual] |
Definition at line 35 of file Scheduler.cpp.
Definition at line 56 of file Scheduler.cpp.
void addTimer | ( | std::string | class_name, |
std::string | identifier | ||
) |
Definition at line 68 of file Scheduler.cpp.
Definition at line 80 of file Scheduler.cpp.
bool eventPending | ( | ) |
Definition at line 47 of file Scheduler.cpp.
std::string getName | ( | ) |
std::string getPrefix | ( | ) |
mrs_natural getTime | ( | std::string | timer | ) |
Definition at line 246 of file Scheduler.cpp.
std::string getType | ( | ) |
Definition at line 230 of file Scheduler.cpp.
Definition at line 238 of file Scheduler.cpp.
Definition at line 202 of file Scheduler.cpp.
void removeAll | ( | ) |
Definition at line 189 of file Scheduler.cpp.
bool removeTimer | ( | std::string | name | ) |
Definition at line 172 of file Scheduler.cpp.
void setName | ( | std::string | name | ) |
void split_cname | ( | std::string | cname, |
std::string * | head, | ||
std::string * | tail | ||
) | [static] |
Definition at line 92 of file Scheduler.cpp.
void tick | ( | ) |
Definition at line 41 of file Scheduler.cpp.
void updtimer | ( | std::string | tmr_id, |
TmControlValue | value | ||
) |
Definition at line 111 of file Scheduler.cpp.
Definition at line 125 of file Scheduler.cpp.
Definition at line 137 of file Scheduler.cpp.