#include <sot/core/periodic-call.hh>
Public Member Functions | |
PeriodicCall (void) | |
virtual | ~PeriodicCall (void) |
void | addSignal (const std::string &name, dynamicgraph::SignalBase< int > &sig) |
void | addSignal (const std::string &args) |
void | rmSignal (const std::string &name) |
void | addCmd (const std::string &args) |
void | rmCmd (const std::string &args) |
void | runSignals (const int &t) |
void | runCmds (void) |
void | run (const int &t) |
void | clear (void) |
void | display (std::ostream &os) const |
bool | commandLine (const std::string &cmdLine, std::istringstream &cmdArgs, std::ostream &os) |
void | addSpecificCommands (dynamicgraph::Entity &ent, dynamicgraph::Entity::CommandMap_t &commap, const std::string &prefix="") |
void | setPyInterpreter (dynamicgraph::python::Interpreter *py_sh) |
Protected Types | |
typedef std::map< std::string, dynamicgraph::SignalBase< int > * > | SignalMapType |
typedef std::list< std::string > | CmdListType |
Protected Attributes | |
SignalMapType | signalMap |
CmdListType | cmdList |
int | innerTime |
dynamicgraph::python::Interpreter * | py_sh |
typedef std::list< std::string > dynamicgraph::sot::PeriodicCall::CmdListType [protected] |
typedef std::map< std::string,dynamicgraph::SignalBase<int>* > dynamicgraph::sot::PeriodicCall::SignalMapType [protected] |
virtual dynamicgraph::sot::PeriodicCall::~PeriodicCall | ( | void | ) | [inline, virtual] |
void dynamicgraph::sot::PeriodicCall::addCmd | ( | const std::string & | args | ) |
void dynamicgraph::sot::PeriodicCall::addSignal | ( | const std::string & | name, |
dynamicgraph::SignalBase< int > & | sig | ||
) |
void dynamicgraph::sot::PeriodicCall::addSignal | ( | const std::string & | args | ) |
void dynamicgraph::sot::PeriodicCall::addSpecificCommands | ( | dynamicgraph::Entity & | ent, |
dynamicgraph::Entity::CommandMap_t & | commap, | ||
const std::string & | prefix = "" |
||
) |
void dynamicgraph::sot::PeriodicCall::clear | ( | void | ) | [inline] |
bool dynamicgraph::sot::PeriodicCall::commandLine | ( | const std::string & | cmdLine, |
std::istringstream & | cmdArgs, | ||
std::ostream & | os | ||
) |
Reimplemented in dynamicgraph::sot::PeriodicCallEntity.
void dynamicgraph::sot::PeriodicCall::display | ( | std::ostream & | os | ) | const |
Reimplemented in dynamicgraph::sot::PeriodicCallEntity.
void dynamicgraph::sot::PeriodicCall::rmCmd | ( | const std::string & | args | ) |
void dynamicgraph::sot::PeriodicCall::rmSignal | ( | const std::string & | name | ) |
void dynamicgraph::sot::PeriodicCall::run | ( | const int & | t | ) |
void dynamicgraph::sot::PeriodicCall::runCmds | ( | void | ) |
void dynamicgraph::sot::PeriodicCall::runSignals | ( | const int & | t | ) |
void dynamicgraph::sot::PeriodicCall::setPyInterpreter | ( | dynamicgraph::python::Interpreter * | py_sh | ) |
CmdListType dynamicgraph::sot::PeriodicCall::cmdList [protected] |
int dynamicgraph::sot::PeriodicCall::innerTime [protected] |
dynamicgraph::python::Interpreter* dynamicgraph::sot::PeriodicCall::py_sh [protected] |