#include "device.hh"
Public Member Functions | |
void | _activate () override |
void | _deactivate () override |
void | _disconnect_remove () override |
bool | gui_supported () override |
void | gui_toggle () override |
bool | gui_visible () override |
bool | is_active () override |
DeviceS | list_devices () override |
![]() | |
GadgetImpl * | _parent () const override |
template<class O , class M > | |
void | _register_parameter (O *, M *, const Param::ExtraVals &) const |
void | _set_parent (GadgetImpl *parent) override |
PropertyS | access_properties () override |
Value | get_data (const String &key) const override |
bool | set_data (const String &key, const Value &v) 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) |
![]() | |
virtual AudioProcessorP | _audio_processor () const =0 |
virtual void | _set_event_source (AudioProcessorP esource)=0 |
Track * | _track () const |
virtual DeviceInfo | device_info ()=0 |
void | remove_self () |
Static Public Member Functions | |
static DeviceInfo | extract_info (const String &aseid, const AudioProcessor::StaticInfo &static_info) |
Protected Member Functions | |
void | _set_parent (GadgetImpl *parent) 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 bool | name_ (const std::string *n, std::string *q) override |
void | serialize (WritNode &xs) override |
virtual | ~GadgetImpl () |
![]() | |
virtual | ~ObjectImpl ()=0 |
![]() | |
virtual | ~EmittableImpl () |
![]() | |
virtual | ~VirtualBase () noexcept=0 |
![]() | |
virtual | ~Object ()=0 |
![]() | |
void | custom_data_destroy () |
~CustomDataContainer () | |
![]() | |
Gadget () | |
![]() | |
Device () | |
Additional Inherited Members | |
![]() | |
using | MemberAccessF = std::function< bool(GadgetImpl *, const Value *, Value *)> |
using | MemberClassT = bool(*)(const SharedBase &) |
using | MemberInfosP = const StringS &(*)() |
![]() | |
Member<&Gadget::name_ > | name |
![]() | |
Member<&Device::devs_ > | devs |
![]() | |
enum | : uint64_t { GADGET_DESTROYED , DEVICE_ACTIVE , MASTER_TRACK } |
![]() | |
static String | canonify_key (const String &input) |
![]() | |
PropertyImplS | props_ |
|
explicitprotected |
|
overrideprotectedvirtual |
|
overridevirtual |
Add AudioProcessor to the Engine and start processing.
Implements Device.
Reimplemented in NativeDeviceImpl, ProjectImpl, and TrackImpl.
|
overridevirtual |
Stop processing the corresponding AudioProcessor.
Implements Device.
Reimplemented in NativeDeviceImpl, ProjectImpl, and TrackImpl.
|
overridevirtual |
List devices in order of processing, notified via "devs".
Implements Device.
Reimplemented in NativeDeviceImpl.
|
overridevirtual |
Check whether this is the active synthesis engine project.
Implements Device.
|
overridevirtual |
Has GUI display facilities.
Implements Device.
|
overridevirtual |
Is GUI currently visible.
Implements Device.
|
overridevirtual |
Toggle GUI display.
Implements Device.
|
overridevirtual |
Disconnect the device and remove all object references.
Implements Device.
Reimplemented in NativeDeviceImpl.
|
static |