The ScriptFactorySingleton singleton. More...
#include <Factory.h>
Public Member Functions | |
| const char * | ProduceScript (const char *sScriptName) const |
Public Member Functions inherited from Base::Factory | |
| void | AddProducer (const char *sClassName, AbstractProducer *pcProducer) |
| Adds a new prducer instance. More... | |
| std::list< std::string > | CanProduce () const |
| returns a list of all registered producer More... | |
| bool | CanProduce (const char *sClassName) const |
| returns true if there is a producer for this class registered More... | |
Static Public Member Functions | |
| static void | Destruct () |
| static ScriptFactorySingleton & | Instance () |
Additional Inherited Members | |
Protected Member Functions inherited from Base::Factory | |
| Factory () | |
| construction More... | |
| void * | Produce (const char *sClassName) const |
| produce a class with the given name More... | |
| virtual | ~Factory () |
| destruction More... | |
The ScriptFactorySingleton singleton.
|
static |
|
static |
Referenced by Base::ScriptFactory(), and Base::ScriptProducer::ScriptProducer().
| const char * ScriptFactorySingleton::ProduceScript | ( | const char * | sScriptName | ) | const |
References Base::Console(), Base::Factory::Produce(), and Base::ConsoleSingleton::Warning().