dynamic-graph  4.4.3
Dynamic graph library
Core classes and objects

Classes, entities and binaries that make up the core of the dynamic-graph library are listed here. More...

Classes

class  Command
 
class  Entity
 This class represents an entity, i.e. a generic computational unit that provides input and output signals. More...
 
class  EntityRegisterer
 This class automatically register an Entity to the global factory at initialization and unregister it during instance destruction. More...
 
class  FactoryStorage
 Provides a way to create Entity objects from their class name. More...
 
class  PoolStorage
 Singleton that keeps track of all the entities. More...
 
class  Signal< T, Time >
 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< Time >
 TODO. More...
 
class  SignalArray_const< Time >
 TODO. More...
 
class  SignalPtr< T, Time >
 This is the only type of signal that can be plugged to, using the plug () command. More...
 
class  Value
 This class implements a variant design pattern to handle basic types in Command. More...
 

Macros

#define DYNAMICGRAPH_FACTORY_ENTITY_PLUGIN(CLASSTYPE, CLASSNAME)
 Automatically register a class to the global factory by relying on the static initialization. More...
 

Detailed Description

Classes, entities and binaries that make up the core of the dynamic-graph library are listed here.

Macro Definition Documentation

◆ DYNAMICGRAPH_FACTORY_ENTITY_PLUGIN

#define DYNAMICGRAPH_FACTORY_ENTITY_PLUGIN (   CLASSTYPE,
  CLASSNAME 
)
Value:
const std::string CLASSTYPE::CLASS_NAME = CLASSNAME; \
extern "C" { \
::dynamicgraph::Entity *EntityMaker_##CLASSTYPE( \
const std::string &objname) { \
return new CLASSTYPE(objname); \
} \
::dynamicgraph::EntityRegisterer reg_##CLASSTYPE(CLASSNAME, \
&EntityMaker_##CLASSTYPE); \
} \
struct e_n_d__w_i_t_h__s_e_m_i_c_o_l_o_n

Automatically register a class to the global factory by relying on the static initialization.

Parameters
CLASSTYPEthe Entity type to be registered
CLASSNAMEthe name of the Entity to be registered (this must be a std::string or a type implicitly castable into a std::string such as classic C string delimited by double quotes).

Definition at line 26 of file factory.h.

dynamicgraph::EntityRegisterer
This class automatically register an Entity to the global factory at initialization and unregister it...
Definition: factory.h:184
dynamicgraph::Entity
This class represents an entity, i.e. a generic computational unit that provides input and output sig...
Definition: entity.h:52