10 #include <AtomsCore/Globals.h>
11 #include <Atoms/Loaders/BaseSkeletonLoader.h>
24 typedef AtomsPtr<BaseSkeletonLoader>(*creatorFn)();
76 typedef std::map<std::string, creatorFn> FactoryMap;
82 FactoryMap m_factoryMap;
AnimLoader factory.
Definition: SkeletonLoaderFactory.h:21
std::vector< std::string > getRegisteredSkeletonLoaders()
Gets all registered anim loader.
bool isRegistered(const std::string &name)
Checks if an anim loader type with the given name is registered.
AtomsPtr< BaseSkeletonLoader > createSkeletonLoader(const std::string &typeName)
Creates an anim loader.
static SkeletonLoaderFactory & instance()
Singleton access.
void deregisterSkeletonLoader(const std::string &name)
Deregisters an anim loader type from the factory.
void registerSkeletonLoader(const std::string &name, creatorFn funct)
Registers a new anim loader type in the factory.
Atoms namespace.
Definition: Agent.h:29