Classes | Public Member Functions | Public Attributes | Protected Types | Protected Attributes | Private Member Functions | List of all members
dynamicgraph::sot::Sequencer Class Reference

#include <sequencer.hh>

Inheritance diagram for dynamicgraph::sot::Sequencer:
Inheritance graph
[legend]

Classes

class  sotEventAbstract
 

Public Member Functions

void addTask (sotEventAbstract *task, const std::size_t time)
 
void clearAll ()
 
virtual void display (std::ostream &os) const
 
void rmTask (size_type eventType, const std::string &name, const std::size_t time)
 
 Sequencer (const std::string &name)
 
void setSotRef (Sot *sot)
 
size_typetrigger (size_type &dummy, const sigtime_t &time)
 
virtual ~Sequencer (void)
 
- Public Member Functions inherited from dynamicgraph::Entity
std::ostream & displaySignalList (std::ostream &os) const
 
 Entity (const std::string &name)
 
virtual const std::string & getClassName () const
 
const std::string & getCommandList () const
 
virtual std::string getDocString () const
 
LoggerVerbosity getLoggerVerbosityLevel ()
 
LoggerVerbosity getLoggerVerbosityLevel ()
 
const std::string & getName () const
 
command::CommandgetNewStyleCommand (const std::string &cmdName)
 
CommandMap_t getNewStyleCommandMap ()
 
SignalBase< sigtime_t > & getSignal (const std::string &signalName)
 
const SignalBase< sigtime_t > & getSignal (const std::string &signalName) const
 
SignalMap getSignalMap () const
 
double getStreamPrintPeriod ()
 
double getStreamPrintPeriod ()
 
double getTimeSample ()
 
double getTimeSample ()
 
bool hasSignal (const std::string &signame) const
 
Loggerlogger ()
 
Loggerlogger ()
 
const Loggerlogger () const
 
const Loggerlogger () const
 
void sendMsg (const std::string &msg, MsgType t=MSG_TYPE_INFO, const std::string &lineId="")
 
void sendMsg (const std::string &msg, MsgType t=MSG_TYPE_INFO, const std::string &lineId="")
 
void setLoggerVerbosityLevel (LoggerVerbosity lv)
 
void setLoggerVerbosityLevel (LoggerVerbosity lv)
 
bool setStreamPrintPeriod (double t)
 
bool setStreamPrintPeriod (double t)
 
bool setTimeSample (double t)
 
bool setTimeSample (double t)
 
virtual SignalBase< sigtime_t > * test ()
 
virtual void test2 (SignalBase< sigtime_t > *)
 
virtual std::ostream & writeCompletionList (std::ostream &os) const
 
virtual std::ostream & writeGraph (std::ostream &os) const
 
virtual ~Entity ()
 

Public Attributes

dynamicgraph::SignalTimeDependent< size_type, sigtime_ttriggerSOUT
 

Protected Types

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

Protected Attributes

bool noOutput
 
std::ostream * outputStreamPtr
 
bool playMode
 
SotsotPtr
 
TaskMap taskMap
 
sigtime_t timeInit
 
- Protected Attributes inherited from dynamicgraph::Entity
CommandMap_t commandMap
 
Logger logger_
 
std::string name
 
SignalMap signalMap
 

Private Member Functions

 DYNAMIC_GRAPH_ENTITY_DECL ()
 

Additional Inherited Members

- Public Types inherited from dynamicgraph::Entity
typedef std::map< const std::string, command::Command * > CommandMap_t
 
typedef std::map< std::string, SignalBase< sigtime_t > * > SignalMap
 
- Protected Member Functions inherited from dynamicgraph::Entity
void addCommand (const std::string &name, command::Command *command)
 
void entityDeregistration ()
 
void entityRegistration ()
 
void signalDeregistration (const std::string &name)
 
void signalRegistration (const SignalArray< sigtime_t > &signals)
 

Detailed Description

Definition at line 54 of file sequencer.hh.

Member Typedef Documentation

◆ TaskList

Definition at line 78 of file sequencer.hh.

◆ TaskMap

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

Definition at line 79 of file sequencer.hh.

Constructor & Destructor Documentation

◆ Sequencer()

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

if true, display nothing standard output on except errors

Definition at line 23 of file sequencer.cpp.

◆ ~Sequencer()

Sequencer::~Sequencer ( void  )
virtual

Definition at line 39 of file sequencer.cpp.

Member Function Documentation

◆ addTask()

void Sequencer::addTask ( sotEventAbstract task,
const std::size_t  time 
)

Definition at line 167 of file sequencer.cpp.

◆ clearAll()

void Sequencer::clearAll ( )

Definition at line 198 of file sequencer.cpp.

◆ display()

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

Reimplemented from dynamicgraph::Entity.

Definition at line 246 of file sequencer.cpp.

◆ DYNAMIC_GRAPH_ENTITY_DECL()

dynamicgraph::sot::Sequencer::DYNAMIC_GRAPH_ENTITY_DECL ( )
private

◆ rmTask()

void Sequencer::rmTask ( size_type  eventType,
const std::string &  name,
const std::size_t  time 
)

Definition at line 179 of file sequencer.cpp.

◆ setSotRef()

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

Definition at line 94 of file sequencer.hh.

◆ trigger()

size_type & Sequencer::trigger ( size_type dummy,
const sigtime_t time 
)

Definition at line 214 of file sequencer.cpp.

Member Data Documentation

◆ noOutput

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

Definition at line 87 of file sequencer.hh.

◆ outputStreamPtr

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

Definition at line 86 of file sequencer.hh.

◆ playMode

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

Definition at line 85 of file sequencer.hh.

◆ sotPtr

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

Definition at line 77 of file sequencer.hh.

◆ taskMap

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

Definition at line 81 of file sequencer.hh.

◆ timeInit

sigtime_t dynamicgraph::sot::Sequencer::timeInit
protected

Definition at line 84 of file sequencer.hh.

◆ triggerSOUT

dynamicgraph::SignalTimeDependent<size_type, sigtime_t> dynamicgraph::sot::Sequencer::triggerSOUT

Definition at line 101 of file sequencer.hh.


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


sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Tue Oct 24 2023 02:26:32