Public Member Functions | Public Attributes | Static Public Attributes | List of all members
dynamicgraph::MyEntity Struct Reference
Inheritance diagram for dynamicgraph::MyEntity:
Inheritance graph
[legend]

Public Member Functions

virtual void display (std::ostream &os) const
 Display information on the entity inside the output stream os. More...
 
virtual const std::string & getClassName () const
 
 MyEntity (const std::string &name)
 
 MyEntity (const std::string &name)
 
double & update (double &res, const int &inTime)
 
double & update (double &res, const int &inTime)
 
VectorupdateVector (Vector &res, const int &inTime)
 
- Public Member Functions inherited from dynamicgraph::Entity
std::ostream & displaySignalList (std::ostream &os) const
 Display the list of signals of this entity in output stream os. More...
 
 Entity (const std::string &name)
 
const std::string & getCommandList () const
 
virtual std::string getDocString () const
 Returns the Entity documentation. More...
 
const std::string & getName () const
 
command::CommandgetNewStyleCommand (const std::string &cmdName)
 Provides the pointer towards the Command object cmdName. More...
 
CommandMap_t getNewStyleCommandMap ()
 Provides the std::map where all the commands are registered. More...
 
SignalBase< int > & getSignal (const std::string &signalName)
 Provides a reference to the signal named signalName. More...
 
const SignalBase< int > & getSignal (const std::string &signalName) const
 Provides a const reference to the signal named signalName. More...
 
SignalMap getSignalMap () const
 Provides a map of all the signals. More...
 
bool hasSignal (const std::string &signame) const
 Test if a signal of name signame is present. More...
 
virtual SignalBase< int > * test ()
 
virtual void test2 (SignalBase< int > *)
 
virtual std::ostream & writeCompletionList (std::ostream &os) const
 This method is used write in the output stream os the signals names and the commands of the entity. More...
 
virtual std::ostream & writeGraph (std::ostream &os) const
 This method is used to write down in os the edges of the graph by calling the signals writeGraph method. More...
 
virtual ~Entity ()
 
Loggerlogger ()
 
Logger const & logger () const
 
void sendMsg (const std::string &msg, MsgType t=MSG_TYPE_INFO, const std::string &lineId="")
 Send messages msg with level t. Add string file and line to message. More...
 
void setLoggerVerbosityLevel (LoggerVerbosity lv)
 Specify the verbosity level of the logger. More...
 
LoggerVerbosity getLoggerVerbosityLevel ()
 Get the logger's verbosity level. More...
 
bool setTimeSample (double t)
 Set the time sample. More...
 
double getTimeSample ()
 Get the time sample. More...
 
bool setStreamPrintPeriod (double t)
 Set the period of the stream period. More...
 
double getStreamPrintPeriod ()
 Get the period of the stream period. More...
 

Public Attributes

dynamicgraph::Signal< double, int > m_sigdSIN
 
dynamicgraph::SignalTimeDependent< double, int > m_sigdTimeDepSOUT
 
dynamicgraph::SignalTimeDependent< double, int > m_sigdTwoTimeDepSOUT
 
dynamicgraph::SignalTimeDependent< Vector, int > m_sigVTimeDepSOUT
 

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)
 Add a command to Entity. More...
 
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 28 of file debug-real-time-tracer.cpp.

Constructor & Destructor Documentation

◆ MyEntity() [1/2]

dynamicgraph::MyEntity::MyEntity ( const std::string &  name)
inlineexplicit

Definition at line 35 of file debug-real-time-tracer.cpp.

◆ MyEntity() [2/2]

dynamicgraph::MyEntity::MyEntity ( const std::string &  name)
inlineexplicit

Definition at line 35 of file debug-tracer.cpp.

Member Function Documentation

◆ display()

virtual void dynamicgraph::MyEntity::display ( std::ostream &  os) const
inlinevirtual

Display information on the entity inside the output stream os.

Reimplemented from dynamicgraph::Entity.

Definition at line 53 of file debug-tracer.cpp.

◆ getClassName()

virtual const std::string& dynamicgraph::MyEntity::getClassName ( ) const
inlinevirtual

Reimplemented from dynamicgraph::Entity.

Definition at line 57 of file debug-tracer.cpp.

◆ update() [1/2]

double& dynamicgraph::MyEntity::update ( double &  res,
const int &  inTime 
)
inline

Definition at line 49 of file debug-real-time-tracer.cpp.

◆ update() [2/2]

double& dynamicgraph::MyEntity::update ( double &  res,
const int &  inTime 
)
inline

Definition at line 59 of file debug-tracer.cpp.

◆ updateVector()

Vector& dynamicgraph::MyEntity::updateVector ( Vector res,
const int &  inTime 
)
inline

Definition at line 65 of file debug-tracer.cpp.

Member Data Documentation

◆ CLASS_NAME

static const std::string MyEntity::CLASS_NAME
static

Definition at line 29 of file debug-real-time-tracer.cpp.

◆ m_sigdSIN

dynamicgraph::Signal< double, int > MyEntity::m_sigdSIN

Definition at line 31 of file debug-real-time-tracer.cpp.

◆ m_sigdTimeDepSOUT

dynamicgraph::SignalTimeDependent< double, int > MyEntity::m_sigdTimeDepSOUT

Definition at line 32 of file debug-real-time-tracer.cpp.

◆ m_sigdTwoTimeDepSOUT

dynamicgraph::SignalTimeDependent< double, int > MyEntity::m_sigdTwoTimeDepSOUT

Definition at line 33 of file debug-real-time-tracer.cpp.

◆ m_sigVTimeDepSOUT

dynamicgraph::SignalTimeDependent<Vector, int> dynamicgraph::MyEntity::m_sigVTimeDepSOUT

Definition at line 32 of file debug-tracer.cpp.


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


dynamic-graph
Author(s): Nicolas Mansard, Olivier Stasse
autogenerated on Sun Jun 25 2023 02:06:03