Skip to content

Class Ase::NativeDeviceImpl

ClassList > Ase > NativeDeviceImpl

Inherits the following classes: Ase::DeviceImpl, Ase::NativeDevice

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
AudioProcessorP _audio_processor () override const
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

Public Functions inherited from Ase::NativeDevice

See Ase::NativeDevice

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

Type Name
NativeDeviceImpl (const String & aseid, AudioProcessor::StaticInfo static_info, AudioProcessorP aproc)
void _activate () override
void _deactivate () override
void _set_parent (GadgetImpl * parent) override
void serialize (WritNode & xs) override

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

Protected Static Functions

Type Name
DeviceP create_native_device (AudioEngine & engine, const String & registryuri)

Public Functions Documentation

function _audio_processor

inline AudioProcessorP Ase::NativeDeviceImpl::_audio_processor () override const

function _disconnect_remove

void Ase::NativeDeviceImpl::_disconnect_remove () override

function _set_event_source

void Ase::NativeDeviceImpl::_set_event_source (
    AudioProcessorP esource
) override

function access_properties

PropertyS Ase::NativeDeviceImpl::access_properties () override

function append_device

DeviceP Ase::NativeDeviceImpl::append_device (
    const String & uri
) override

function audio_combo

inline AudioComboP Ase::NativeDeviceImpl::audio_combo () const

function device_info

inline DeviceInfo Ase::NativeDeviceImpl::device_info () override

function insert_device [2/2]

DeviceP Ase::NativeDeviceImpl::insert_device (
    const String & uri,
    Device & beforesibling
) override

function is_combo_device

inline bool Ase::NativeDeviceImpl::is_combo_device () override

function list_devices

inline DeviceS Ase::NativeDeviceImpl::list_devices () override

function remove_all_devices

void Ase::NativeDeviceImpl::remove_all_devices () 

function remove_device

void Ase::NativeDeviceImpl::remove_device (
    Device & sub
) override

Protected Functions Documentation

function NativeDeviceImpl

explicit Ase::NativeDeviceImpl::NativeDeviceImpl (
    const String & aseid,
    AudioProcessor::StaticInfo static_info,
    AudioProcessorP aproc
) 

function _activate

void Ase::NativeDeviceImpl::_activate () override

function _deactivate

void Ase::NativeDeviceImpl::_deactivate () override

function _set_parent

void Ase::NativeDeviceImpl::_set_parent (
    GadgetImpl * parent
) override

function serialize

void Ase::NativeDeviceImpl::serialize (
    WritNode & xs
) override

Protected Static Functions Documentation

function create_native_device

static DeviceP Ase::NativeDeviceImpl::create_native_device (
    AudioEngine & engine,
    const String & registryuri
) 


The documentation for this class was generated from the following file /__w/anklang/anklang/ase/nativedevice.hh