Murl::Audio::IRendererRegistry Interface Referenceabstract

The IRendererRegistry interface provides methods to add, remove and query different audio renderer objects that can be instantiated using the Audio::IRenderer implementing this interface. More...

#include "murl_audio_i_renderer_registry.h"

Inheritance diagram for Murl::Audio::IRendererRegistry:

Public Member Functions

virtual Bool RegisterObjectClass (const IObject::ClassInfo &classInfo)=0
 Register an object class. More...
 
virtual Bool UnregisterObjectClass (const IObject::ClassInfo &classInfo)=0
 Unregister a previously registered object class. More...
 
virtual SInt32 GetRegisteredObjectClassInfoIndex (const IObject::ClassInfo &classInfo) const =0
 Query the index of a registered object class, by its ClassInfo structure. More...
 
virtual SInt32 GetRegisteredObjectClassInfoIndex (const String &className) const =0
 Query the index of a registered object class, by its class name. More...
 
virtual UInt32 GetNumberOfRegisteredObjectClassInfos () const =0
 Get the total number of registered object classes. More...
 
virtual const IObject::ClassInfo * GetRegisteredObjectClassInfo (UInt32 index) const =0
 Get the ClassInfo structure of a registered object class. More...
 

Detailed Description

The IRendererRegistry interface provides methods to add, remove and query different audio renderer objects that can be instantiated using the Audio::IRenderer implementing this interface.

Member Function Documentation

◆ RegisterObjectClass()

virtual Bool Murl::Audio::IRendererRegistry::RegisterObjectClass ( const IObject::ClassInfo &  classInfo)
pure virtual

Register an object class.

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

◆ UnregisterObjectClass()

virtual Bool Murl::Audio::IRendererRegistry::UnregisterObjectClass ( const IObject::ClassInfo &  classInfo)
pure virtual

Unregister a previously registered object class.

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

◆ GetRegisteredObjectClassInfoIndex() [1/2]

virtual SInt32 Murl::Audio::IRendererRegistry::GetRegisteredObjectClassInfoIndex ( const IObject::ClassInfo &  classInfo) const
pure virtual

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

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

◆ GetRegisteredObjectClassInfoIndex() [2/2]

virtual SInt32 Murl::Audio::IRendererRegistry::GetRegisteredObjectClassInfoIndex ( const String className) const
pure virtual

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

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

◆ GetNumberOfRegisteredObjectClassInfos()

virtual UInt32 Murl::Audio::IRendererRegistry::GetNumberOfRegisteredObjectClassInfos ( ) const
pure virtual

Get the total number of registered object classes.

Returns
The number of registered object classes.

◆ GetRegisteredObjectClassInfo()

virtual const IObject::ClassInfo* Murl::Audio::IRendererRegistry::GetRegisteredObjectClassInfo ( UInt32  index) const
pure virtual

Get the ClassInfo structure of a registered object class.

Parameters
indexThe index to query, from 0 to GetNumberOfRegisteredObjectClassInfos()-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_renderer_registry.h


Copyright © 2011-2018 Spraylight GmbH.