Murl::Video::IFactoryRegistry Interface Referenceabstract

The IFactoryRegistry interface provides methods to add, remove and query different video renderer classes that can be instantiated using the Video::IFactory implementing this interface. More...

#include "murl_video_i_factory_registry.h"

Inheritance diagram for Murl::Video::IFactoryRegistry:

Public Member Functions

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 IFactoryRegistry interface provides methods to add, remove and query different video renderer classes that can be instantiated using the Video::IFactory implementing this interface.

Member Function Documentation

◆ RegisterRendererClass()

virtual Bool Murl::Video::IFactoryRegistry::RegisterRendererClass ( const IRenderer::ClassInfo &  classInfo)
pure virtual

Register a video renderer class.

Parameters
classInfoThe ClassInfo structure of the renderer to register.
Returns
true if successful.

◆ UnregisterRendererClass()

virtual Bool Murl::Video::IFactoryRegistry::UnregisterRendererClass ( const IRenderer::ClassInfo &  classInfo)
pure virtual

Unregister a previously registered video renderer class.

Parameters
classInfoThe ClassInfo structure of the renderer to unregister.
Returns
true if successful.

◆ GetRegisteredRendererClassInfoIndex() [1/2]

virtual SInt32 Murl::Video::IFactoryRegistry::GetRegisteredRendererClassInfoIndex ( const IRenderer::ClassInfo &  classInfo) const
pure virtual

Query the index of a registered video renderer class, by its ClassInfo structure.

Parameters
classInfoThe class info structure of the renderer class to query.
Returns
The zero-based index, or -1 if not registered.

◆ GetRegisteredRendererClassInfoIndex() [2/2]

virtual SInt32 Murl::Video::IFactoryRegistry::GetRegisteredRendererClassInfoIndex ( const String className) const
pure virtual

Query the index of a registered video renderer class, by its class name.

Parameters
classNameThe name of the renderer class to query.
Returns
The zero-based index, or -1 if not registered.

◆ GetNumberOfRegisteredRendererClassInfos()

virtual UInt32 Murl::Video::IFactoryRegistry::GetNumberOfRegisteredRendererClassInfos ( ) const
pure virtual

Get the total number of registered video renderer classes.

Returns
The number of registered renderer classes.

◆ GetRegisteredRendererClassInfo()

virtual const IRenderer::ClassInfo* Murl::Video::IFactoryRegistry::GetRegisteredRendererClassInfo ( UInt32  index) const
pure virtual

Get the ClassInfo structure of a registered video renderer class.

Parameters
indexThe index to query, from 0 to GetNumberOfRegisteredRendererClassInfos()-1.
Returns
The class info, or null if the index is out of range.

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


Copyright © 2011-2024 Spraylight GmbH.