dynamic-graph  4.4.3
Dynamic graph library
EntityRegisterer Class Reference

This class automatically register an Entity to the global factory at initialization and unregister it during instance destruction. More...

#include <dynamic-graph/factory.h>

Inheritance diagram for EntityRegisterer:
Collaboration diagram for EntityRegisterer:

Public Member Functions

 EntityRegisterer (const std::string &entityClassName, FactoryStorage::EntityConstructor_ptr maker)
 Register entity to the global factory.
 
 ~EntityRegisterer ()
 Unregister entity to the global factory.
 

Detailed Description

This class automatically register an Entity to the global factory at initialization and unregister it during instance destruction.

This class is mainly used by the DYNAMICGRAPH_FACTORY_ENTITY_PLUGIN macro and is of little interest by itself.

Definition at line 184 of file factory.h.


The documentation for this class was generated from the following file: