Switchboard SDK
Loading...
Searching...
No Matches
switchboard::AudioEngineFactory Class Referenceabstract

AudioEngineFactory interface. More...

#include <AudioEngineFactory.hpp>

Inheritance diagram for switchboard::AudioEngineFactory:
switchboard::SwitchboardAudioEngineFactory

Public Member Functions

virtual std::string getEngineTypePrefix ()=0
 The prefix of the engine type.
 
virtual SwitchboardObject * createEngine (const std::string &type, const std::map< std::string, std::any > &config)=0
 Creates an audio engine.
 

Detailed Description

AudioEngineFactory interface.

Member Function Documentation

◆ 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
typeThe type of the audio engine.
configConfiguration map.
Returns
The created audio engine.

Implemented in switchboard::SwitchboardAudioEngineFactory.

◆ getEngineTypePrefix()

virtual std::string switchboard::AudioEngineFactory::getEngineTypePrefix ( )
pure virtual

The prefix of the engine type.

Implemented in switchboard::SwitchboardAudioEngineFactory.