dynamic-graph  4.4.3
Dynamic graph library
dynamicgraph Namespace Reference

Classes

class  DebugTrace
 Logging class. More...
 
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...
 
struct  signal_io
 Class used for I/O operations in Signal<T,Time> More...
 
struct  signal_io< double >
 
struct  signal_io< Eigen::Matrix< _Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >
 Template specialization of signal_disp for Eigen objects. More...
 
struct  signal_io< Eigen::Quaternion< _Scalar, _Options > >
 Template specialization of signal_io for Eigen quaternion objects. More...
 
struct  signal_io< std::string >
 
struct  signal_io_base
 
struct  signal_io_unimplemented
 Inherit from this class if tracing is not implemented for a given type. 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  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 shared_ptr< Interpreter > InterpreterShPtr_t
 
typedef boost::shared_ptr< LoggerStreamLoggerStreamPtr_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 ()
 
PoolStorageg_pool ()
 
template<class Time >
SignalArray_const< Time > operator<< (const SignalBase< Time > &sig1, const SignalBase< Time > &sig2)
 
template<class Time >
SignalArray< Time > operator<< (SignalBase< Time > &sig1, 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 >
std::string toString (const Eigen::MatrixBase< T > &v, const int precision=3, const int width=-1, const std::string separator=", ")
 
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 T &v, const int precision=3, const int width=-1)
 

Variables

DYNAMIC_GRAPH_DLLAPI DebugTrace dgDEBUGFLOW
 
DYNAMIC_GRAPH_DLLAPI DebugTrace dgERRORFLOW
 
DYNAMIC_GRAPH_DLLAPI SignalArray< int > sotNOSIGNAL
 

Detailed Description

Todo:
These 3 headers should be removed.

This is the namespace where every object and class of this library is located.

Enumeration Type Documentation

◆ MsgType

enum MsgType

Enum representing the different kind of messages.

Definition at line 29 of file logger.h.