Script Factory This class produce Scripts. More...
#include <Factory.h>
Public Member Functions | |
virtual void * | Produce () const |
Produce an instance. More... | |
ScriptProducer (const char *name, const char *script) | |
Constructor. More... | |
virtual | ~ScriptProducer () |
Public Member Functions inherited from Base::AbstractProducer | |
AbstractProducer () | |
virtual void * | Produce () const =0 |
overwritten by a concrete producer to produce the needed object More... | |
virtual | ~AbstractProducer () |
Base::ScriptProducer::ScriptProducer | ( | const char * | name, |
const char * | script | ||
) |
Constructor.
References Base::Factory::AddProducer(), and Base::ScriptFactorySingleton::Instance().
|
virtual |
|
virtual |
Produce an instance.
Implements Base::AbstractProducer.