sot-core  4.11.8
Hierarchical task solver plug-in for dynamic-graph.
dynamicgraph::sot::Sequencer Class Reference

#include <sot/core/sequencer.hh>

Inheritance diagram for dynamicgraph::sot::Sequencer:

Classes

class  sotEventAbstract
 

Public Member Functions

 Sequencer (const std::string &name)
 
virtual ~Sequencer (void)
 
void setSotRef (Sot *sot)
 
void addTask (sotEventAbstract *task, const unsigned int time)
 
void rmTask (int eventType, const std::string &name, const unsigned int time)
 
void clearAll ()
 
int & trigger (int &dummy, const int &time)
 
virtual void display (std::ostream &os) const
 

Public Attributes

dynamicgraph::SignalTimeDependent< int, int > triggerSOUT
 

Protected Types

typedef std::list< sotEventAbstract * > TaskList
 
typedef std::map< unsigned int, TaskListTaskMap
 

Protected Attributes

SotsotPtr
 
TaskMap taskMap
 
int timeInit
 
bool playMode
 
std::ostream * outputStreamPtr
 
bool noOutput
 

Member Typedef Documentation

◆ TaskList

◆ TaskMap

typedef std::map<unsigned int, TaskList> dynamicgraph::sot::Sequencer::TaskMap
protected

Constructor & Destructor Documentation

◆ Sequencer()

dynamicgraph::sot::Sequencer::Sequencer ( const std::string &  name)

if true, display nothing standard output on except errors

◆ ~Sequencer()

virtual dynamicgraph::sot::Sequencer::~Sequencer ( void  )
virtual

Member Function Documentation

◆ addTask()

void dynamicgraph::sot::Sequencer::addTask ( sotEventAbstract task,
const unsigned int  time 
)

◆ clearAll()

void dynamicgraph::sot::Sequencer::clearAll ( )

◆ display()

virtual void dynamicgraph::sot::Sequencer::display ( std::ostream &  os) const
virtual

◆ rmTask()

void dynamicgraph::sot::Sequencer::rmTask ( int  eventType,
const std::string &  name,
const unsigned int  time 
)

◆ setSotRef()

void dynamicgraph::sot::Sequencer::setSotRef ( Sot sot)
inline

◆ trigger()

int& dynamicgraph::sot::Sequencer::trigger ( int &  dummy,
const int &  time 
)

Member Data Documentation

◆ noOutput

bool dynamicgraph::sot::Sequencer::noOutput
protected

◆ outputStreamPtr

std::ostream* dynamicgraph::sot::Sequencer::outputStreamPtr
protected

◆ playMode

bool dynamicgraph::sot::Sequencer::playMode
protected

◆ sotPtr

Sot* dynamicgraph::sot::Sequencer::sotPtr
protected

◆ taskMap

TaskMap dynamicgraph::sot::Sequencer::taskMap
protected

◆ timeInit

int dynamicgraph::sot::Sequencer::timeInit
protected

◆ triggerSOUT

dynamicgraph::SignalTimeDependent<int, int> dynamicgraph::sot::Sequencer::triggerSOUT

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