OpenLexocad
28.0
|
#include <Factory.h>
Public Member Functions | |
const char * | ProduceScript (const char *sScriptName) const |
![]() | |
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 ScriptFactorySingleton & | Instance (void) |
static void | Destruct () |
Additional Inherited Members | |
![]() | |
void * | Produce (const char *sClassName) const |
produce a class with the given name More... | |
Factory2 (void) | |
construction More... | |
virtual | ~Factory2 () |
destruction More... | |
![]() | |
std::map< const std::string, AbstractProducer * > | _mpcProducers |
The ScriptFactorySingleton singleton
|
static |
|
static |
const char* Base::ScriptFactorySingleton::ProduceScript | ( | const char * | sScriptName | ) | const |