Atoms Crowd  7.0.0
Atoms::AgentGroupExporterFactory Class Reference

AgentGroup Exporter factory. More...

#include <AgentGroupExporterFactory.h>

Public Types

typedef AtomsPtr< BaseAgentGroupExporter >(* creatorFn) ()
 

Public Member Functions

AtomsPtr< BaseAgentGroupExportercreateAgentGroupExporter (const std::string &typeName)
 Creates an agent group exporter. More...
 
void registerAgentGroupExporter (const std::string &name, creatorFn funct)
 Registers a new agent group exporter type in the factory. More...
 
void deregisterAgentGroupExporter (const std::string &name)
 De registers an agent group exporter type from the factory. More...
 
std::vector< std::string > getRegisteredAgentGroupExporters ()
 Gets all registered agent group exporter. More...
 
bool isRegistered (const std::string &name)
 Checks if an agent group exporter type with the given name is registered. More...
 

Static Public Member Functions

static AgentGroupExporterFactoryinstance ()
 Singleton access.
 

Detailed Description

AgentGroup Exporter factory.

AgentGroupExporter factory used to create agent group exporters

Member Function Documentation

◆ createAgentGroupExporter()

AtomsPtr<BaseAgentGroupExporter> Atoms::AgentGroupExporterFactory::createAgentGroupExporter ( const std::string &  typeName)

Creates an agent group exporter.

Parameters
typeNameagent group exporter type
Returns
Pointer to the agent group exporter

◆ deregisterAgentGroupExporter()

void Atoms::AgentGroupExporterFactory::deregisterAgentGroupExporter ( const std::string &  name)

De registers an agent group exporter type from the factory.

Parameters
nameBaseAnimLoader type name

◆ getRegisteredAgentGroupExporters()

std::vector<std::string> Atoms::AgentGroupExporterFactory::getRegisteredAgentGroupExporters ( )

Gets all registered agent group exporter.

Returns
List of all agent group exporter type registered

◆ isRegistered()

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

Checks if an agent group exporter type with the given name is registered.

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

◆ registerAgentGroupExporter()

void Atoms::AgentGroupExporterFactory::registerAgentGroupExporter ( const std::string &  name,
creatorFn  funct 
)

Registers a new agent group exporter type in the factory.

Parameters
nameBaseAgentGroupExporter type name \patam funct creator function

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