Classes | |
class | DebugTrace |
Logging class. More... | |
class | DefaultCastRegisterer |
class | Entity |
This class represents an entity, i.e. a generic computational unit that provides input and output signals. More... | |
struct | EntityHelper |
class | EntityRegisterer |
This class automatically register an Entity to the global factory at initialization and unregister it during instance destruction. More... | |
class | ExceptionAbstract |
Abstract root class for all dynamic-graph exceptions. More... | |
class | ExceptionFactory |
Generic error class. More... | |
class | ExceptionSignal |
Exceptions raised when an error related to signals happen. More... | |
class | ExceptionTraces |
Exceptions raised when an error related to traces happen. More... | |
class | FactoryStorage |
Provides a way to create Entity objects from their class name. More... | |
class | Logger |
Class for logging messages. More... | |
class | LoggerIOStream |
class | LoggerStream |
Stream for the real-time logger. More... | |
class | OutStringStream |
Stream for the tracer real-time. More... | |
class | PoolStorage |
Singleton that keeps track of all the entities. More... | |
class | RealTimeLogger |
Main class of the real-time logger. More... | |
class | Signal |
Signals link I/O ports of entities. They can be constant-valued signals, or copy the value of a heap variable, or evaluated as a function. See SignalPtr and SignalTimeDependent for other types of signals, and SignalArray for a way of grouping them. More... | |
class | SignalArray |
TODO. More... | |
class | SignalArray_const |
TODO. More... | |
class | SignalBase |
The base class for signals: not to be used as such. More... | |
class | SignalCast |
class | SignalCaster |
class | SignalCastRegisterer |
class | SignalPtr |
This is the only type of signal that can be plugged to, using the plug () command. More... | |
class | SignalTimeDependent |
A type of signal that enforces a time dependency between other signals, making sure its inputs are up to date on access, using a incrementing time tick as reference. More... | |
class | TimeDependency |
A helper class for setting and specifying dependencies between signals. More... | |
class | Tracer |
Tracer plug-in main class. More... | |
class | TracerRealTime |
Main class of the tracer real-time plug-in. More... | |
Typedefs | |
typedef boost::shared_ptr< LoggerStream > | LoggerStreamPtr_t |
typedef Eigen::MatrixXd | Matrix |
typedef Eigen::VectorXd | Vector |
Enumerations | |
enum | LoggerVerbosity { VERBOSITY_ALL = MSG_TYPE_DEBUG, VERBOSITY_INFO_WARNING_ERROR = MSG_TYPE_INFO, VERBOSITY_WARNING_ERROR = MSG_TYPE_WARNING, VERBOSITY_ERROR = MSG_TYPE_ERROR, VERBOSITY_NONE = 0 } |
enum | MsgType { MSG_TYPE_TYPE_BITS = 1 << 0 | 1 << 1 | 1 << 2 | 1 << 3, MSG_TYPE_STREAM_BIT = 1 << 4, MSG_TYPE_DEBUG = 1 << 3, MSG_TYPE_INFO = 1 << 2, MSG_TYPE_WARNING = 1 << 1, MSG_TYPE_ERROR = 1 << 0, MSG_TYPE_DEBUG_STREAM = MSG_TYPE_DEBUG | MSG_TYPE_STREAM_BIT, MSG_TYPE_INFO_STREAM = MSG_TYPE_INFO | MSG_TYPE_STREAM_BIT, MSG_TYPE_WARNING_STREAM = MSG_TYPE_WARNING | MSG_TYPE_STREAM_BIT, MSG_TYPE_ERROR_STREAM = MSG_TYPE_ERROR | MSG_TYPE_STREAM_BIT } |
Functions | |
std::ostream & | __null_stream () |
PoolStorage & | g_pool () |
template<class Time > | |
SignalArray< Time > | operator<< (SignalBase< Time > &sig1, SignalBase< Time > &sig2) |
template<class Time > | |
SignalArray_const< Time > | operator<< (const SignalBase< Time > &sig1, const SignalBase< Time > &sig2) |
DYNAMIC_GRAPH_DLLAPI std::ostream & | operator<< (std::ostream &os, const dynamicgraph::Entity &ent) |
template<class Time > | |
std::ostream & | operator<< (std::ostream &os, const SignalBase< Time > &sig) |
Forward to a virtual fonction. | |
template<typename T > | |
T | signal_cast (std::istringstream &iss) |
template<typename T > | |
void | signal_disp (const T &value, std::ostream &os) |
template<typename T > | |
void | signal_trace (const T &value, std::ostream &os) |
template<typename T > | |
std::string | toString (const T &v, const int precision=3, const int width=-1) |
template<typename T > | |
std::string | toString (const std::vector< T > &v, const int precision=3, const int width=-1, const std::string separator=", ") |
template<typename T > | |
std::string | toString (const Eigen::MatrixBase< T > &v, const int precision=3, const int width=-1, const std::string separator=", ") |
Variables | |
DYNAMIC_GRAPH_DLLAPI DebugTrace | dgDEBUGFLOW |
DYNAMIC_GRAPH_DLLAPI DebugTrace | dgERRORFLOW |
DYNAMIC_GRAPH_DLLAPI SignalArray< int > | sotNOSIGNAL |
This is the namespace where every object and class of this library is located.
enum MsgType |
void dynamicgraph::signal_disp | ( | const T & | value, |
std::ostream & | os | ||
) |
Global signal cast template (helper) functions
Using these avoid using the typeid () operator and keeps the implementation details hidden.
Definition at line 104 of file signal-caster.h.