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