Public Member Functions | Public Attributes | Static Public Attributes | List of all members
dynamicgraph::sot::DoubleConstant Class Reference

#include <double-constant.hh>

Inheritance diagram for dynamicgraph::sot::DoubleConstant:
Inheritance graph
[legend]

Public Member Functions

 DoubleConstant (const std::string &name)
 
virtual const std::string & getClassName (void) const
 
void setValue (const double &inValue)
 Set value of vector (and therefore of output signal) More...
 
virtual ~DoubleConstant (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
 
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 ()
 

Public Attributes

SignalTimeDependent< double, int > SOUT
 

Static Public Attributes

static const std::string CLASS_NAME
 

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< int > *> SignalMap
 
- 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::Entity
CommandMap_t commandMap
 
Logger logger_
 
std::string name
 
SignalMap signalMap
 

Detailed Description

Definition at line 18 of file double-constant.hh.

Constructor & Destructor Documentation

◆ DoubleConstant()

dynamicgraph::sot::DoubleConstant::DoubleConstant ( const std::string &  name)

Definition at line 19 of file double-constant.cpp.

◆ ~DoubleConstant()

virtual dynamicgraph::sot::DoubleConstant::~DoubleConstant ( void  )
inlinevirtual

Definition at line 25 of file double-constant.hh.

Member Function Documentation

◆ getClassName()

virtual const std::string& dynamicgraph::sot::DoubleConstant::getClassName ( void  ) const
inlinevirtual

Reimplemented from dynamicgraph::Entity.

Definition at line 21 of file double-constant.hh.

◆ setValue()

void dynamicgraph::sot::DoubleConstant::setValue ( const double inValue)

Set value of vector (and therefore of output signal)

Definition at line 38 of file double-constant.cpp.

Member Data Documentation

◆ CLASS_NAME

const std::string dynamicgraph::sot::DoubleConstant::CLASS_NAME
static

Definition at line 20 of file double-constant.hh.

◆ SOUT

SignalTimeDependent<double, int> dynamicgraph::sot::DoubleConstant::SOUT

Definition at line 27 of file double-constant.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