fesa-core
4.2.0
|
this class configures the real time process. More...
#include <RTController.h>
Public Member Functions | |||
RTController (ThreadConfigurer &threadConfigurer) | |||
this object takes ownership of priorityConf More... | |||
virtual | ~RTController () | ||
destructor | |||
void | start () | ||
This method starts all the schedulers and event sources. | |||
void | printConfigAll (FesaStream *fesaStream) | ||
this method prints the configuration of the controller in the stream passed by argument More... | |||
void | printStateAll (std::ostream &stream, double elapsedTime) | ||
this method prints the state of the controller into the stream passed by argument More... | |||
void | initialize () | ||
This method creates the RT schedulers configuration filling the map for the schedulers and events
| |||
Protected Attributes | |
std::map< const std::string, RTScheduler * > | schedulersCol_ |
list of schedulers | |
this class configures the real time process.
It creates the event sources, actions, and schedulers and configures those elements so that the real time part is ready. The class is also responsible for starting the event sources and schedulers
fesa::RTController::RTController | ( | ThreadConfigurer & | threadConfigurer | ) |
this object takes ownership of priorityConf
priorityConf | the thread priority configuration |
void fesa::RTController::printConfigAll | ( | FesaStream * | fesaStream | ) |
this method prints the configuration of the controller in the stream passed by argument
fesaStream | in which the configuration will be printed |
void fesa::RTController::printStateAll | ( | std::ostream & | stream, |
double | elapsedTime | ||
) |
this method prints the state of the controller into the stream passed by argument
fesaStream | in which the state will be printed |
elapsedTime | to calculate the frequency of the events |