Template Class ObjectFactory

Class Documentation

template<typename AbstractObject, typename IdentifierType, typename ...Args>
class ObjectFactory

Public Functions

inline AbstractObject *create(const IdentifierType &id, Args... args)
inline bool hasClass(const IdentifierType &id)
inline bool registerClass(const IdentifierType &id, ObjectCreator<AbstractObject, Args...> creator)
inline std::vector<IdentifierType> listEntries() const

Public Static Functions

static inline ThisClass &instance()