Murl::Output::IFactory Interface Referenceabstract
The Factory to create output classes. More...
#include "murl_output_i_factory.h"
Inherited by Murl::Output::Factory.
Public Member Functions | |
virtual Bool | Init ()=0 |
Initialize the factory. More... | |
virtual Bool | DeInit ()=0 |
Deinitialize the factory. More... | |
virtual IDeviceHandler * | CreateDeviceHandler (IPlatform *platform)=0 |
Create the device handler object. More... | |
virtual Bool | DestroyDeviceHandler (IDeviceHandler *&deviceHandler)=0 |
Destroy the device handler object. More... | |
Protected Member Functions | |
virtual | ~IFactory () |
The destructor. | |
Detailed Description
The Factory to create output classes.
Member Function Documentation
◆ Init()
|
pure virtual |
Initialize the factory.
- Returns
- true if successful.
◆ DeInit()
|
pure virtual |
Deinitialize the factory.
- Returns
- true if successful.
◆ CreateDeviceHandler()
|
pure virtual |
Create the device handler object.
- Parameters
-
platform A pointer to the platform.
- Returns
- The created device handler object, or null if failed.
◆ DestroyDeviceHandler()
|
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.
The documentation for this interface was generated from the following file:
- murl_output_i_factory.h