The Factory to create input classes. More...

#include "murl_input_i_factory.h"

Inherited by Murl::Input::Factory.

Public Member Functions

virtual Bool Init ()=0
 Initialize the factory. More...
 
virtual Bool DeInit ()=0
 Deinitialize the factory. More...
 
virtual IDeviceHandlerCreateDeviceHandler (IPlatform *platform)=0
 Create the device handler object. More...
 
virtual Bool DestroyDeviceHandler (IDeviceHandler *&deviceHandler)=0
 Destroy the device handler object. More...
 
virtual ITouchableHandlerCreateTouchableHandler (IPlatform *platform)=0
 Create the touchable handler object. More...
 
virtual Bool DestroyTouchableHandler (ITouchableHandler *&touchableHandler)=0
 Destroy the touchable handler object. More...
 

Protected Member Functions

virtual ~IFactory ()
 The destructor.
 

Detailed Description

The Factory to create input classes.

Member Function Documentation

◆ Init()

virtual Bool Murl::Input::IFactory::Init ( )
pure virtual

Initialize the factory.

Returns
true if successful.

◆ DeInit()

virtual Bool Murl::Input::IFactory::DeInit ( )
pure virtual

Deinitialize the factory.

Returns
true if successful.

◆ CreateDeviceHandler()

virtual IDeviceHandler* Murl::Input::IFactory::CreateDeviceHandler ( IPlatform *  platform)
pure virtual

Create the device handler object.

Parameters
platformA pointer to the platform.
Returns
The created device handler object, or null if failed.

◆ DestroyDeviceHandler()

virtual Bool Murl::Input::IFactory::DestroyDeviceHandler ( IDeviceHandler *&  deviceHandler)
pure virtual

Destroy the device handler object.

Parameters
deviceHandlerA reference to the device handler pointer. After destruction the pointer is set to null.
Returns
true if successful.

◆ CreateTouchableHandler()

virtual ITouchableHandler* Murl::Input::IFactory::CreateTouchableHandler ( IPlatform *  platform)
pure virtual

Create the touchable handler object.

Parameters
platformA pointer to the platform.
Returns
The created touchable handler object, or null if failed.

◆ DestroyTouchableHandler()

virtual Bool Murl::Input::IFactory::DestroyTouchableHandler ( ITouchableHandler *&  touchableHandler)
pure virtual

Destroy the touchable handler object.

Parameters
touchableHandlerA reference to the touchable handler pointer. After destruction the pointer is set to null.
Returns
true if successful.

The documentation for this interface was generated from the following file:
  • murl_input_i_factory.h


Copyright © 2011-2024 Spraylight GmbH.