#include "clapplugin.hh"
Public Member Functions | |
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, const String &stringvalue)=0 |
virtual bool | param_set_value (clap_id param_id, double v)=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 |
![]() | |
GadgetImpl * | _parent () const override |
template<class O , class M > | |
void | _register_parameter (O *, M *, const Param::ExtraVals &) const |
void | _set_parent (GadgetImpl *parent) override |
PropertyS | access_properties () override |
Value | get_data (const String &key) const override |
bool | set_data (const String &key, const Value &v) override |
String | type_nick () const override |
![]() | |
void | emit_event (const String &type, const String &detail, const ValueR fields={}) override |
void | emit_notify (const String &detail) override |
ASE_USE_RESULT Connection | on_event (const String &eventselector, const EventHandler &eventhandler) override |
![]() | |
void | js_trigger (const String &eventselector, JsTrigger callback) |
![]() | |
template<class T > | |
bool | del_custom_data (CustomDataKey< T > *key) |
template<class T > | |
T | get_custom_data (CustomDataKey< T > *key) const |
template<class T > | |
bool | has_custom_data (CustomDataKey< T > *key) const |
template<class T > | |
void | set_custom_data (CustomDataKey< T > *key, T data) |
![]() | |
ProjectImpl * | _project () const |
virtual PropertyP | access_property (String ident) |
Value | get_value (String ident) |
virtual StringS | list_properties () |
bool | set_value (String ident, const Value &v) |
Static Public Member Functions | |
static CString | audio_processor_type () |
static ClapPluginHandleP | make_clap_handle (const ClapPluginDescriptor &descriptor, AudioProcessorP audio_processor) |
Public Attributes | |
const std::vector< clap_audio_port_info_t > & | audio_iport_infos |
const std::vector< clap_audio_port_info_t > & | audio_oport_infos |
const std::vector< clap_audio_ports_config_t > & | audio_ports_configs |
const ClapPluginDescriptor & | descriptor |
const std::vector< clap_note_port_info_t > & | note_iport_infos |
const std::vector< clap_note_port_info_t > & | note_oport_infos |
![]() | |
Member<&Gadget::name_ > | name |
Protected Member Functions | |
ClapPluginHandle (const ClapPluginDescriptor &descriptor) | |
virtual | ~ClapPluginHandle () |
![]() | |
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 |
void | serialize (WritNode &xs) override |
virtual | ~GadgetImpl () |
![]() | |
virtual | ~ObjectImpl ()=0 |
![]() | |
virtual | ~EmittableImpl () |
![]() | |
virtual | ~VirtualBase () noexcept=0 |
![]() | |
virtual | ~Object ()=0 |
![]() | |
void | custom_data_destroy () |
~CustomDataContainer () | |
![]() | |
Gadget () | |
Protected Attributes | |
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_ |
![]() | |
PropertyImplS | props_ |
Additional Inherited Members | |
![]() | |
using | MemberAccessF = std::function< bool(GadgetImpl *, const Value *, Value *)> |
using | MemberClassT = bool(*)(const SharedBase &) |
using | MemberInfosP = const StringS &(*)() |
![]() | |
enum | : uint64_t { GADGET_DESTROYED , DEVICE_ACTIVE , MASTER_TRACK } |
![]() | |
static String | canonify_key (const String &input) |
|
explicitprotected |
|
protectedvirtual |
String clapid | ( | ) | const |
|
pure virtual |
Implemented in ClapPluginHandleImpl.
Implemented in ClapPluginHandleImpl.
|
pure virtual |
Implemented in ClapPluginHandleImpl.
|
pure virtual |
Implemented in ClapPluginHandleImpl.
|
pure virtual |
Implemented in ClapPluginHandleImpl.
|
pure virtual |
Implemented in ClapPluginHandleImpl.
|
pure virtual |
Implemented in ClapPluginHandleImpl.
|
pure virtual |
Implemented in ClapPluginHandleImpl.
|
pure virtual |
Implemented in ClapPluginHandleImpl.
|
pure virtual |
Implemented in ClapPluginHandleImpl.
|
pure virtual |
Implemented in ClapPluginHandleImpl.
|
pure virtual |
Implemented in ClapPluginHandleImpl.
|
pure virtual |
Implemented in ClapPluginHandleImpl.
|
pure virtual |
Implemented in ClapPluginHandleImpl.
|
pure virtual |
Implemented in ClapPluginHandleImpl.
|
pure virtual |
Implemented in ClapPluginHandleImpl.
|
pure virtual |
Implemented in ClapPluginHandleImpl.
|
pure virtual |
Implemented in ClapPluginHandleImpl.
|
pure virtual |
Implemented in ClapPluginHandleImpl.
|
static |
|
static |
const ClapPluginDescriptor& descriptor |
const std::vector<clap_audio_ports_config_t>& audio_ports_configs |
const std::vector<clap_audio_port_info_t>& audio_iport_infos |
const std::vector<clap_audio_port_info_t>& audio_oport_infos |
const std::vector<clap_note_port_info_t>& note_iport_infos |
const std::vector<clap_note_port_info_t>& note_oport_infos |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |