Atoms Crowd  7.0.0
Atoms::MeshExporterFactory Class Reference

AnimExporter factory. More...

#include <MeshExporterFactory.h>

Public Types

typedef AtomsPtr< BaseMeshExporter >(* creatorFn) ()
 

Public Member Functions

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

Static Public Member Functions

static MeshExporterFactoryinstance ()
 Singleton access.
 

Detailed Description

AnimExporter factory.

AnimExporter factory used to create Mesh Exporters.

Member Function Documentation

◆ createMeshExporter()

AtomsPtr<BaseMeshExporter> Atoms::MeshExporterFactory::createMeshExporter ( const std::string &  typeName)

Creates an Mesh Exporter.

Parameters
typeNameMesh Exporter type
Returns
Pointer to the Mesh Exporter

◆ deregisterMeshExporter()

void Atoms::MeshExporterFactory::deregisterMeshExporter ( const std::string &  name)

De-register a Mesh Exporter type from the factory.

Parameters
nameBaseAnimExporter type name

◆ getRegisteredMeshExporters()

std::vector<std::string> Atoms::MeshExporterFactory::getRegisteredMeshExporters ( )

Gets all registered Mesh Exporter.

Returns
List of all Mesh Exporter type registered

◆ isRegistered()

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

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

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

◆ registerMeshExporter()

void Atoms::MeshExporterFactory::registerMeshExporter ( const std::string &  name,
creatorFn  funct 
)

Registers a new Mesh Exporter type in the factory.

Parameters
nameBaseAnimExporter type name
functcreator function

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