#include "nativedevice.hh"
Public Member Functions | |
AudioProcessorP | _audio_processor () const override |
void | _disconnect_remove () override |
void | _set_event_source (AudioProcessorP esource) override |
PropertyS | access_properties () override |
DeviceP | append_device (const String &uri) override |
AudioComboP | audio_combo () const |
DeviceInfo | device_info () override |
DeviceP | insert_device (const String &uri, Device &beforesibling) override |
bool | is_combo_device () override |
DeviceS | list_devices () override |
void | remove_all_devices () |
void | remove_device (Device &sub) override |
![]() | |
DeviceS | get_devices () const override |
bool | gui_supported () override |
void | gui_toggle () override |
bool | gui_visible () override |
bool | is_active () override |
void | set_devices (const DeviceS &newdevices) override |
![]() | |
GadgetImpl * | _parent () const override |
template<class O , class M > | |
void | _register_parameter (O *, M *, const Param::ExtraVals &) const |
Value | get_data (const String &key) const override |
String | get_name () const override |
bool | set_data (const String &key, const Value &v) override |
void | set_name (const std::string &n) override |
String | type_nick () const override |
![]() | |
void | emit_event (const String &type, const String &detail, const ValueR fields={}) override |
void | emit_notify (const String &detail) override |
ASE_USE_RESULT Connection | on_event (const String &eventselector, const EventHandler &eventhandler) override |
![]() | |
void | js_trigger (const String &eventselector, JsTrigger callback) |
![]() | |
template<class T > | |
bool | del_custom_data (CustomDataKey< T > *key) |
template<class T > | |
T | get_custom_data (CustomDataKey< T > *key) const |
template<class T > | |
bool | has_custom_data (CustomDataKey< T > *key) const |
template<class T > | |
void | set_custom_data (CustomDataKey< T > *key, T data) |
![]() | |
ProjectImpl * | _project () const |
virtual PropertyP | access_property (String ident) |
Value | get_value (String ident) |
virtual StringS | list_properties () |
bool | set_value (String ident, const Value &v) |
![]() | |
Track * | _track () const |
void | remove_self () |
![]() | |
DeviceInfoS | list_device_types () |
Protected Member Functions | |
void | _activate () override |
void | _deactivate () override |
void | _set_parent (GadgetImpl *parent) override |
NativeDeviceImpl (const String &aseid, AudioProcessor::StaticInfo, AudioProcessorP) | |
void | serialize (WritNode &xs) override |
![]() | |
DeviceImpl () | |
![]() | |
virtual void | create_properties () |
virtual String | fallback_name () const |
uint64_t | gadget_flags () const |
uint64_t | gadget_flags (uint64_t setbits, uint64_t mask=~uint64_t(0)) |
virtual | ~GadgetImpl () |
![]() | |
virtual | ~ObjectImpl ()=0 |
![]() | |
virtual | ~EmittableImpl () |
![]() | |
virtual | ~VirtualBase () noexcept=0 |
![]() | |
virtual | ~Object ()=0 |
![]() | |
void | custom_data_destroy () |
~CustomDataContainer () | |
![]() | |
Gadget () | |
![]() | |
Device () | |
Static Protected Member Functions | |
static DeviceP | create_native_device (AudioEngine &engine, const String ®istryuri) |
![]() | |
static String | canonify_key (const String &input) |
Additional Inherited Members | |
![]() | |
using | MemberAccessF = std::function< bool(GadgetImpl *, const Value *, Value *)> |
using | MemberClassT = bool(*)(const SharedBase &) |
using | MemberInfosP = const StringS &(*)() |
![]() | |
static DeviceInfo | extract_info (const String &aseid, const AudioProcessor::StaticInfo &static_info) |
![]() | |
Member<&Gadget::get_name,&Gadget::set_name > | name |
![]() | |
Member<&Device::get_devices,&Device::set_devices > | devices |
![]() | |
enum | : uint64_t { GADGET_DESTROYED , DEVICE_ACTIVE , MASTER_TRACK } |
![]() | |
PropertyImplS | props_ |
|
explicitprotected |
|
staticprotected |
|
overrideprotectedvirtual |
Serialize members and childern.
Reimplemented from GadgetImpl.
|
overrideprotectedvirtual |
Assign parent container.
Reimplemented from DeviceImpl.
|
overrideprotectedvirtual |
Add AudioProcessor to the Engine and start processing.
Reimplemented from DeviceImpl.
|
overrideprotectedvirtual |
Stop processing the corresponding AudioProcessor.
Reimplemented from DeviceImpl.
|
overridevirtual |
Retrieve handles for all properties.
Reimplemented from GadgetImpl.
|
overridevirtual |
Retrieve the corresponding AudioProcessor.
Implements Device.
AudioComboP audio_combo | ( | ) | const |
|
overridevirtual |
Retrieve wether this NativeDevice handles sub devices.
Implements NativeDevice.
|
overridevirtual |
|
overridevirtual |
Reimplemented from DeviceImpl.
|
overridevirtual |
Remove a directly contained device.
Implements NativeDevice.
|
overridevirtual |
Append a new device, see list_device_types().
Implements NativeDevice.
Insert a new device, before `beforesibling`.
Implements NativeDevice.
void remove_all_devices | ( | ) |
|
overridevirtual |
Implements Device.
|
overridevirtual |
Disconnect the device and remove all object references.
Reimplemented from DeviceImpl.