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

#include <sot/core/periodic-call.hh>

Inheritance diagram for dynamicgraph::sot::PeriodicCall:

Classes

struct  SignalToCall
 

Public Member Functions

 PeriodicCall (void)
 
virtual ~PeriodicCall (void)
 
void addDownsampledSignal (const std::string &name, dynamicgraph::SignalBase< int > &sig, const unsigned int &downsamplingFactor)
 
void addDownsampledSignal (const std::string &sigpath, const unsigned int &downsamplingFactor)
 
void addSignal (const std::string &name, dynamicgraph::SignalBase< int > &sig)
 
void addSignal (const std::string &args)
 
void rmSignal (const std::string &name)
 
void runSignals (const int &t)
 
void run (const int &t)
 
void clear (void)
 
void display (std::ostream &os) const
 

Protected Types

typedef std::map< std::string, SignalToCallSignalMapType
 

Protected Attributes

SignalMapType signalMap
 
int innerTime
 

Member Typedef Documentation

◆ SignalMapType

typedef std::map<std::string, SignalToCall> dynamicgraph::sot::PeriodicCall::SignalMapType
protected

Constructor & Destructor Documentation

◆ PeriodicCall()

dynamicgraph::sot::PeriodicCall::PeriodicCall ( void  )

◆ ~PeriodicCall()

virtual dynamicgraph::sot::PeriodicCall::~PeriodicCall ( void  )
inlinevirtual

Member Function Documentation

◆ addDownsampledSignal() [1/2]

void dynamicgraph::sot::PeriodicCall::addDownsampledSignal ( const std::string &  name,
dynamicgraph::SignalBase< int > &  sig,
const unsigned int &  downsamplingFactor 
)

◆ addDownsampledSignal() [2/2]

void dynamicgraph::sot::PeriodicCall::addDownsampledSignal ( const std::string &  sigpath,
const unsigned int &  downsamplingFactor 
)

◆ addSignal() [1/2]

void dynamicgraph::sot::PeriodicCall::addSignal ( const std::string &  args)

◆ addSignal() [2/2]

void dynamicgraph::sot::PeriodicCall::addSignal ( const std::string &  name,
dynamicgraph::SignalBase< int > &  sig 
)

◆ clear()

void dynamicgraph::sot::PeriodicCall::clear ( void  )
inline

◆ display()

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

◆ rmSignal()

void dynamicgraph::sot::PeriodicCall::rmSignal ( const std::string &  name)

◆ run()

void dynamicgraph::sot::PeriodicCall::run ( const int &  t)

◆ runSignals()

void dynamicgraph::sot::PeriodicCall::runSignals ( const int &  t)

Member Data Documentation

◆ innerTime

int dynamicgraph::sot::PeriodicCall::innerTime
protected

◆ signalMap

SignalMapType dynamicgraph::sot::PeriodicCall::signalMap
protected

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