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"
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.
◆ RegisterRendererClass()
virtual Bool Murl::Video::IFactoryRegistry::RegisterRendererClass |
( |
const IRenderer::ClassInfo & |
classInfo | ) |
|
|
pure virtual |
Register a video renderer class.
- Parameters
-
classInfo | The 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
-
classInfo | The 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
-
classInfo | The 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
-
className | The 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
-
- 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