Murl::Audio::IFactoryRegistry Interface Referenceabstract

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"

Inheritance diagram for Murl::Audio::IFactoryRegistry:

Public Member Functions

virtual Bool RegisterRendererClass (const IRenderer::ClassInfo &classInfo)=0
 Register a audio renderer class. More...
 
virtual Bool UnregisterRendererClass (const IRenderer::ClassInfo &classInfo)=0
 Unregister a previously registered audio renderer class. More...
 
virtual SInt32 GetRegisteredRendererClassInfoIndex (const IRenderer::ClassInfo &classInfo) const =0
 Query the index of a registered audio renderer class, by its ClassInfo structure. More...
 
virtual SInt32 GetRegisteredRendererClassInfoIndex (const String &className) const =0
 Query the index of a registered audio renderer class, by its class name. More...
 
virtual UInt32 GetNumberOfRegisteredRendererClassInfos () const =0
 Get the total number of registered audio renderer classes. More...
 
virtual const IRenderer::ClassInfo * GetRegisteredRendererClassInfo (UInt32 index) const =0
 Get the ClassInfo structure of a registered audio renderer class. More...
 

Detailed Description

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.

Member Function Documentation

◆ RegisterRendererClass()

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

Register a audio renderer class.

Parameters
classInfoThe 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
classInfoThe 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
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::Audio::IFactoryRegistry::GetRegisteredRendererClassInfoIndex ( const String className) const
pure virtual

Query the index of a registered audio 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::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
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_audio_i_factory_registry.h


Copyright © 2011-2024 Spraylight GmbH.