![]() |
Murl Engine API
Version 2018.3
|
The factory class used to create and initialize the engine, configuration and device handler instances. More...
#include <murl_factory.h>
The factory class used to create and initialize the engine, configuration and device handler instances.
Public Member Functions | |
Factory () | |
The default constructor. | |
virtual | ~Factory () |
The destructor. | |
Bool | Init (IPlatform *platform) |
Initialize the engine. More... | |
Bool | DeInit () |
Deinitialize the engine. More... | |
IEngine * | CreateEngine () |
Create an engine object. More... | |
Bool | DestroyEngine (IEngine *&engine) |
Destroy an engine object. More... | |
IPlatformConfiguration * | CreatePlatformConfiguration () |
Create and initialize the platform configuration object. More... | |
Bool | DestroyPlatformConfiguration (IPlatformConfiguration *&config) |
Destroy the platform configuration object. More... | |
IDeviceHandler * | CreateDeviceHandler () |
Create a device handler object. More... | |
Bool | DestroyDeviceHandler (IDeviceHandler *&deviceHandler) |
Destroy device handler object. More... | |
Bool Murl::Factory::Init | ( | IPlatform * | platform | ) |
Initialize the engine.
Calls the Murl::Engine::Init() method.
platform | The platform. |
Bool Murl::Factory::DeInit | ( | ) |
IEngine* Murl::Factory::CreateEngine | ( | ) |
Create an engine object.
Destroy an engine object.
engine | A reference to the engine pointer. After destruction the pointer is set to null. |
IPlatformConfiguration* Murl::Factory::CreatePlatformConfiguration | ( | ) |
Create and initialize the platform configuration object.
Create and initialize the internal IAppConfiguration object and the IEngineConfiguration object.
Bool Murl::Factory::DestroyPlatformConfiguration | ( | IPlatformConfiguration *& | config | ) |
Destroy the platform configuration object.
Destroy the internal IAppConfiguration object and the IEngineConfiguration object.
config | A reference to the platform configuration pointer. After destruction the pointer is set to null. |
IDeviceHandler* Murl::Factory::CreateDeviceHandler | ( | ) |
Create a device handler object.
Bool Murl::Factory::DestroyDeviceHandler | ( | IDeviceHandler *& | deviceHandler | ) |
Destroy device handler object.
deviceHandler | A reference to the device handler pointer. After destruction the pointer is set to null. |