Public Member Functions | |
void | addSignal () |
void | cmd_verbose (std::ostream &oss) |
CustomEntity (const std::string &n) | |
CustomEntity (const std::string &n) | |
CustomEntity (const std::string &n) | |
CustomEntity (const std::string &n) | |
CustomEntity (const std::string &n) | |
CustomEntity (const std::string &n) | |
void | four_args (const int &, const int &, const int &, const int &) |
virtual const std::string & | getClassName () const |
virtual const std::string & | getClassName () const |
virtual const std::string & | getClassName () const |
virtual const std::string & | getClassName () const |
virtual const std::string & | getClassName () const |
virtual const std::string & | getClassName () const |
void | one_arg (const int &) |
int | one_arg_ret (const int &) |
void | rmValidSignal () |
void | testDebugTrace () |
void | testDebugTrace () |
void | testDebugTrace () |
void | three_args (const int &, const int &, const int &) |
void | two_args (const int &, const int &) |
std::string | two_args_ret (const int &, const int &) |
double & | update (double &res, const sigtime_t &inTime) |
void | zero_arg () |
~CustomEntity () | |
~CustomEntity () | |
~CustomEntity () | |
~CustomEntity () | |
~CustomEntity () | |
Public Member Functions inherited from dynamicgraph::Entity | |
virtual void | display (std::ostream &os) const |
Display information on the entity inside the output stream os. More... | |
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::Command * | getNewStyleCommand (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< sigtime_t > & | getSignal (const std::string &signalName) |
Provides a reference to the signal named signalName. More... | |
const SignalBase< sigtime_t > & | 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< sigtime_t > * | test () |
virtual void | test2 (SignalBase< sigtime_t > *) |
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 () |
Logger & | logger () |
const Logger & | 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::SignalPtr< double, sigtime_t > | m_sigdSIN |
dynamicgraph::SignalPtr< double, sigtime_t > | m_sigdSIN2 |
dynamicgraph::SignalTimeDependent< double, sigtime_t > | m_sigdTimeDepSOUT |
double | m_value |
bool | test_four_args_ |
bool | test_one_arg_ |
bool | test_one_arg_ret_ |
bool | test_three_args_ |
bool | test_two_args_ |
bool | test_two_args_ret_ |
bool | test_zero_arg_ |
Static Public Attributes | |
static const std::string | CLASS_NAME = "CustomEntity" |
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 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< sigtime_t > &signals) |
Protected Attributes inherited from dynamicgraph::Entity | |
CommandMap_t | commandMap |
Logger | logger_ |
std::string | name |
SignalMap | signalMap |
Definition at line 36 of file command-test.cpp.
|
inlineexplicit |
Generating an exception by adding a command which already exist
Definition at line 48 of file command-test.cpp.
|
inline |
Definition at line 100 of file command-test.cpp.
|
inlineexplicit |
Definition at line 38 of file debug-logger-winit.cpp.
|
inline |
Definition at line 46 of file debug-logger-winit.cpp.
|
inlineexplicit |
Definition at line 37 of file debug-logger.cpp.
|
inline |
Definition at line 77 of file debug-logger.cpp.
|
inlineexplicit |
Definition at line 37 of file debug-trace.cpp.
|
inline |
Definition at line 40 of file debug-trace.cpp.
|
inlineexplicit |
Definition at line 40 of file tests/entity.cpp.
|
inline |
Definition at line 50 of file tests/entity.cpp.
|
inlineexplicit |
Definition at line 26 of file tests/factory.cpp.
|
inline |
Try a second time to generate an exception
Definition at line 52 of file tests/entity.cpp.
|
inline |
Definition at line 126 of file command-test.cpp.
|
inline |
Definition at line 112 of file command-test.cpp.
|
inlinevirtual |
Reimplemented from dynamicgraph::Entity.
Definition at line 25 of file tests/factory.cpp.
|
inlinevirtual |
Reimplemented from dynamicgraph::Entity.
Definition at line 36 of file debug-logger.cpp.
|
inlinevirtual |
Reimplemented from dynamicgraph::Entity.
Definition at line 36 of file debug-trace.cpp.
|
inlinevirtual |
Reimplemented from dynamicgraph::Entity.
Definition at line 37 of file debug-logger-winit.cpp.
|
inlinevirtual |
Reimplemented from dynamicgraph::Entity.
Definition at line 39 of file tests/entity.cpp.
|
inlinevirtual |
Reimplemented from dynamicgraph::Entity.
Definition at line 47 of file command-test.cpp.
|
inline |
Definition at line 104 of file command-test.cpp.
|
inline |
Definition at line 116 of file command-test.cpp.
|
inline |
Definition at line 63 of file tests/entity.cpp.
|
inline |
Test debugging information when entering the code.
Intermediate test.
Test debugging information when going out of the code.
Definition at line 43 of file debug-trace.cpp.
|
inline |
Definition at line 47 of file debug-logger-winit.cpp.
|
inline |
Definition at line 78 of file debug-logger.cpp.
|
inline |
Definition at line 108 of file command-test.cpp.
|
inline |
Definition at line 106 of file command-test.cpp.
|
inline |
Definition at line 121 of file command-test.cpp.
|
inline |
Definition at line 68 of file tests/entity.cpp.
|
inline |
Definition at line 102 of file command-test.cpp.
|
static |
Definition at line 38 of file command-test.cpp.
dynamicgraph::SignalPtr<double, sigtime_t> dynamicgraph::CustomEntity::m_sigdSIN |
Definition at line 35 of file tests/entity.cpp.
dynamicgraph::SignalPtr<double, sigtime_t> dynamicgraph::CustomEntity::m_sigdSIN2 |
Definition at line 35 of file tests/entity.cpp.
dynamicgraph::SignalTimeDependent<double, sigtime_t> dynamicgraph::CustomEntity::m_sigdTimeDepSOUT |
Definition at line 36 of file tests/entity.cpp.
double dynamicgraph::CustomEntity::m_value |
Definition at line 75 of file tests/entity.cpp.
bool dynamicgraph::CustomEntity::test_four_args_ |
Definition at line 43 of file command-test.cpp.
bool dynamicgraph::CustomEntity::test_one_arg_ |
Definition at line 40 of file command-test.cpp.
bool dynamicgraph::CustomEntity::test_one_arg_ret_ |
Definition at line 44 of file command-test.cpp.
bool dynamicgraph::CustomEntity::test_three_args_ |
Definition at line 42 of file command-test.cpp.
bool dynamicgraph::CustomEntity::test_two_args_ |
Definition at line 41 of file command-test.cpp.
bool dynamicgraph::CustomEntity::test_two_args_ret_ |
Definition at line 45 of file command-test.cpp.
bool dynamicgraph::CustomEntity::test_zero_arg_ |
Definition at line 39 of file command-test.cpp.