|
Anklang-0.3.0.dev797+g4e3241f3 anklang-0.3.0.dev797+g4e3241f3
ASE — Anklang Sound Engine (C++)
« « « Anklang Documentation |
Public Member Functions | |
| void | _activate () override |
| Add AudioProcessor to the Engine and start processing. | |
| void | _deactivate () override |
| Stop processing the corresponding AudioProcessor. | |
| DeviceS | get_devices () const override |
| List devices in order of processing, notified via "devs". | |
| void | set_devices (const DeviceS &newdevices) override |
| Set the list of devices. | |
| bool | is_active () override |
| Check whether this is the active synthesis engine project. | |
| bool | gui_supported () override |
| Has GUI display facilities. | |
| bool | gui_visible () override |
| Is GUI currently visible. | |
| void | gui_toggle () override |
| Toggle GUI display. | |
| void | _disconnect_remove () override |
| Disconnect the device and remove all object references. | |
Public Member Functions inherited from Ase::GadgetImpl | |
| String | name () const override |
| void | name (const std::string &n) override |
| void | _set_parent (GadgetImpl *parent) override |
| Assign parent container. | |
| GadgetImpl * | _parent () const override |
| Retrieve parent container. | |
| String | type_nick () const override |
| PropertyS | access_properties () override |
| Retrieve handles for all properties. | |
| bool | set_data (const String &key, const Value &v) override |
| Assign session data, prefix ephemerals with '_'. | |
| Value | get_data (const String &key) const override |
| Retrieve session data. | |
| template<class O , class M > | |
| void | _register_parameter (O *, M *, const Param::ExtraVals &) const |
Public Member Functions inherited from Ase::EmittableImpl | |
| ASE_USE_RESULT Connection | on_event (const String &eventselector, const EventHandler &eventhandler) override |
| void | emit_event (const String &type, const String &detail, const ValueR fields={}) override |
| void | emit_notify (const String &detail) override |
Emit notify:detail, multiple notifications maybe coalesced if a CoalesceNotifies instance exists. | |
Public Member Functions inherited from Ase::Emittable | |
| void | js_trigger (const String &eventselector, JsTrigger callback) |
Public Member Functions inherited from std::enable_shared_from_this< SharedBase > | |
| T | enable_shared_from_this (T... args) |
| T | operator= (T... args) |
| T | shared_from_this (T... args) |
| T | weak_from_this (T... args) |
| T | ~enable_shared_from_this (T... args) |
Public Member Functions inherited from Ase::CustomDataContainer | |
| template<class T > | |
| void | set_custom_data (CustomDataKey< T > *key, T data) |
| Assign data to the custom keyed data member, deletes any previously set data. | |
| template<class T > | |
| T | get_custom_data (CustomDataKey< T > *key) const |
| Retrieve contents of the custom keyed data member, returns DataKey::fallback if nothing was set. | |
| template<class T > | |
| bool | has_custom_data (CustomDataKey< T > *key) const |
| Retrieve wether contents of the custom keyed data member exists. | |
| template<class T > | |
| bool | del_custom_data (CustomDataKey< T > *key) |
| Delete the current contents of the custom keyed data member, invokes DataKey::destroy. | |
Public Member Functions inherited from Ase::Gadget | |
| ProjectImpl * | _project () const |
| Find Project in parent ancestry. | |
| virtual StringS | list_properties () |
| List all property identifiers. | |
| virtual PropertyP | access_property (String ident) |
| Retrieve handle for a Property. | |
| Value | get_value (String ident) |
| Get native property value. | |
| bool | set_value (String ident, const Value &v) |
| Set native property value. | |
Public Member Functions inherited from Ase::Device | |
| Track * | _track () const |
| Find Track in parent ancestry. | |
| virtual DeviceInfo | device_info ()=0 |
| Describe this Device type. | |
| void | remove_self () |
| Remove device from its container. | |
Static Public Member Functions | |
| static DeviceInfo | extract_info (const String &aseid) |
Protected Member Functions | |
| void | _set_parent (GadgetImpl *parent) override |
| Assign parent container. | |
| virtual DeviceS | list_devices () |
Protected Member Functions inherited from Ase::GadgetImpl | |
| uint64_t | gadget_flags () const |
| uint64_t | gadget_flags (uint64_t setbits, uint64_t mask=~uint64_t(0)) |
| virtual String | fallback_name () const |
| void | serialize (WritNode &xs) override |
| Serialize members and childern. | |
| virtual void | create_properties () |
Protected Member Functions inherited from Ase::CustomDataContainer | |
| void | custom_data_destroy () |
Additional Inherited Members | |
Public Types inherited from Ase::GadgetImpl | |
| using | MemberAccessF = std::function< bool(GadgetImpl *, const Value *, Value *)> |
| using | MemberInfosP = const StringS &(*)() |
| using | MemberClassT = bool(*)(const SharedBase &) |
Public Attributes inherited from Ase::Emittable | |
| const EventHandler & | eventhandler |
Protected Types inherited from Ase::GadgetImpl | |
| enum | : uint64_t { GADGET_DESTROYED , DEVICE_ACTIVE , MASTER_TRACK } |
Static Protected Member Functions inherited from Ase::GadgetImpl | |
| static String | canonify_key (const String &input) |
Protected Attributes inherited from Ase::GadgetImpl | |
| PropertyImplS | props_ |
|
overridevirtual |
Add AudioProcessor to the Engine and start processing.
Implements Ase::Device.
Reimplemented in Ase::ProjectImpl, and Ase::TrackImpl.
Definition at line 20 of file device.cc.
References assert_return.
Referenced by Ase::TrackImpl::_activate().
|
overridevirtual |
Stop processing the corresponding AudioProcessor.
Implements Ase::Device.
Reimplemented in Ase::ProjectImpl, and Ase::TrackImpl.
Definition at line 27 of file device.cc.
References assert_return.
Referenced by Ase::TrackImpl::_deactivate().
|
overridevirtual |
Disconnect the device and remove all object references.
Implements Ase::Device.
|
overrideprotectedvirtual |
Assign parent container.
Implements Ase::Gadget.
Definition at line 13 of file device.cc.
References Ase::GadgetImpl::_set_parent(), assert_warn, and is_active().
|
static |
|
overridevirtual |
List devices in order of processing, notified via "devs".
Implements Ase::Device.
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
Check whether this is the active synthesis engine project.
Implements Ase::Device.
Definition at line 20 of file device.hh.
Referenced by Ase::TrackImpl::_activate(), Ase::TrackImpl::_deactivate(), and _set_parent().
|
protectedvirtual |
|
overridevirtual |
Set the list of devices.
Implements Ase::Device.
Definition at line 19 of file device.hh.
References Ase::EmittableImpl::emit_notify().