Marsyas  0.5.0-beta1
Public Member Functions | Static Public Member Functions
Scheduler Class Reference

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 &param)
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)

Detailed Description

Scheduler schedules things.

Author:
Neil Burroughs inb@cs.uvic.ca

Definition at line 40 of file Scheduler.h.


Constructor & Destructor Documentation

Scheduler ( )

Definition at line 29 of file Scheduler.cpp.

~Scheduler ( ) [virtual]

Definition at line 35 of file Scheduler.cpp.


Member Function Documentation

void addTimer ( TmTimer t)

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.

void addTimer ( std::string  class_name,
std::string  identifier,
std::vector< TmParam params 
)

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 ( )
void post ( std::string  event_time,
Repeat  rep,
EvEvent me 
)

Definition at line 230 of file Scheduler.cpp.

void post ( std::string  event_time,
EvEvent me 
)

Definition at line 238 of file Scheduler.cpp.

void post ( TmTime  t,
Repeat  r,
EvEvent me 
)

Definition at line 223 of file Scheduler.cpp.

void post ( std::string  time,
std::string  timer_name,
Repeat  r,
EvEvent me 
)

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.

void updtimer ( std::string  tmr_id,
TmParam param 
)

Definition at line 125 of file Scheduler.cpp.

void updtimer ( std::string  tmr_id,
std::vector< TmParam params 
)

Definition at line 137 of file Scheduler.cpp.


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