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. More... | |
virtual void | display (std::ostream &os) const |
![]() | |
Entity (const std::string &name) | |
virtual | ~Entity () |
const std::string & | getName () const |
virtual std::string | getDocString () const |
bool | hasSignal (const std::string &signame) const |
SignalBase< int > & | getSignal (const std::string &signalName) |
const SignalBase< int > & | getSignal (const std::string &signalName) const |
std::ostream & | displaySignalList (std::ostream &os) const |
virtual std::ostream & | writeGraph (std::ostream &os) const |
virtual std::ostream & | writeCompletionList (std::ostream &os) const |
virtual SignalBase< int > * | test () |
virtual void | test2 (SignalBase< int > *) |
const std::string & | getCommandList () const |
CommandMap_t | getNewStyleCommandMap () |
command::Command * | getNewStyleCommand (const std::string &cmdName) |
SignalMap | getSignalMap () const |
Public Attributes | |
Signal< int, int > | triggerSOUT |
Trigger signal, to be updated periodically to trigger a call to the synchronization method. More... | |
Static Public Attributes | |
static const std::string | CLASS_NAME |
Additional Inherited Members | |
![]() | |
typedef std::map< std::string, SignalBase< int > * > | SignalMap |
typedef std::map< const std::string, command::Command *> | CommandMap_t |
![]() | |
void | addCommand (const std::string &name, command::Command *command) |
void | entityRegistration () |
void | entityDeregistration () |
void | signalRegistration (const SignalArray< int > &signals) |
void | signalDeregistration (const std::string &name) |
![]() | |
std::string | name |
SignalMap | signalMap |
CommandMap_t | commandMap |
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 |
Reimplemented from dynamicgraph::Entity.
|
inlinevirtual |
Reimplemented from 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.
|
static |
Signal< int,int > dynamicgraph::sot::StepTimeLine::triggerSOUT |
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.