Class Ase::NativeDevice
ClassList > Ase > NativeDevice
Interface to access NativeDevice instances.
#include <api.hh>
Inherits the following classes: Ase::Device
Inherited by the following classes: Ase::NativeDeviceImpl
Public Attributes inherited from Ase::Device
See Ase::Device
Type | Name |
---|---|
Member<&Device::devs_ > | devs |
Public Attributes inherited from Ase::Gadget
See Ase::Gadget
Type | Name |
---|---|
Member<&Gadget::name_ > | name |
Public Functions
Type | Name |
---|---|
virtual DeviceP | append_device (const String & uri) = 0 Append a new device, see list_device_types() . |
virtual DeviceP | insert_device (const String & uri, Device & beforesibling) = 0 Insert a new device, before beforesibling . |
virtual bool | is_combo_device () = 0 Retrieve wether this NativeDevice handles sub devices. |
DeviceInfoS | list_device_types () List registered Device types with their unique uri. |
virtual void | remove_device (Device & sub) = 0 Remove a directly contained device. |
Public Functions inherited from Ase::Device
See Ase::Device
Type | Name |
---|---|
virtual void | _activate () = 0 Add AudioProcessor to the Engine and start processing. |
virtual AudioProcessorP | _audio_processor () const = 0 Retrieve the corresponding AudioProcessor . |
virtual void | _deactivate () = 0 Stop processing the corresponding AudioProcessor . |
virtual void | _disconnect_remove () = 0 Disconnect the device and remove all object references. |
virtual void | _set_event_source (AudioProcessorP esource) = 0 |
Track * | _track () const Find Track in parent ancestry. |
virtual DeviceInfo | device_info () = 0 Describe this Device type. |
virtual bool | gui_supported () = 0 Has GUI display facilities. |
virtual void | gui_toggle () = 0 Toggle GUI display. |
virtual bool | gui_visible () = 0 Is GUI currently visible. |
virtual bool | is_active () = 0 Check whether this is the active synthesis engine project. |
virtual DeviceS | list_devices () = 0 List devices in order of processing, notified via "devs". |
void | remove_self () Remove device from its container. |
Public Functions inherited from Ase::Gadget
See Ase::Gadget
Type | Name |
---|---|
virtual GadgetImpl * | _parent () const = 0 Retrieve parent container. |
ProjectImpl * | _project () const Find Project in parent ancestry. |
virtual void | _set_parent (GadgetImpl * parent) = 0 Assign parent container. |
virtual PropertyS | access_properties () = 0 Retrieve handles for all properties. |
virtual PropertyP | access_property (String ident) Retrieve handle for a Property . |
virtual Value | get_data (const String & key) const = 0 Retrieve session data. |
Value | get_value (String ident) Get native property value. |
virtual StringS | list_properties () List all property identifiers. |
virtual bool | set_data (const String & key, const Value & v) = 0 Assign session data, prefix ephemerals with '_'. |
bool | set_value (String ident, const Value & v) |
virtual String | type_nick () const = 0 |
Public Functions inherited from Ase::Emittable
See Ase::Emittable
Type | Name |
---|---|
virtual void | emit_event (const String & type, const String & detail, const ValueR fields={}) = 0 |
virtual void | emit_notify (const String & detail) = 0 |
void | js_trigger (const String & eventselector, JsTrigger callback) |
virtual ASE_USE_RESULT Connection | on_event (const String & eventselector, const EventHandler & eventhandler) = 0 |
Protected Functions inherited from Ase::Device
See Ase::Device
Type | Name |
---|---|
Device () |
Protected Functions inherited from Ase::Gadget
See Ase::Gadget
Type | Name |
---|---|
Gadget () |
|
virtual bool | name_ (const std::string * n, std::string * q) = 0 |
Protected Functions inherited from Ase::Object
See Ase::Object
Type | Name |
---|---|
virtual | ~Object () = 0 |
Protected Functions inherited from Ase::VirtualBase
See Ase::VirtualBase
Type | Name |
---|---|
virtual | ~VirtualBase () noexcept = 0 |
Public Functions Documentation
function append_device
virtual DeviceP Ase::NativeDevice::append_device (
const String & uri
) = 0
function insert_device
virtual DeviceP Ase::NativeDevice::insert_device (
const String & uri,
Device & beforesibling
) = 0
function is_combo_device
virtual bool Ase::NativeDevice::is_combo_device () = 0
function list_device_types
DeviceInfoS Ase::NativeDevice::list_device_types ()
function remove_device
virtual void Ase::NativeDevice::remove_device (
Device & sub
) = 0
The documentation for this class was generated from the following file /__w/anklang/anklang/ase/api.hh