#include <switch.hh>
Public Types | |
typedef VariadicAbstract< Value, Value, Time > | Base |
Public Types inherited from dynamicgraph::sot::VariadicAbstract< Value, Value, Time > | |
typedef SignalPtr< Value, int > | signal_t |
Public Types inherited from dynamicgraph::Entity | |
typedef std::map< const std::string, command::Command *> | CommandMap_t |
typedef std::map< std::string, SignalBase< int > *> | SignalMap |
Public Member Functions | |
virtual std::string | getDocString () const |
Header documentation of the python class. More... | |
Switch (const std::string &name) | |
~Switch () | |
Public Member Functions inherited from dynamicgraph::sot::VariadicAbstract< Value, Value, Time > | |
std::size_t | addSignal () |
std::size_t | addSignal (const std::string &name) |
signal_t * | getSignalIn (int i) |
int | getSignalNumber () const |
void | removeSignal () |
void | setSignalNumber (const int &n) |
VariadicAbstract (const std::string &name, const std::string &className) | |
virtual | ~VariadicAbstract (void) |
Public Member Functions inherited from dynamicgraph::Entity | |
virtual void | display (std::ostream &os) const |
std::ostream & | displaySignalList (std::ostream &os) const |
Entity (const std::string &name) | |
virtual const std::string & | getClassName () const |
const std::string & | getCommandList () const |
LoggerVerbosity | getLoggerVerbosityLevel () |
LoggerVerbosity | getLoggerVerbosityLevel () |
const std::string & | getName () const |
command::Command * | getNewStyleCommand (const std::string &cmdName) |
CommandMap_t | getNewStyleCommandMap () |
SignalBase< int > & | getSignal (const std::string &signalName) |
const SignalBase< int > & | getSignal (const std::string &signalName) const |
SignalMap | getSignalMap () const |
double | getStreamPrintPeriod () |
double | getStreamPrintPeriod () |
double | getTimeSample () |
double | getTimeSample () |
bool | hasSignal (const std::string &signame) const |
Logger & | logger () |
Logger const & | logger () const |
Logger & | logger () |
Logger const & | logger () 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< int > * | test () |
virtual void | test2 (SignalBase< int > *) |
virtual std::ostream & | writeCompletionList (std::ostream &os) const |
virtual std::ostream & | writeGraph (std::ostream &os) const |
virtual | ~Entity () |
Public Attributes | |
SignalPtr< bool, Time > | boolSelectionSIN |
SignalPtr< int, Time > | selectionSIN |
Public Attributes inherited from dynamicgraph::sot::VariadicAbstract< Value, Value, Time > | |
SignalTimeDependent< Value, int > | SOUT |
Private Member Functions | |
DYNAMIC_GRAPH_ENTITY_DECL () | |
Value & | signal (Value &ret, const Time &time) |
Additional Inherited Members | |
Static Public Member Functions inherited from dynamicgraph::sot::VariadicAbstract< Value, Value, Time > | |
static std::string | getTypeInName (void) |
static std::string | getTypeOutName (void) |
Protected Member Functions inherited from dynamicgraph::sot::VariadicAbstract< Value, Value, Time > | |
virtual void | updateSignalNumber (int n) |
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< int > &signals) |
Protected Attributes inherited from dynamicgraph::sot::VariadicAbstract< Value, Value, Time > | |
std::vector< signal_t *> | signalsIN |
Protected Attributes inherited from dynamicgraph::Entity | |
CommandMap_t | commandMap |
Logger | logger_ |
std::string | name |
SignalMap | signalMap |
typedef VariadicAbstract<Value, Value, Time> dynamicgraph::sot::Switch< Value, Time >::Base |
|
inline |
|
inline |
|
private |
|
inlinevirtual |
Header documentation of the python class.
Reimplemented from dynamicgraph::Entity.
|
inlineprivate |
SignalPtr<bool, Time> dynamicgraph::sot::Switch< Value, Time >::boolSelectionSIN |
SignalPtr<int, Time> dynamicgraph::sot::Switch< Value, Time >::selectionSIN |