Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
dynamicgraph::sot::VariadicAbstract< Tin, Tout, Time > Class Template Reference

#include <variadic-op.hh>

Inheritance diagram for dynamicgraph::sot::VariadicAbstract< Tin, Tout, Time >:
Inheritance graph
[legend]

Public Types

typedef SignalPtr< Tin, 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

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
 
virtual std::string getDocString () 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 ()
 

Static Public Member Functions

static std::string getTypeInName (void)
 
static std::string getTypeOutName (void)
 

Public Attributes

SignalTimeDependent< Tout, int > SOUT
 

Protected Member Functions

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

std::vector< signal_t * > signalsIN
 
- Protected Attributes inherited from dynamicgraph::Entity
CommandMap_t commandMap
 
Logger logger_
 
std::string name
 
SignalMap signalMap
 

Private Member Functions

void _declareSignal (signal_t *s)
 
void _removeSignal (const std::size_t i)
 

Private Attributes

const std::string baseSigname
 

Detailed Description

template<typename Tin, typename Tout, typename Time>
class dynamicgraph::sot::VariadicAbstract< Tin, Tout, Time >

Definition at line 39 of file variadic-op.hh.

Member Typedef Documentation

◆ signal_t

template<typename Tin, typename Tout, typename Time>
typedef SignalPtr<Tin, int> dynamicgraph::sot::VariadicAbstract< Tin, Tout, Time >::signal_t

Definition at line 57 of file variadic-op.hh.

Constructor & Destructor Documentation

◆ VariadicAbstract()

template<typename Tin, typename Tout, typename Time>
dynamicgraph::sot::VariadicAbstract< Tin, Tout, Time >::VariadicAbstract ( const std::string &  name,
const std::string &  className 
)
inline

Definition at line 44 of file variadic-op.hh.

◆ ~VariadicAbstract()

template<typename Tin, typename Tout, typename Time>
virtual dynamicgraph::sot::VariadicAbstract< Tin, Tout, Time >::~VariadicAbstract ( void  )
inlinevirtual

Definition at line 53 of file variadic-op.hh.

Member Function Documentation

◆ _declareSignal()

template<typename Tin, typename Tout, typename Time>
void dynamicgraph::sot::VariadicAbstract< Tin, Tout, Time >::_declareSignal ( signal_t s)
inlineprivate

Definition at line 131 of file variadic-op.hh.

◆ _removeSignal()

template<typename Tin, typename Tout, typename Time>
void dynamicgraph::sot::VariadicAbstract< Tin, Tout, Time >::_removeSignal ( const std::size_t  i)
inlineprivate

Definition at line 125 of file variadic-op.hh.

◆ addSignal() [1/2]

template<typename Tin, typename Tout, typename Time>
std::size_t dynamicgraph::sot::VariadicAbstract< Tin, Tout, Time >::addSignal ( )
inline

Definition at line 63 of file variadic-op.hh.

◆ addSignal() [2/2]

template<typename Tin, typename Tout, typename Time>
std::size_t dynamicgraph::sot::VariadicAbstract< Tin, Tout, Time >::addSignal ( const std::string &  name)
inline

Definition at line 69 of file variadic-op.hh.

◆ getSignalIn()

template<typename Tin, typename Tout, typename Time>
signal_t* dynamicgraph::sot::VariadicAbstract< Tin, Tout, Time >::getSignalIn ( int  i)
inline

Definition at line 111 of file variadic-op.hh.

◆ getSignalNumber()

template<typename Tin, typename Tout, typename Time>
int dynamicgraph::sot::VariadicAbstract< Tin, Tout, Time >::getSignalNumber ( ) const
inline

Definition at line 109 of file variadic-op.hh.

◆ getTypeInName()

template<typename Tin , typename Tout , typename Time >
std::string dynamicgraph::sot::VariadicAbstract< Tin, Tout, Time >::getTypeInName ( void  )
static

Definition at line 822 of file operator.hh.

◆ getTypeOutName()

template<typename Tin , typename Tout , typename Time >
std::string dynamicgraph::sot::VariadicAbstract< Tin, Tout, Time >::getTypeOutName ( void  )
static

Definition at line 826 of file operator.hh.

◆ removeSignal()

template<typename Tin, typename Tout, typename Time>
void dynamicgraph::sot::VariadicAbstract< Tin, Tout, Time >::removeSignal ( )
inline

Definition at line 82 of file variadic-op.hh.

◆ setSignalNumber()

template<typename Tin, typename Tout, typename Time>
void dynamicgraph::sot::VariadicAbstract< Tin, Tout, Time >::setSignalNumber ( const int &  n)
inline

Definition at line 89 of file variadic-op.hh.

◆ updateSignalNumber()

template<typename Tin, typename Tout, typename Time>
virtual void dynamicgraph::sot::VariadicAbstract< Tin, Tout, Time >::updateSignalNumber ( int  n)
inlineprotectedvirtual

Reimplemented in dynamicgraph::sot::VariadicOp< Operator >.

Definition at line 122 of file variadic-op.hh.

Member Data Documentation

◆ baseSigname

template<typename Tin, typename Tout, typename Time>
const std::string dynamicgraph::sot::VariadicAbstract< Tin, Tout, Time >::baseSigname
private

Definition at line 135 of file variadic-op.hh.

◆ signalsIN

template<typename Tin, typename Tout, typename Time>
std::vector<signal_t *> dynamicgraph::sot::VariadicAbstract< Tin, Tout, Time >::signalsIN
protected

Definition at line 118 of file variadic-op.hh.

◆ SOUT

template<typename Tin, typename Tout, typename Time>
SignalTimeDependent<Tout, int> dynamicgraph::sot::VariadicAbstract< Tin, Tout, Time >::SOUT

Definition at line 61 of file variadic-op.hh.


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


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