|
OpenLexocad
27.1
|
#include <Factory.h>
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 ScriptFactorySingleton & | Instance (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 |
The ScriptFactorySingleton singleton
|
static |
|
static |
| const char* Base::ScriptFactorySingleton::ProduceScript | ( | const char * | sScriptName | ) | const |