#include <GWorldEngineFactory.h>
Inheritance diagram for GWE::GWorldEngineFactory:


Public Slots | |
| GweController * | init () |
| GweController * | initDefault () |
| GXmlDataController * | initTestDataController (QString jid, QString pwd) |
Signals | |
| void | initSucceeded (GweController *controller) |
| void | initFailed (QString error_description) |
Public Member Functions | |
| GWorldEngineFactory (QObject *parent=0) | |
| virtual | ~GWorldEngineFactory () |
| void | setDeleteControllersInDestructor (bool delete_in_destructor) |
| bool | getDeleteControllersInDestructor () const |
| QList< GWE::GweController * > | getInitializedControllers () |
| GweFactoryOption * | getRootOption () |
| const GweFactoryOption * | getRootOption () const |
Protected Attributes | |
| QList< GweController * > | GweControllers |
| GweFactoryOption * | RootOption |
| bool | DeleteControllersInDestructor |
| GWE::GWorldEngineFactory::GWorldEngineFactory | ( | QObject * | parent = 0 |
) |
Constructor.
| GWE::GWorldEngineFactory::~GWorldEngineFactory | ( | ) | [virtual] |
Virtual Destructor.
| bool GWE::GWorldEngineFactory::getDeleteControllersInDestructor | ( | ) | const |
| QList< GweController * > GWE::GWorldEngineFactory::getInitializedControllers | ( | ) |
| const GweFactoryOption * GWE::GWorldEngineFactory::getRootOption | ( | ) | const |
| GweFactoryOption * GWE::GWorldEngineFactory::getRootOption | ( | ) |
| GweController * GWE::GWorldEngineFactory::init | ( | ) | [slot] |
Initializes the GWE according to the defined Options.
| GweController * GWE::GWorldEngineFactory::initDefault | ( | ) | [slot] |
Initializes the GWE with predefined values, all options are set to default values.
| void GWE::GWorldEngineFactory::initFailed | ( | QString | error_description | ) | [signal] |
In case Initialization fails this signal is emitted. It is made sure that either this signal or initSucceeded() is emitted.
| error_description | contains information about the failure. |
| void GWE::GWorldEngineFactory::initSucceeded | ( | GweController * | controller | ) | [signal] |
In case Initialization succeeds this signal is emitted. It is made sure that either this signal or initFailed() is emitted.
| controller | is a valid pointer to the initialized GWE Controller |
| GXmlDataController * GWE::GWorldEngineFactory::initTestDataController | ( | QString | jid, | |
| QString | pwd | |||
| ) | [slot] |
Initializes a GDataController with testvalues
| void GWE::GWorldEngineFactory::setDeleteControllersInDestructor | ( | bool | delete_in_destructor | ) |
| delete_in_destructor | whether to delete controllers in the destructor. |
bool GWE::GWorldEngineFactory::DeleteControllersInDestructor [protected] |
If set to true, all controllers are deleted in the destructor of the factory. Default is false.
GweFactoryOption* GWE::GWorldEngineFactory::RootOption [protected] |
Before initializing the GWE various options can be set. The factory holds one root options which expands to an options tree.
1.4.7