The IEngineFactory interface.
More...
#include "murl_logic_i_engine_factory.h"
Inherited by Murl::Logic::Factory.
The IEngineFactory interface.
The IEngineFactory object is created and used by the engine's core only. Application implementations are using the IFactory object from IState::GetFactory() which is passed via the IEngineProcessor methods.
◆ Init()
virtual Bool Murl::Logic::IEngineFactory::Init |
( |
| ) |
|
|
pure virtual |
Initialize the factory.
- Returns
- true if successful.
◆ DeInit()
virtual Bool Murl::Logic::IEngineFactory::DeInit |
( |
| ) |
|
|
pure virtual |
Deinitialize the factory.
- Returns
- true if successful.
◆ CreateEngineState()
Create the engine state object.
- Parameters
-
engine | The engine object. |
deviceHandler | The device handler object. |
appConfig | The application configuration object. |
loader | The loader object. |
fileInterface | The file interface object. |
resourceFactory | The resource factory. |
netFactory | The net object factory. |
statistics | The core statistics object. |
- Returns
- The created engine state object, or null if failed.
◆ DestroyEngineState()
virtual Bool Murl::Logic::IEngineFactory::DestroyEngineState |
( |
IEngineState *& |
engineState | ) |
|
|
pure virtual |
Destroy the engine state object.
- Parameters
-
engineState | A reference to the engine state pointer. After destruction the pointer is set to null. |
- Returns
- true if successful.
◆ CreateDeviceHandler()
Create the device handler object.
- Parameters
-
inputDeviceHandler | The input device handler object. |
outputDeviceHandler | The output device handler object. |
- Returns
- The created device handler object, or null if failed.
◆ DestroyDeviceHandler()
virtual Bool Murl::Logic::IEngineFactory::DestroyDeviceHandler |
( |
IDeviceHandler *& |
deviceHandler | ) |
|
|
pure virtual |
Destroy the device handler object.
- Parameters
-
deviceHandler | A reference to the device handler pointer. After destruction the pointer is set to null. |
- Returns
- true if successful.
◆ GetIFactory()
virtual IFactory* Murl::Logic::IEngineFactory::GetIFactory |
( |
| ) |
|
|
pure virtual |
The documentation for this interface was generated from the following file:
- murl_logic_i_engine_factory.h