Public Types | Public Member Functions | Public Attributes | Private Member Functions | List of all members
dynamicgraph::sot::Switch< Value, Time > Class Template Reference

Switch. More...

#include <switch.hh>

Inheritance diagram for dynamicgraph::sot::Switch< Value, Time >:
Inheritance graph
[legend]

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_tgetSignalIn (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::CommandgetNewStyleCommand (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
 
Loggerlogger ()
 
Logger const & logger () const
 
Loggerlogger ()
 
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 ()
 
Valuesignal (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
 

Detailed Description

template<typename Value, typename Time = int>
class dynamicgraph::sot::Switch< Value, Time >

Switch.

Definition at line 22 of file switch.hh.

Member Typedef Documentation

◆ Base

template<typename Value , typename Time = int>
typedef VariadicAbstract<Value, Value, Time> dynamicgraph::sot::Switch< Value, Time >::Base

Definition at line 26 of file switch.hh.

Constructor & Destructor Documentation

◆ Switch()

template<typename Value , typename Time = int>
dynamicgraph::sot::Switch< Value, Time >::Switch ( const std::string &  name)
inline

Definition at line 28 of file switch.hh.

◆ ~Switch()

template<typename Value , typename Time = int>
dynamicgraph::sot::Switch< Value, Time >::~Switch ( )
inline

Definition at line 54 of file switch.hh.

Member Function Documentation

◆ DYNAMIC_GRAPH_ENTITY_DECL()

template<typename Value , typename Time = int>
dynamicgraph::sot::Switch< Value, Time >::DYNAMIC_GRAPH_ENTITY_DECL ( )
private

◆ getDocString()

template<typename Value , typename Time = int>
virtual std::string dynamicgraph::sot::Switch< Value, Time >::getDocString ( ) const
inlinevirtual

Header documentation of the python class.

Reimplemented from dynamicgraph::Entity.

Definition at line 57 of file switch.hh.

◆ signal()

template<typename Value , typename Time = int>
Value& dynamicgraph::sot::Switch< Value, Time >::signal ( Value ret,
const Time &  time 
)
inlineprivate

Definition at line 65 of file switch.hh.

Member Data Documentation

◆ boolSelectionSIN

template<typename Value , typename Time = int>
SignalPtr<bool, Time> dynamicgraph::sot::Switch< Value, Time >::boolSelectionSIN

Definition at line 62 of file switch.hh.

◆ selectionSIN

template<typename Value , typename Time = int>
SignalPtr<int, Time> dynamicgraph::sot::Switch< Value, Time >::selectionSIN

Definition at line 61 of file switch.hh.


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


sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Wed Jun 21 2023 02:51:27