Synchronizes the components for the automatic step generation. More...
#include <sot-pattern-generator/step-time-line.h>
Public Member Functions | |
virtual const std::string & | getClassName (void) const |
StepTimeLine (const std::string &name) | |
int & | triggerCall (int &dummy, int timeCurr) |
The trigger callback function, which implements the synchronization of all the sub-components used to generate and send the steps. | |
virtual void | display (std::ostream &os) const |
Public Attributes | |
Signal< int, int > | triggerSOUT |
Trigger signal, to be updated periodically to trigger a call to the synchronization method. | |
Static Public Attributes | |
static const std::string | CLASS_NAME |
Synchronizes the components for the automatic step generation.
This entity automatically generates steps to send to a PatternGenerator entity. The responsibility of this entity is to synchronize all the components that are used to generate and send the steps, by triggering them at the appropriate time.
This entity accepts the following shell commands:
The possible states of the timeline are the following:
dynamicgraph::sot::StepTimeLine::StepTimeLine | ( | const std::string & | name | ) |
virtual void dynamicgraph::sot::StepTimeLine::display | ( | std::ostream & | os | ) | const [virtual] |
Reimplemented from dynamicgraph::Entity.
virtual const std::string& dynamicgraph::sot::StepTimeLine::getClassName | ( | void | ) | const [inline, virtual] |
Implements dynamicgraph::Entity.
int& dynamicgraph::sot::StepTimeLine::triggerCall | ( | int & | dummy, |
int | timeCurr | ||
) |
The trigger callback function, which implements the synchronization of all the sub-components used to generate and send the steps.
const std::string dynamicgraph::sot::StepTimeLine::CLASS_NAME [static] |
Trigger signal, to be updated periodically to trigger a call to the synchronization method.
Typically, this signal is added to the periodic calls of OpenHRP.