Base::ScriptFactorySingleton Class Reference
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 (void) |
| static ScriptFactorySingleton & | Instance (void) |
Additional Inherited Members | |
Protected Member Functions inherited from Base::Factory | |
| Factory (void) | |
| construction More... | |
| void * | Produce (const char *sClassName) const |
| produce a class with the given name More... | |
| virtual | ~Factory () |
| destruction More... | |
Detailed Description
The ScriptFactorySingleton singleton.
Member Function Documentation
◆ Destruct()
|
static |
◆ Instance()
|
static |
◆ ProduceScript()
| const char * ScriptFactorySingleton::ProduceScript | ( | const char * | sScriptName | ) | const |
References Base::Console(), Base::Factory::Produce(), and Base::ConsoleSingleton::Warning().
The documentation for this class was generated from the following files:
- src/Base/Factory.h
- src/Base/Factory.cpp
Public Member Functions inherited from
1.8.17