Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
dynamicgraph Namespace Reference

Namespaces

 command
 
 CPU
 

Classes

class  CustomEntity
 
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...
 
struct  MyEntity
 
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 ()
 
DebugTrace dgDEBUGFLOW (dg_debugfile)
 
DebugTrace dgERRORFLOW (dg_debugfile)
 
 DYNAMICGRAPH_FACTORY_ENTITY_PLUGIN (MyEntity, "MyEntity")
 
 DYNAMICGRAPH_FACTORY_ENTITY_PLUGIN (CustomEntity, "CustomEntity")
 
PoolStorageg_pool ()
 
std::ostream & operator<< (std::ostream &os, const ExceptionAbstract &error)
 
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. More...
 
SignalArray< int > sotNOSIGNAL (0)
 
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
 

Detailed Description

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

Todo:
These 3 headers should be removed.

Typedef Documentation

◆ InterpreterShPtr_t

typedef shared_ptr<Interpreter> dynamicgraph::InterpreterShPtr_t

Definition at line 30 of file fwd.hh.

◆ LoggerStreamPtr_t

typedef boost::shared_ptr<LoggerStream> dynamicgraph::LoggerStreamPtr_t

Definition at line 39 of file real-time-logger-def.h.

◆ Matrix

typedef Eigen::MatrixXd dynamicgraph::Matrix

Definition at line 13 of file linear-algebra.h.

◆ Vector

typedef Eigen::VectorXd dynamicgraph::Vector

Definition at line 14 of file linear-algebra.h.

Enumeration Type Documentation

◆ LoggerVerbosity

Enumerator
VERBOSITY_ALL 
VERBOSITY_INFO_WARNING_ERROR 
VERBOSITY_WARNING_ERROR 
VERBOSITY_ERROR 
VERBOSITY_NONE 

Definition at line 143 of file logger.h.

◆ MsgType

Enum representing the different kind of messages.

Enumerator
MSG_TYPE_TYPE_BITS 
MSG_TYPE_STREAM_BIT 
MSG_TYPE_DEBUG 
MSG_TYPE_INFO 
MSG_TYPE_WARNING 
MSG_TYPE_ERROR 
MSG_TYPE_DEBUG_STREAM 
MSG_TYPE_INFO_STREAM 
MSG_TYPE_WARNING_STREAM 
MSG_TYPE_ERROR_STREAM 

Definition at line 29 of file logger.h.

Function Documentation

◆ __null_stream()

std::ostream& dynamicgraph::__null_stream ( )
inline

Definition at line 178 of file debug.h.

◆ dgDEBUGFLOW()

DebugTrace dynamicgraph::dgDEBUGFLOW ( dg_debugfile  )

◆ dgERRORFLOW()

DebugTrace dynamicgraph::dgERRORFLOW ( dg_debugfile  )

◆ DYNAMICGRAPH_FACTORY_ENTITY_PLUGIN() [1/2]

dynamicgraph::DYNAMICGRAPH_FACTORY_ENTITY_PLUGIN ( MyEntity  ,
"MyEntity"   
)

◆ DYNAMICGRAPH_FACTORY_ENTITY_PLUGIN() [2/2]

dynamicgraph::DYNAMICGRAPH_FACTORY_ENTITY_PLUGIN ( CustomEntity  ,
"CustomEntity"   
)

◆ g_pool()

PoolStorage& dynamicgraph::g_pool ( )
inline

Definition at line 114 of file include/dynamic-graph/pool.h.

◆ operator<<() [1/5]

std::ostream& dynamicgraph::operator<< ( std::ostream &  os,
const ExceptionAbstract error 
)

Definition at line 48 of file exception-abstract.cpp.

◆ operator<<() [2/5]

template<class Time >
SignalArray<Time> dynamicgraph::operator<< ( SignalBase< Time > &  sig1,
SignalBase< Time > &  sig2 
)

Definition at line 144 of file signal-array.h.

◆ operator<<() [3/5]

template<class Time >
SignalArray_const<Time> dynamicgraph::operator<< ( const SignalBase< Time > &  sig1,
const SignalBase< Time > &  sig2 
)

Definition at line 76 of file signal-array.h.

◆ operator<<() [4/5]

std::ostream & dynamicgraph::operator<< ( std::ostream &  os,
const dynamicgraph::Entity ent 
)

Definition at line 170 of file src/dgraph/entity.cpp.

◆ operator<<() [5/5]

template<class Time >
std::ostream& dynamicgraph::operator<< ( std::ostream &  os,
const SignalBase< Time > &  sig 
)

Forward to a virtual fonction.

Definition at line 207 of file signal-base.h.

◆ sotNOSIGNAL()

SignalArray<int> dynamicgraph::sotNOSIGNAL ( )

◆ toString() [1/3]

template<typename T >
std::string dynamicgraph::toString ( const T &  v,
const int  precision = 3,
const int  width = -1 
)

Definition at line 95 of file logger.h.

◆ toString() [2/3]

template<typename T >
std::string dynamicgraph::toString ( const std::vector< T > &  v,
const int  precision = 3,
const int  width = -1,
const std::string  separator = ", " 
)

Definition at line 106 of file logger.h.

◆ toString() [3/3]

template<typename T >
std::string dynamicgraph::toString ( const Eigen::MatrixBase< T > &  v,
const int  precision = 3,
const int  width = -1,
const std::string  separator = ", " 
)

Definition at line 125 of file logger.h.

Variable Documentation

◆ dgDEBUGFLOW

DebugTrace dynamicgraph::dgDEBUGFLOW(dg_debugfile)

◆ dgERRORFLOW

DebugTrace dynamicgraph::dgERRORFLOW(dg_debugfile)

◆ sotNOSIGNAL

SignalArray<int> dynamicgraph::sotNOSIGNAL(0)


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