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, sigtime_t >
typedef SignalPtr< Value, sigtime_tsignal_t
 
- 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
 

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, sigtime_t >
std::size_t addSignal ()
 
std::size_t addSignal (const std::string &name)
 
signal_tgetSignalIn (size_type i)
 
size_type getSignalNumber () const
 
void removeSignal ()
 
void setSignalNumber (const size_type &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< 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

SignalPtr< bool, Time > boolSelectionSIN
 
SignalPtr< size_type, Time > selectionSIN
 
- Public Attributes inherited from dynamicgraph::sot::VariadicAbstract< Value, Value, sigtime_t >
SignalTimeDependent< Value, sigtime_tSOUT
 

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, sigtime_t >
static std::string getTypeInName (void)
 
static std::string getTypeOutName (void)
 
- Protected Member Functions inherited from dynamicgraph::sot::VariadicAbstract< Value, Value, sigtime_t >
virtual void updateSignalNumber (size_type 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< sigtime_t > &signals)
 
- Protected Attributes inherited from dynamicgraph::sot::VariadicAbstract< Value, Value, sigtime_t >
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 = sigtime_t>
class dynamicgraph::sot::Switch< Value, Time >

Switch.

Definition at line 22 of file switch.hh.

Member Typedef Documentation

◆ Base

template<typename Value , typename Time = sigtime_t>
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 = sigtime_t>
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 = sigtime_t>
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 = sigtime_t>
dynamicgraph::sot::Switch< Value, Time >::DYNAMIC_GRAPH_ENTITY_DECL ( )
private

◆ getDocString()

template<typename Value , typename Time = sigtime_t>
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 = sigtime_t>
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 = sigtime_t>
SignalPtr<bool, Time> dynamicgraph::sot::Switch< Value, Time >::boolSelectionSIN

Definition at line 62 of file switch.hh.

◆ selectionSIN

template<typename Value , typename Time = sigtime_t>
SignalPtr<size_type, 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 Tue Oct 24 2023 02:26:32