Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Private Types | Private Attributes | List of all members
dynamicgraph::sot::BinaryOp< Operator > Class Template Reference

#include <binary-op.hh>

Inheritance diagram for dynamicgraph::sot::BinaryOp< Operator >:
Inheritance graph
[legend]

Public Member Functions

 BinaryOp (const std::string &name)
 
virtual const std::string & getClassName () const
 
std::string getDocString () const
 
virtual ~BinaryOp (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)
 
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 ()
 

Static Public Member Functions

static std::string getTypeIn1Name (void)
 
static std::string getTypeIn2Name (void)
 
static std::string getTypeOutName (void)
 

Public Attributes

SignalPtr< Tin1, sigtime_tSIN1
 
SignalPtr< Tin2, sigtime_tSIN2
 
SignalTimeDependent< Tout, sigtime_tSOUT
 

Static Public Attributes

static const std::string CLASS_NAME
 

Protected Member Functions

ToutcomputeOperation (Tout &res, sigtime_t time)
 
- 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)
 

Private Types

typedef BinaryOp< Operator > Self
 
typedef Operator::Tin1 Tin1
 
typedef Operator::Tin2 Tin2
 
typedef Operator::Tout Tout
 

Private Attributes

Operator op
 

Additional Inherited Members

- 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
 
- Protected Attributes inherited from dynamicgraph::Entity
CommandMap_t commandMap
 
Logger logger_
 
std::string name
 
SignalMap signalMap
 

Detailed Description

template<typename Operator>
class dynamicgraph::sot::BinaryOp< Operator >

Definition at line 40 of file binary-op.hh.

Member Typedef Documentation

◆ Self

template<typename Operator >
typedef BinaryOp<Operator> dynamicgraph::sot::BinaryOp< Operator >::Self
private

Definition at line 45 of file binary-op.hh.

◆ Tin1

template<typename Operator >
typedef Operator::Tin1 dynamicgraph::sot::BinaryOp< Operator >::Tin1
private

Definition at line 42 of file binary-op.hh.

◆ Tin2

template<typename Operator >
typedef Operator::Tin2 dynamicgraph::sot::BinaryOp< Operator >::Tin2
private

Definition at line 43 of file binary-op.hh.

◆ Tout

template<typename Operator >
typedef Operator::Tout dynamicgraph::sot::BinaryOp< Operator >::Tout
private

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

Constructor & Destructor Documentation

◆ BinaryOp()

template<typename Operator >
dynamicgraph::sot::BinaryOp< Operator >::BinaryOp ( const std::string &  name)
inline

Definition at line 55 of file binary-op.hh.

◆ ~BinaryOp()

template<typename Operator >
virtual dynamicgraph::sot::BinaryOp< Operator >::~BinaryOp ( void  )
inlinevirtual

Definition at line 68 of file binary-op.hh.

Member Function Documentation

◆ computeOperation()

template<typename Operator >
Tout& dynamicgraph::sot::BinaryOp< Operator >::computeOperation ( Tout res,
sigtime_t  time 
)
inlineprotected

Definition at line 76 of file binary-op.hh.

◆ getClassName()

template<typename Operator >
virtual const std::string& dynamicgraph::sot::BinaryOp< Operator >::getClassName ( ) const
inlinevirtual

Reimplemented from dynamicgraph::Entity.

Definition at line 52 of file binary-op.hh.

◆ getDocString()

template<typename Operator >
std::string dynamicgraph::sot::BinaryOp< Operator >::getDocString ( ) const
inlinevirtual

Reimplemented from dynamicgraph::Entity.

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

◆ getTypeIn1Name()

template<typename Operator >
static std::string dynamicgraph::sot::BinaryOp< Operator >::getTypeIn1Name ( void  )
inlinestatic

Definition at line 48 of file binary-op.hh.

◆ getTypeIn2Name()

template<typename Operator >
static std::string dynamicgraph::sot::BinaryOp< Operator >::getTypeIn2Name ( void  )
inlinestatic

Definition at line 49 of file binary-op.hh.

◆ getTypeOutName()

template<typename Operator >
static std::string dynamicgraph::sot::BinaryOp< Operator >::getTypeOutName ( void  )
inlinestatic

Definition at line 50 of file binary-op.hh.

Member Data Documentation

◆ CLASS_NAME

template<typename Operator >
const std::string dynamicgraph::sot::BinaryOp< Operator >::CLASS_NAME
static

Definition at line 51 of file binary-op.hh.

◆ op

template<typename Operator >
Operator dynamicgraph::sot::BinaryOp< Operator >::op
private

Definition at line 41 of file binary-op.hh.

◆ SIN1

template<typename Operator >
SignalPtr<Tin1, sigtime_t> dynamicgraph::sot::BinaryOp< Operator >::SIN1

Definition at line 68 of file binary-op.hh.

◆ SIN2

template<typename Operator >
SignalPtr<Tin2, sigtime_t> dynamicgraph::sot::BinaryOp< Operator >::SIN2

Definition at line 72 of file binary-op.hh.

◆ SOUT

template<typename Operator >
SignalTimeDependent<Tout, sigtime_t> dynamicgraph::sot::BinaryOp< Operator >::SOUT

Definition at line 73 of file binary-op.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