Atoms Crowd  7.0.0
Atoms::SkeletonExporterFactory Class Reference

AnimExporter factory. More...

#include <SkeletonExporterFactory.h>

Public Types

typedef AtomsPtr< BaseSkeletonExporter >(* creatorFn) ()
 

Public Member Functions

AtomsPtr< BaseSkeletonExportercreateSkeletonExporter (const std::string &typeName)
 Creates an skeleton Exporter. More...
 
void registerSkeletonExporter (const std::string &name, creatorFn funct)
 Registers a new skeleton Exporter type in the factory. More...
 
void deregisterSkeletonExporter (const std::string &name)
 De-register a skeleton Exporter type from the factory. More...
 
std::vector< std::string > getRegisteredSkeletonExporters ()
 Gets all registered skeleton Exporter. More...
 
bool isRegistered (const std::string &name)
 Checks if a skeleton Exporter type with the given name is registered. More...
 

Static Public Member Functions

static SkeletonExporterFactoryinstance ()
 Singleton access.
 

Detailed Description

AnimExporter factory.

AnimExporter factory used to create skeleton Exporters.

Member Function Documentation

◆ createSkeletonExporter()

AtomsPtr<BaseSkeletonExporter> Atoms::SkeletonExporterFactory::createSkeletonExporter ( const std::string &  typeName)

Creates an skeleton Exporter.

Parameters
typeNameskeleton Exporter type
Returns
Pointer to the skeleton Exporter

◆ deregisterSkeletonExporter()

void Atoms::SkeletonExporterFactory::deregisterSkeletonExporter ( const std::string &  name)

De-register a skeleton Exporter type from the factory.

Parameters
nameBaseAnimExporter type name

◆ getRegisteredSkeletonExporters()

std::vector<std::string> Atoms::SkeletonExporterFactory::getRegisteredSkeletonExporters ( )

Gets all registered skeleton Exporter.

Returns
List of all skeleton Exporter type registered

◆ isRegistered()

bool Atoms::SkeletonExporterFactory::isRegistered ( const std::string &  name)

Checks if a skeleton Exporter type with the given name is registered.

Parameters
nameBaseAnimExporter type name
Returns
Return true if the type is already registered

◆ registerSkeletonExporter()

void Atoms::SkeletonExporterFactory::registerSkeletonExporter ( const std::string &  name,
creatorFn  funct 
)

Registers a new skeleton Exporter type in the factory.

Parameters
nameBaseAnimExporter type name
functcreator function

The documentation for this class was generated from the following file: