Template Class ObjectFactory¶
Defined in File factory.hpp
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()¶
-
inline AbstractObject *create(const IdentifierType &id, Args... args)¶