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