AudioEngineFactory interface.
More...
#include <AudioEngineFactory.hpp>
|
virtual std::string | getEngineTypePrefix ()=0 |
| The prefix of the engine type.
|
virtual std::vector< std::string > | getEngineTypes () |
| Returns the list of engine types that this factory can create.
|
virtual SwitchboardObject * | createEngine (const std::string &type, const std::map< std::string, std::any > &config)=0 |
| Creates an audio engine.
|
◆ createEngine()
virtual SwitchboardObject * switchboard::AudioEngineFactory::createEngine |
( |
const std::string & | type, |
|
|
const std::map< std::string, std::any > & | config ) |
|
pure virtual |
Creates an audio engine.
- Parameters
-
type | The type of the audio engine. |
config | Configuration map. |
- Returns
- The created audio engine.
◆ getEngineTypes()
virtual std::vector< std::string > switchboard::AudioEngineFactory::getEngineTypes |
( |
| ) |
|
|
inlinevirtual |
Returns the list of engine types that this factory can create.
- Returns
- A vector of strings containing the engine types.
The documentation for this class was generated from the following file: