The IFactoryRegistry interface provides methods to add, remove and query different audio renderer classes that can be instantiated using the Audio::IFactory implementing this interface.
More...
#include "murl_audio_i_factory_registry.h"
The IFactoryRegistry interface provides methods to add, remove and query different audio renderer classes that can be instantiated using the Audio::IFactory implementing this interface.
◆ RegisterRendererClass()
virtual Bool Murl::Audio::IFactoryRegistry::RegisterRendererClass |
( |
const IRenderer::ClassInfo & |
classInfo | ) |
|
|
pure virtual |
Register a audio renderer class.
- Parameters
-
classInfo | The ClassInfo structure of the renderer to register. |
- Returns
- true if successful.
◆ UnregisterRendererClass()
virtual Bool Murl::Audio::IFactoryRegistry::UnregisterRendererClass |
( |
const IRenderer::ClassInfo & |
classInfo | ) |
|
|
pure virtual |
Unregister a previously registered audio renderer class.
- Parameters
-
classInfo | The ClassInfo structure of the renderer to unregister. |
- Returns
- true if successful.
◆ GetRegisteredRendererClassInfoIndex() [1/2]
virtual SInt32 Murl::Audio::IFactoryRegistry::GetRegisteredRendererClassInfoIndex |
( |
const IRenderer::ClassInfo & |
classInfo | ) |
const |
|
pure virtual |
Query the index of a registered audio 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::Audio::IFactoryRegistry::GetRegisteredRendererClassInfoIndex |
( |
const String & |
className | ) |
const |
|
pure virtual |
Query the index of a registered audio 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::Audio::IFactoryRegistry::GetNumberOfRegisteredRendererClassInfos |
( |
| ) |
const |
|
pure virtual |
Get the total number of registered audio renderer classes.
- Returns
- The number of registered renderer classes.
◆ GetRegisteredRendererClassInfo()
virtual const IRenderer::ClassInfo* Murl::Audio::IFactoryRegistry::GetRegisteredRendererClassInfo |
( |
UInt32 |
index | ) |
const |
|
pure virtual |
Get the ClassInfo structure of a registered audio 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_audio_i_factory_registry.h