The StaticFactory class to create the IFactory object. More...

#include "murl_resource_i_factory.h"

Static Public Member Functions

static IFactoryCreateFactory (const IAppConfiguration *appConfig, const Output::IDeviceHandler *outputDeviceHandler, IFileInterface *fileInterface)
 Create the resource factory object. More...
 
static Bool DestroyFactory (IFactory *&factory)
 Destroy the resource factory object. More...
 

Detailed Description

The StaticFactory class to create the IFactory object.

The StaticFactory is used by the engine's core only.

Member Function Documentation

◆ CreateFactory()

static IFactory* Murl::Resource::StaticFactory::CreateFactory ( const IAppConfiguration appConfig,
const Output::IDeviceHandler outputDeviceHandler,
IFileInterface fileInterface 
)
static

Create the resource factory object.

Parameters
appConfigThe application configuration object.
outputDeviceHandlerThe output device handler.
fileInterfaceThe file interface object.
Returns
The created resource factory object, or null if failed.

◆ DestroyFactory()

static Bool Murl::Resource::StaticFactory::DestroyFactory ( IFactory *&  factory)
static

Destroy the resource factory object.

Parameters
factoryA reference to the resource factory pointer. After destruction the pointer is set to null.
Returns
true if successful.

The documentation for this class was generated from the following file:
  • murl_resource_i_factory.h


Copyright © 2011-2018 Spraylight GmbH.