#include <audio_interface_factory.hpp>
◆ audioInterfacesList()
std::vector< std::string > visr::audiointerfaces::AudioInterfaceFactory::audioInterfacesList |
( |
| ) |
|
|
static |
Returns alist of all the instantiable audio interfaces.
◆ create()
Creates an istance of the specified audio interface. This is done at runtime, following the factory pattern.
- Parameters
-
interfaceName | Identifier to specify the audio interface to instantiate |
baseConfig | Configuration parameters which are common to all audio interfaces |
config | Configuration parameters which are specific for the given audio interface |
Creates an instance of the specified audio interface. This is done at runtime, following the factory pattern.
- Parameters
-
interfaceName | Identifier to specify the audio interface to instantiate |
baseConfig | Configuration parameters which are common to all audio interfaces |
config | Configuration parameters which are specific for the given audio interface |
◆ registerAudioInterfaceType()
template<class ConcreteAudioInterface >
void visr::audiointerfaces::AudioInterfaceFactory::registerAudioInterfaceType |
( |
std::string const & |
interfaceName | ) |
|
|
static |
Registers a new instantiable audio interface in the factory.
The documentation for this class was generated from the following files: