10 #include <Atoms/Globals.h>
11 #include <Atoms/Exporters/BaseAgentGroupExporter.h>
24 typedef AtomsPtr<BaseAgentGroupExporter>(*creatorFn)();
76 typedef std::map<std::string, creatorFn> FactoryMap;
82 FactoryMap m_factoryMap;
AgentGroup Exporter factory.
Definition: AgentGroupExporterFactory.h:21
bool isRegistered(const std::string &name)
Checks if an agent group exporter type with the given name is registered.
void deregisterAgentGroupExporter(const std::string &name)
De registers an agent group exporter type from the factory.
static AgentGroupExporterFactory & instance()
Singleton access.
void registerAgentGroupExporter(const std::string &name, creatorFn funct)
Registers a new agent group exporter type in the factory.
AtomsPtr< BaseAgentGroupExporter > createAgentGroupExporter(const std::string &typeName)
Creates an agent group exporter.
std::vector< std::string > getRegisteredAgentGroupExporters()
Gets all registered agent group exporter.
Atoms namespace.
Definition: Agent.h:29