CFEL - ASG Software Suite
2.5.0
CASS
|
helper struct that will add Derived to the factory map More...
#include <generic_factory.hpp>
Public Types | |
typedef Factory< Base > | factory_t |
define the factory More... | |
typedef factory_t::reference | factory_r |
define a reference to the factory More... | |
Public Member Functions | |
Registrar (const typename factory_t::instanciatorMap_t::key_type &type) | |
constuctor More... | |
Registrar (const typename factory_t::instanciatorMap_t::key_type &type, bool) | |
constuctor More... | |
helper struct that will add Derived to the factory map
Base | the type of the base class |
Derived | the type of the derived class |
Definition at line 171 of file generic_factory.hpp.
typedef factory_t::reference cass::Registrar< Base, Derived >::factory_r |
define a reference to the factory
Definition at line 177 of file generic_factory.hpp.
typedef Factory<Base> cass::Registrar< Base, Derived >::factory_t |
define the factory
Definition at line 174 of file generic_factory.hpp.
|
inline |
constuctor
register the derived class in the factorys instanciator map.
type | the type as a human readable string |
Definition at line 185 of file generic_factory.hpp.
|
inline |
constuctor
register the derived singelton class in the factorys instanciator map.
type | the type as a human readable string |
Definition at line 197 of file generic_factory.hpp.