|
bool | registerObject (const IdentifierType &id, ProductCreator creator) |
| Register the object. More...
|
|
bool | unregisterObject (const IdentifierType &id) |
| Unregister the object. More...
|
|
AbstractProduct * | createObject (const IdentifierType &id) |
| Create the object. More...
|
|
AbstractProduct * | createObject (const IdentifierType &id, Parm1 p1) |
| Create the object. More...
|
|
AbstractProduct * | createObject (const IdentifierType &id, Parm1 p1, Parm2 p2) |
|
AbstractProduct * | createObject (const IdentifierType &id, Parm1 p1, Parm2 p2, Parm3 p3) |
|
AbstractProduct * | createObject (const IdentifierType &id, Parm1 p1, Parm2 p2, Parm3 p3, Parm4 p4) |
|
AbstractProduct * | createObject (const IdentifierType &id, Parm1 p1, Parm2 p2, Parm3 p3, Parm4 p4, Parm5 p5) |
|
AbstractProduct * | createObject (const IdentifierType &id, Parm1 p1, Parm2 p2, Parm3 p3, Parm4 p4, Parm5 p5, Parm6 p6) |
|
AbstractProduct * | createObject (const IdentifierType &id, Parm1 p1, Parm2 p2, Parm3 p3, Parm4 p4, Parm5 p5, Parm6 p6, Parm7 p7) |
|
AbstractProduct * | createObject (const IdentifierType &id, Parm1 p1, Parm2 p2, Parm3 p3, Parm4 p4, Parm5 p5, Parm6 p6, Parm7 p7, Parm8 p8) |
|
template<class AbstractProduct, typename IdentifierType, class TList = NullType, typename ProductCreator = AbstractProduct* (*)(), template< typename, class > class FactoryErrorPolicy = DefaultFactoryError>
class Chroma::ObjectFactory< AbstractProduct, IdentifierType, TList, ProductCreator, FactoryErrorPolicy >
Object factory class.
Supports abstract creation of objects
Definition at line 81 of file objfactory.h.
template<class AbstractProduct , typename IdentifierType , class TList = NullType, typename ProductCreator = AbstractProduct* (*)(), template< typename, class > class FactoryErrorPolicy = DefaultFactoryError>
AbstractProduct* Chroma::ObjectFactory< AbstractProduct, IdentifierType, TList, ProductCreator, FactoryErrorPolicy >::createObject |
( |
const IdentifierType & |
id | ) |
|
|
inline |
template<class AbstractProduct , typename IdentifierType , class TList = NullType, typename ProductCreator = AbstractProduct* (*)(), template< typename, class > class FactoryErrorPolicy = DefaultFactoryError>
AbstractProduct* Chroma::ObjectFactory< AbstractProduct, IdentifierType, TList, ProductCreator, FactoryErrorPolicy >::createObject |
( |
const IdentifierType & |
id, |
|
|
Parm1 |
p1 |
|
) |
| |
|
inline |
template<class AbstractProduct , typename IdentifierType , class TList = NullType, typename ProductCreator = AbstractProduct* (*)(), template< typename, class > class FactoryErrorPolicy = DefaultFactoryError>
AbstractProduct* Chroma::ObjectFactory< AbstractProduct, IdentifierType, TList, ProductCreator, FactoryErrorPolicy >::createObject |
( |
const IdentifierType & |
id, |
|
|
Parm1 |
p1, |
|
|
Parm2 |
p2 |
|
) |
| |
|
inline |
template<class AbstractProduct , typename IdentifierType , class TList = NullType, typename ProductCreator = AbstractProduct* (*)(), template< typename, class > class FactoryErrorPolicy = DefaultFactoryError>
AbstractProduct* Chroma::ObjectFactory< AbstractProduct, IdentifierType, TList, ProductCreator, FactoryErrorPolicy >::createObject |
( |
const IdentifierType & |
id, |
|
|
Parm1 |
p1, |
|
|
Parm2 |
p2, |
|
|
Parm3 |
p3 |
|
) |
| |
|
inline |
template<class AbstractProduct , typename IdentifierType , class TList = NullType, typename ProductCreator = AbstractProduct* (*)(), template< typename, class > class FactoryErrorPolicy = DefaultFactoryError>
template<class AbstractProduct , typename IdentifierType , class TList = NullType, typename ProductCreator = AbstractProduct* (*)(), template< typename, class > class FactoryErrorPolicy = DefaultFactoryError>
template<class AbstractProduct , typename IdentifierType , class TList = NullType, typename ProductCreator = AbstractProduct* (*)(), template< typename, class > class FactoryErrorPolicy = DefaultFactoryError>
AbstractProduct* Chroma::ObjectFactory< AbstractProduct, IdentifierType, TList, ProductCreator, FactoryErrorPolicy >::createObject |
( |
const IdentifierType & |
id, |
|
|
Parm1 |
p1, |
|
|
Parm2 |
p2, |
|
|
Parm3 |
p3, |
|
|
Parm4 |
p4, |
|
|
Parm5 |
p5, |
|
|
Parm6 |
p6 |
|
) |
| |
|
inline |
template<class AbstractProduct , typename IdentifierType , class TList = NullType, typename ProductCreator = AbstractProduct* (*)(), template< typename, class > class FactoryErrorPolicy = DefaultFactoryError>
AbstractProduct* Chroma::ObjectFactory< AbstractProduct, IdentifierType, TList, ProductCreator, FactoryErrorPolicy >::createObject |
( |
const IdentifierType & |
id, |
|
|
Parm1 |
p1, |
|
|
Parm2 |
p2, |
|
|
Parm3 |
p3, |
|
|
Parm4 |
p4, |
|
|
Parm5 |
p5, |
|
|
Parm6 |
p6, |
|
|
Parm7 |
p7 |
|
) |
| |
|
inline |
template<class AbstractProduct , typename IdentifierType , class TList = NullType, typename ProductCreator = AbstractProduct* (*)(), template< typename, class > class FactoryErrorPolicy = DefaultFactoryError>
AbstractProduct* Chroma::ObjectFactory< AbstractProduct, IdentifierType, TList, ProductCreator, FactoryErrorPolicy >::createObject |
( |
const IdentifierType & |
id, |
|
|
Parm1 |
p1, |
|
|
Parm2 |
p2, |
|
|
Parm3 |
p3, |
|
|
Parm4 |
p4, |
|
|
Parm5 |
p5, |
|
|
Parm6 |
p6, |
|
|
Parm7 |
p7, |
|
|
Parm8 |
p8 |
|
) |
| |
|
inline |
template<class AbstractProduct , typename IdentifierType , class TList = NullType, typename ProductCreator = AbstractProduct* (*)(), template< typename, class > class FactoryErrorPolicy = DefaultFactoryError>
bool Chroma::ObjectFactory< AbstractProduct, IdentifierType, TList, ProductCreator, FactoryErrorPolicy >::registerObject |
( |
const IdentifierType & |
id, |
|
|
ProductCreator |
creator |
|
) |
| |
|
inline |
template<class AbstractProduct , typename IdentifierType , class TList = NullType, typename ProductCreator = AbstractProduct* (*)(), template< typename, class > class FactoryErrorPolicy = DefaultFactoryError>
bool Chroma::ObjectFactory< AbstractProduct, IdentifierType, TList, ProductCreator, FactoryErrorPolicy >::unregisterObject |
( |
const IdentifierType & |
id | ) |
|
|
inline |