Class Ase::ClapPluginHandle
ClassList > Ase > ClapPluginHandle
Inherits the following classes: Ase::GadgetImpl
Inherited by the following classes: Ase::ClapPluginHandleImpl
Public Types inherited from Ase::GadgetImpl
See Ase::GadgetImpl
Type | Name |
---|---|
typedef std::function< bool(GadgetImpl *, const Value *, Value *)> | MemberAccessF |
typedef bool(*)(const SharedBase &) | MemberClassT |
typedef const StringS &(*)() | MemberInfosP |
Public Attributes
Type | Name |
---|---|
const std::vector< clap_audio_port_info_t > & | audio_iport_infos = = audio_iport_infos_ |
const std::vector< clap_audio_port_info_t > & | audio_oport_infos = = audio_oport_infos_ |
const std::vector< clap_audio_ports_config_t > & | audio_ports_configs = = audio_ports_configs_ |
const ClapPluginDescriptor & | descriptor |
const std::vector< clap_note_port_info_t > & | note_iport_infos = = note_iport_infos_ |
const std::vector< clap_note_port_info_t > & | note_oport_infos = = note_oport_infos_ |
Public Attributes inherited from Ase::Gadget
See Ase::Gadget
Type | Name |
---|---|
Member<&Gadget::name_ > | name |
Public Functions
Type | Name |
---|---|
virtual AudioProcessorP | audio_processor () = 0 |
virtual bool | clap_activate () = 0 |
virtual bool | clap_activated () const = 0 |
virtual void | clap_deactivate () = 0 |
String | clapid () const |
virtual void | destroy () = 0 |
virtual void | destroy_gui () = 0 |
virtual bool | gui_visible () = 0 |
virtual void | hide_gui () = 0 |
virtual void | load_state (WritNode & xs) = 0 |
virtual PropertyP | param_get_property (clap_id param_id) = 0 |
virtual double | param_get_value (clap_id param_id, String * text=nullptr) = 0 |
virtual ClapParamInfoS | param_infos () = 0 |
virtual bool | param_set_property (clap_id param_id, PropertyP prop) = 0 |
virtual bool | param_set_value (clap_id param_id, double v) = 0 |
virtual bool | param_set_value (clap_id param_id, const String & stringvalue) = 0 |
virtual void | params_changed () = 0 |
virtual void | save_state (WritNode & xs, const String & device_path) = 0 |
virtual void | show_gui () = 0 |
virtual bool | supports_gui () = 0 |
Public Functions inherited from Ase::GadgetImpl
See Ase::GadgetImpl
Type | Name |
---|---|
virtual GadgetImpl * | _parent () override const Retrieve parent container. |
void | _register_parameter (O * obj, M * memb, const Param::ExtraVals & ev) const |
virtual void | _set_parent (GadgetImpl * parent) override Assign parent container. |
virtual PropertyS | access_properties () override Retrieve handles for all properties. |
virtual Value | get_data (const String & key) override const Retrieve session data. |
virtual bool | set_data (const String & key, const Value & v) override Assign session data, prefix ephemerals with '_'. |
virtual String | type_nick () override const |
Public Functions inherited from Ase::EmittableImpl
Type | Name |
---|---|
virtual void | emit_event (const String & type, const String & detail, const ValueR fields={}) override |
virtual void | emit_notify (const String & detail) override Emit notify:detail , multiple notifications maybe coalesced if a CoalesceNotifies instance exists. |
virtual ASE_USE_RESULT Connection | on_event (const String & eventselector, const EventHandler & eventhandler) override |
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 |
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 |
Public Functions inherited from Ase::CustomDataContainer
Type | Name |
---|---|
bool | del_custom_data (CustomDataKey< T > * key) Delete the current contents of the custom keyed data member, invokes DataKey::destroy. |
T | get_custom_data (CustomDataKey< T > * key) const Retrieve contents of the custom keyed data member, returns DataKey::fallback if nothing was set. |
bool | has_custom_data (CustomDataKey< T > * key) const Retrieve wether contents of the custom keyed data member exists. |
void | set_custom_data (CustomDataKey< T > * key, T data) Assign data to the custom keyed data member, deletes any previously set data. |
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 |
Public Static Functions
Type | Name |
---|---|
CString | audio_processor_type () |
ClapPluginHandleP | make_clap_handle (const ClapPluginDescriptor & descriptor, AudioProcessorP audio_processor) |
Protected Types inherited from Ase::GadgetImpl
See Ase::GadgetImpl
Type | Name |
---|---|
enum uint64_t | GadgetImpl |
Protected Attributes
Type | Name |
---|---|
std::vector< clap_audio_buffer_t > | audio_inputs_ |
std::vector< clap_audio_port_info_t > | audio_iport_infos_ |
std::vector< clap_audio_port_info_t > | audio_oport_infos_ |
std::vector< clap_audio_buffer_t > | audio_outputs_ |
std::vector< clap_audio_ports_config_t > | audio_ports_configs_ |
std::vector< float * > | data32ptrs_ |
std::vector< clap_note_port_info_t > | note_iport_infos_ |
std::vector< clap_note_port_info_t > | note_oport_infos_ |
Protected Attributes inherited from Ase::GadgetImpl
See Ase::GadgetImpl
Type | Name |
---|---|
PropertyImplS | props_ |
Protected Functions
Type | Name |
---|---|
ClapPluginHandle (const ClapPluginDescriptor & descriptor) |
|
virtual | ~ClapPluginHandle () |
Protected Functions inherited from Ase::GadgetImpl
See Ase::GadgetImpl
Type | Name |
---|---|
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 |
virtual void | serialize (WritNode & xs) override Serialize members and childern. |
virtual | ~GadgetImpl () |
Protected Functions inherited from Ase::ObjectImpl
See Ase::ObjectImpl
Type | Name |
---|---|
virtual | ~ObjectImpl () = 0 |
Protected Functions inherited from Ase::EmittableImpl
Type | Name |
---|---|
virtual | ~EmittableImpl () |
Protected Functions inherited from Ase::VirtualBase
See Ase::VirtualBase
Type | Name |
---|---|
virtual | ~VirtualBase () noexcept = 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 Functions inherited from Ase::CustomDataContainer
Type | Name |
---|---|
void | custom_data_destroy () |
~CustomDataContainer () |
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 Functions inherited from Ase::Serializable
Type | Name |
---|---|
virtual void | serialize (WritNode & xs) = 0 Serialize members and childern. |
Protected Functions inherited from Ase::VirtualBase
See Ase::VirtualBase
Type | Name |
---|---|
virtual | ~VirtualBase () noexcept = 0 |
Protected Static Functions inherited from Ase::GadgetImpl
See Ase::GadgetImpl
Type | Name |
---|---|
String | canonify_key (const String & input) |
Public Attributes Documentation
variable audio_iport_infos
const std::vector<clap_audio_port_info_t>& Ase::ClapPluginHandle::audio_iport_infos;
variable audio_oport_infos
const std::vector<clap_audio_port_info_t>& Ase::ClapPluginHandle::audio_oport_infos;
variable audio_ports_configs
const std::vector<clap_audio_ports_config_t>& Ase::ClapPluginHandle::audio_ports_configs;
variable descriptor
const ClapPluginDescriptor& Ase::ClapPluginHandle::descriptor;
variable note_iport_infos
const std::vector<clap_note_port_info_t>& Ase::ClapPluginHandle::note_iport_infos;
variable note_oport_infos
const std::vector<clap_note_port_info_t>& Ase::ClapPluginHandle::note_oport_infos;
Public Functions Documentation
function audio_processor
virtual AudioProcessorP Ase::ClapPluginHandle::audio_processor () = 0
function clap_activate
virtual bool Ase::ClapPluginHandle::clap_activate () = 0
function clap_activated
virtual bool Ase::ClapPluginHandle::clap_activated () const = 0
function clap_deactivate
virtual void Ase::ClapPluginHandle::clap_deactivate () = 0
function clapid
inline String Ase::ClapPluginHandle::clapid () const
function destroy
virtual void Ase::ClapPluginHandle::destroy () = 0
function destroy_gui
virtual void Ase::ClapPluginHandle::destroy_gui () = 0
function gui_visible
virtual bool Ase::ClapPluginHandle::gui_visible () = 0
function hide_gui
virtual void Ase::ClapPluginHandle::hide_gui () = 0
function load_state
virtual void Ase::ClapPluginHandle::load_state (
WritNode & xs
) = 0
function param_get_property
virtual PropertyP Ase::ClapPluginHandle::param_get_property (
clap_id param_id
) = 0
function param_get_value
virtual double Ase::ClapPluginHandle::param_get_value (
clap_id param_id,
String * text=nullptr
) = 0
function param_infos
virtual ClapParamInfoS Ase::ClapPluginHandle::param_infos () = 0
function param_set_property
virtual bool Ase::ClapPluginHandle::param_set_property (
clap_id param_id,
PropertyP prop
) = 0
function param_set_value [1/2]
virtual bool Ase::ClapPluginHandle::param_set_value (
clap_id param_id,
double v
) = 0
function param_set_value [2/2]
virtual bool Ase::ClapPluginHandle::param_set_value (
clap_id param_id,
const String & stringvalue
) = 0
function params_changed
virtual void Ase::ClapPluginHandle::params_changed () = 0
function save_state
virtual void Ase::ClapPluginHandle::save_state (
WritNode & xs,
const String & device_path
) = 0
function show_gui
virtual void Ase::ClapPluginHandle::show_gui () = 0
function supports_gui
virtual bool Ase::ClapPluginHandle::supports_gui () = 0
Public Static Functions Documentation
function audio_processor_type
static CString Ase::ClapPluginHandle::audio_processor_type ()
function make_clap_handle
static ClapPluginHandleP Ase::ClapPluginHandle::make_clap_handle (
const ClapPluginDescriptor & descriptor,
AudioProcessorP audio_processor
)
Protected Attributes Documentation
variable audio_inputs_
std::vector<clap_audio_buffer_t> Ase::ClapPluginHandle::audio_inputs_;
variable audio_iport_infos_
std::vector<clap_audio_port_info_t> Ase::ClapPluginHandle::audio_iport_infos_;
variable audio_oport_infos_
std::vector<clap_audio_port_info_t> Ase::ClapPluginHandle::audio_oport_infos_;
variable audio_outputs_
std::vector<clap_audio_buffer_t> Ase::ClapPluginHandle::audio_outputs_;
variable audio_ports_configs_
std::vector<clap_audio_ports_config_t> Ase::ClapPluginHandle::audio_ports_configs_;
variable data32ptrs_
std::vector<float*> Ase::ClapPluginHandle::data32ptrs_;
variable note_iport_infos_
std::vector<clap_note_port_info_t> Ase::ClapPluginHandle::note_iport_infos_;
variable note_oport_infos_
std::vector<clap_note_port_info_t> Ase::ClapPluginHandle::note_oport_infos_;
Protected Functions Documentation
function ClapPluginHandle
explicit Ase::ClapPluginHandle::ClapPluginHandle (
const ClapPluginDescriptor & descriptor
)
function ~ClapPluginHandle
virtual Ase::ClapPluginHandle::~ClapPluginHandle ()
Friends Documentation
friend ClapAudioProcessor
class Ase::ClapPluginHandle::ClapAudioProcessor (
ClapAudioProcessor
)
The documentation for this class was generated from the following file /__w/anklang/anklang/ase/clapplugin.hh