fesa-core  5.0.1
fesa::RTController Class Reference

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

Exceptions
FesaException.

 

Protected Attributes

std::map< const std::string,
RTScheduler * > 
schedulersCol_
 list of schedulers
 

Detailed Description

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

Constructor & Destructor Documentation

fesa::RTController::RTController ( ThreadConfigurer threadConfigurer)

this object takes ownership of priorityConf

Parameters
priorityConfthe thread priority configuration

Member Function Documentation

void fesa::RTController::printConfigAll ( FesaStream *  fesaStream)

this method prints the configuration of the controller in the stream passed by argument

Parameters
fesaStreamin 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

Parameters
fesaStreamin which the state will be printed
elapsedTimeto calculate the frequency of the events

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