Anklang 0.3.0-460-gc4ef46ba
ASE — Anklang Sound Engine (C++)

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Member Functions | Friends | List of all members
Ase::ClapDeviceImpl Class Reference
Inheritance diagram for Ase::ClapDeviceImpl:
[legend]

Public Member Functions

 ClapDeviceImpl (ClapPluginHandleP claphandle)
 
DeviceInfo device_info () override
 Describe this Device type.
 
PropertyS access_properties () override
 Retrieve handles for all properties.
 
void gui_toggle () override
 Toggle GUI display.
 
bool gui_supported () override
 Has GUI display facilities.
 
bool gui_visible () override
 Is GUI currently visible.
 
AudioProcessorP _audio_processor () const override
 Retrieve the corresponding AudioProcessor.
 
void _set_event_source (AudioProcessorP esource) override
 
void _disconnect_remove () override
 Disconnect the device and remove all object references.
 
String get_device_path ()
 
- Public Member Functions inherited from Ase::DeviceImpl
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 get_name () const override
 
void set_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 >
enable_shared_from_this (T... args)
 
operator= (T... args)
 
shared_from_this (T... args)
 
weak_from_this (T... args)
 
~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 >
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)
 
- Public Member Functions inherited from Ase::Device
Track_track () const
 Find Track in parent ancestry.
 
void remove_self ()
 Remove device from its container.
 

Static Public Member Functions

static DeviceInfoS list_clap_plugins ()
 
static String clap_version ()
 
static DeviceP create_clap_device (AudioEngine &engine, const String &clapuri)
 
static ClapPluginHandleP access_clap_handle (DeviceP device)
 
- Static Public Member Functions inherited from Ase::DeviceImpl
static DeviceInfo extract_info (const String &aseid, const AudioProcessor::StaticInfo &static_info)
 

Protected Member Functions

void serialize (WritNode &xs) override
 Serialize members and childern.
 
void proc_params_change (const Event &event)
 
void _set_parent (GadgetImpl *parent) override
 Assign parent container.
 
void _activate () override
 Add AudioProcessor to the Engine and start processing.
 
- Protected Member Functions inherited from Ase::DeviceImpl
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 ()
 

Friends

struct ClapPropertyImpl
 

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 EventHandlereventhandler
 
- Public Attributes inherited from Ase::Gadget
Member<&Gadget::get_name,&Gadget::set_name > name
 
- Public Attributes inherited from Ase::Device
Member<&Device::get_devices,&Device::set_devicesdevices
 
- 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_
 

Detailed Description

Definition at line 9 of file clapdevice.hh.

Constructor & Destructor Documentation

◆ ~ClapDeviceImpl()

Ase::ClapDeviceImpl::~ClapDeviceImpl ( )
protectedvirtual

Definition at line 118 of file clapdevice.cc.

◆ ClapDeviceImpl()

Ase::ClapDeviceImpl::ClapDeviceImpl ( ClapPluginHandleP  claphandle)
explicit

Definition at line 107 of file clapdevice.cc.

Member Function Documentation

◆ _activate()

void Ase::ClapDeviceImpl::_activate ( )
overrideprotectedvirtual

Add AudioProcessor to the Engine and start processing.

Implements Ase::Device.

Definition at line 207 of file clapdevice.cc.

References Ase::GadgetImpl::_parent().

◆ _audio_processor()

AudioProcessorP Ase::ClapDeviceImpl::_audio_processor ( ) const
overridevirtual

Retrieve the corresponding AudioProcessor.

Implements Ase::Device.

Definition at line 252 of file clapdevice.cc.

◆ _disconnect_remove()

void Ase::ClapDeviceImpl::_disconnect_remove ( )
overridevirtual

Disconnect the device and remove all object references.

Implements Ase::Device.

Definition at line 264 of file clapdevice.cc.

◆ _set_event_source()

void Ase::ClapDeviceImpl::_set_event_source ( AudioProcessorP  esource)
overridevirtual

Implements Ase::Device.

Definition at line 258 of file clapdevice.cc.

◆ _set_parent()

void Ase::ClapDeviceImpl::_set_parent ( GadgetImpl parent)
overrideprotectedvirtual

Assign parent container.

Implements Ase::Gadget.

Definition at line 193 of file clapdevice.cc.

References Ase::DeviceImpl::_set_parent().

◆ access_clap_handle()

ClapPluginHandleP Ase::ClapDeviceImpl::access_clap_handle ( DeviceP  device)
static

Definition at line 277 of file clapdevice.cc.

◆ access_properties()

PropertyS Ase::ClapDeviceImpl::access_properties ( )
overridevirtual

Retrieve handles for all properties.

Implements Ase::Gadget.

Definition at line 165 of file clapdevice.cc.

◆ clap_version()

String Ase::ClapDeviceImpl::clap_version ( )
static

Definition at line 270 of file clapdevice.cc.

◆ create_clap_device()

DeviceP Ase::ClapDeviceImpl::create_clap_device ( AudioEngine engine,
const String clapuri 
)
static

Definition at line 284 of file clapdevice.cc.

◆ device_info()

DeviceInfo Ase::ClapDeviceImpl::device_info ( )
overridevirtual

Describe this Device type.

Implements Ase::Device.

Definition at line 159 of file clapdevice.cc.

◆ get_device_path()

String Ase::ClapDeviceImpl::get_device_path ( )

Definition at line 128 of file clapdevice.cc.

◆ gui_supported()

bool Ase::ClapDeviceImpl::gui_supported ( )
overridevirtual

Has GUI display facilities.

Implements Ase::Device.

Definition at line 223 of file clapdevice.cc.

◆ gui_toggle()

void Ase::ClapDeviceImpl::gui_toggle ( )
overridevirtual

Toggle GUI display.

Implements Ase::Device.

Definition at line 214 of file clapdevice.cc.

◆ gui_visible()

bool Ase::ClapDeviceImpl::gui_visible ( )
overridevirtual

Is GUI currently visible.

Implements Ase::Device.

Definition at line 229 of file clapdevice.cc.

◆ list_clap_plugins()

DeviceInfoS Ase::ClapDeviceImpl::list_clap_plugins ( )
static

Definition at line 235 of file clapdevice.cc.

◆ proc_params_change()

void Ase::ClapDeviceImpl::proc_params_change ( const Event event)
protected

Definition at line 186 of file clapdevice.cc.

◆ serialize()

void Ase::ClapDeviceImpl::serialize ( WritNode xs)
overrideprotectedvirtual

Serialize members and childern.

Implements Ase::Serializable.

Definition at line 148 of file clapdevice.cc.

References Ase::WritNode::in_load(), Ase::WritNode::in_save(), and Ase::Serializable::serialize().

Friends And Related Symbol Documentation

◆ ClapPropertyImpl

friend struct ClapPropertyImpl
friend

Definition at line 34 of file clapdevice.hh.


The documentation for this class was generated from the following files: