The factory used to create and destroy video renderers. More...

#include "murl_video_i_factory.h"

Inheritance diagram for Murl::Video::IFactory:

Public Member Functions

virtual Bool Init ()=0
 Initialize the factory. More...
 
virtual Bool DeInit ()=0
 Deinitialize the factory. More...
 
virtual IRendererCreateDefaultRenderer ()=0
 Create a default video renderer. More...
 
virtual IRendererCreateRenderer (const String &className)=0
 Create a video renderer from the set of registered renderers. More...
 
virtual IRendererCreateRenderer (const IRenderer::ClassInfo &classInfo)=0
 Create a video renderer from the set of registered renderers. More...
 
virtual Bool DestroyRenderer (IRenderer *&renderer)=0
 Destroy a previously created video renderer. More...
 
- Public Member Functions inherited from Murl::Video::IFactoryRegistry
virtual Bool RegisterRendererClass (const IRenderer::ClassInfo &classInfo)=0
 Register a video renderer class. More...
 
virtual Bool UnregisterRendererClass (const IRenderer::ClassInfo &classInfo)=0
 Unregister a previously registered video renderer class. More...
 
virtual SInt32 GetRegisteredRendererClassInfoIndex (const IRenderer::ClassInfo &classInfo) const =0
 Query the index of a registered video renderer class, by its ClassInfo structure. More...
 
virtual SInt32 GetRegisteredRendererClassInfoIndex (const String &className) const =0
 Query the index of a registered video renderer class, by its class name. More...
 
virtual UInt32 GetNumberOfRegisteredRendererClassInfos () const =0
 Get the total number of registered video renderer classes. More...
 
virtual const IRenderer::ClassInfo * GetRegisteredRendererClassInfo (UInt32 index) const =0
 Get the ClassInfo structure of a registered video renderer class. More...
 

Detailed Description

The factory used to create and destroy video renderers.

Use the Video::IFactoryRegistry base interface for managing registered renderer classes.

Member Function Documentation

◆ Init()

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

Initialize the factory.

Returns
true if successful.

◆ DeInit()

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

Deinitialize the factory.

Returns
true if successful.

◆ CreateDefaultRenderer()

virtual IRenderer* Murl::Video::IFactory::CreateDefaultRenderer ( )
pure virtual

Create a default video renderer.

Returns
The newly created renderer, or null if failed.

◆ CreateRenderer() [1/2]

virtual IRenderer* Murl::Video::IFactory::CreateRenderer ( const String className)
pure virtual

Create a video renderer from the set of registered renderers.

Parameters
classNameThe class name of the renderer to create.
Returns
The newly created renderer, or null if failed.

◆ CreateRenderer() [2/2]

virtual IRenderer* Murl::Video::IFactory::CreateRenderer ( const IRenderer::ClassInfo &  classInfo)
pure virtual

Create a video renderer from the set of registered renderers.

Parameters
classInfoThe ClassInfo structure of the renderer to create.
Returns
The newly created renderer, or null if failed.

◆ DestroyRenderer()

virtual Bool Murl::Video::IFactory::DestroyRenderer ( IRenderer *&  renderer)
pure virtual

Destroy a previously created video renderer.

Parameters
rendererA reference to a pointer holding the renderer to destroy.
Returns
true if successful.

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


Copyright © 2011-2018 Spraylight GmbH.