OpenLexocad  27.1
Base::ScriptFactorySingleton Class Reference

#include <Factory.h>

Inheritance diagram for Base::ScriptFactorySingleton:
Base::Factory2

Public Member Functions

const char * ProduceScript (const char *sScriptName) const
 
- Public Member Functions inherited from Base::Factory2
void AddProducer (const char *sClassName, AbstractProducer *pcProducer)
 Adds a new producer instance. More...
 
bool CanProduce (const char *sClassName) const
 returns true if there is a producer for this class registered More...
 
std::list< std::string > CanProduce () const
 returns a list of all registered producer More...
 

Static Public Member Functions

static ScriptFactorySingletonInstance (void)
 
static void Destruct (void)
 

Additional Inherited Members

- Protected Member Functions inherited from Base::Factory2
void * Produce (const char *sClassName) const
 produce a class with the given name More...
 
 Factory2 (void)
 construction More...
 
virtual ~Factory2 ()
 destruction More...
 
- Protected Attributes inherited from Base::Factory2
std::map< const std::string, AbstractProducer * > _mpcProducers
 

Detailed Description

The ScriptFactorySingleton singleton

Member Function Documentation

◆ Destruct()

static void Base::ScriptFactorySingleton::Destruct ( void  )
static

◆ Instance()

static ScriptFactorySingleton& Base::ScriptFactorySingleton::Instance ( void  )
static

◆ ProduceScript()

const char* Base::ScriptFactorySingleton::ProduceScript ( const char *  sScriptName) const

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