AnimLoader factory.
More...
#include <AnimLoaderFactory.h>
AnimLoader factory.
AnimLoader factory used to create anim loaders.
◆ createAnimLoader()
AtomsPtr<BaseAnimLoader> Atoms::AnimLoaderFactory::createAnimLoader |
( |
const std::string & |
typeName | ) |
|
Creates an anim loader.
- Parameters
-
- Returns
- Pointer to the anim loader
◆ deregisterAnimLoader()
void Atoms::AnimLoaderFactory::deregisterAnimLoader |
( |
const std::string & |
name | ) |
|
Deregisters an anim loader type from the factory.
- Parameters
-
◆ getRegisteredAnimLoaders()
std::vector<std::string> Atoms::AnimLoaderFactory::getRegisteredAnimLoaders |
( |
| ) |
|
Gets all registered anim loader.
- Returns
- List of all anim loader type registered
◆ isRegistered()
bool Atoms::AnimLoaderFactory::isRegistered |
( |
const std::string & |
name | ) |
|
Checks if an anim loader type with the given name is registered.
- Parameters
-
- Returns
- Return true if the type is already registered
◆ registerAnimLoader()
void Atoms::AnimLoaderFactory::registerAnimLoader |
( |
const std::string & |
name, |
|
|
creatorFn |
funct |
|
) |
| |
Registers a new anim loader type in the factory.
- Parameters
-
The documentation for this class was generated from the following file: