Skip to content

Class Ase::ClapPluginHandleImpl

ClassList > Ase > ClapPluginHandleImpl

Inherits the following classes: Ase::ClapPluginHandle

Classes

Type Name
struct FdPoll

Public Attributes

Type Name
std::vector< FdPoll > fd_polls_
bool gui_canresize = = false
bool gui_visible_ = = false
ulong gui_windowid = = 0
ClapParamUpdateS * loader_updates_ = = nullptr
ClapParamInfoMap param_ids_
std::vector< ClapParamInfoImpl > param_infos_
clap_host_t phost = = {
.clap_version = CLAP_VERSION,
.host_data = (ClapPluginHandleImpl*) this,
.name = anklang_host_name(), .vendor = "anklang.testbit.eu",
.url = "https://anklang.testbit.eu/", .version = ase_version(),
.get_extension = [] (const clap_host *host, const char *extension_id) {
const void *ext = host_get_extension_mt (host, extension_id);
CDEBUG ("%s: host_get_extension_mt(\"%s\"): %p", clapid (host), extension_id, ext);
return ext;
},
.request_restart = host_request_restart_mt,
.request_process = host_request_process_mt,
.request_callback = host_request_callback_mt,
}
const clap_plugin_t * plugin_ = = nullptr
bool plugin_activated = = false
const clap_plugin_audio_ports * plugin_audio_ports = = nullptr
const clap_plugin_audio_ports_config * plugin_audio_ports_config = = nullptr
const clap_plugin_file_reference * plugin_file_reference = = nullptr
const clap_plugin_gui * plugin_gui = = nullptr
const clap_plugin_note_ports * plugin_note_ports = = nullptr
const clap_plugin_params * plugin_params = = nullptr
const clap_plugin_posix_fd_support * plugin_posix_fd_support = = nullptr
bool plugin_processing = = false
const clap_plugin_state * plugin_state = = nullptr
const clap_plugin_timer_support * plugin_timer_support = = nullptr
ClapAudioProcessorP proc_
std::vector< uint > timers_

Public Functions

Type Name
ClapPluginHandleImpl (const ClapPluginDescriptor & descriptor_, AudioProcessorP aproc)
AudioProcessorP audio_processor () override
bool clap_activate () override
bool clap_activated () override const
void clap_deactivate () override
String clapid () const
ClapEventParamS * convert_param_updates (const ClapParamUpdateS & updates)
void destroy () override
void destroy_gui () override
bool enqueue_updates (const ClapParamUpdateS & updates)
ClapParamInfoImpl * find_param_info (clap_id clapid)
void flush_event_params (const ClapEventParamS & events, ClapEventUnionS & output_events)
double get_param_value_double (clap_id param_id, const String & text)
String get_param_value_text (clap_id param_id, double value)
void get_port_infos ()
bool gui_visible () override
void hide_gui () override
bool init_plugin ()
void load_state (WritNode & xs) override
PropertyP param_get_property (clap_id param_id) override
double param_get_value (clap_id param_id, String * text) override
ClapParamInfoS param_infos () override
bool param_set_property (clap_id param_id, PropertyP prop) override
bool param_set_value (clap_id param_id, const String & stringvalue) override
bool param_set_value (clap_id param_id, double v) override
void params_changed () override
void resolve_file_references (ClapResourceHashS loader_hashes)
void save_state (WritNode & xs, const String & device_path) override
void scan_params ()
void show_gui () override
bool supports_gui () override
~ClapPluginHandleImpl ()

Public Static Functions

Type Name
String clapid (const clap_host * host)

Public Attributes Documentation

variable fd_polls_

std::vector<FdPoll> Ase::ClapPluginHandleImpl::fd_polls_;

variable gui_canresize

bool Ase::ClapPluginHandleImpl::gui_canresize;

variable gui_visible_

bool Ase::ClapPluginHandleImpl::gui_visible_;

variable gui_windowid

ulong Ase::ClapPluginHandleImpl::gui_windowid;

variable loader_updates_

ClapParamUpdateS* Ase::ClapPluginHandleImpl::loader_updates_;

variable param_ids_

ClapParamInfoMap Ase::ClapPluginHandleImpl::param_ids_;

variable param_infos_

std::vector<ClapParamInfoImpl> Ase::ClapPluginHandleImpl::param_infos_;

variable phost

clap_host_t Ase::ClapPluginHandleImpl::phost;

variable plugin_

const clap_plugin_t* Ase::ClapPluginHandleImpl::plugin_;

variable plugin_activated

bool Ase::ClapPluginHandleImpl::plugin_activated;

variable plugin_audio_ports

const clap_plugin_audio_ports* Ase::ClapPluginHandleImpl::plugin_audio_ports;

variable plugin_audio_ports_config

const clap_plugin_audio_ports_config* Ase::ClapPluginHandleImpl::plugin_audio_ports_config;

variable plugin_file_reference

const clap_plugin_file_reference* Ase::ClapPluginHandleImpl::plugin_file_reference;

variable plugin_gui

const clap_plugin_gui* Ase::ClapPluginHandleImpl::plugin_gui;

variable plugin_note_ports

const clap_plugin_note_ports* Ase::ClapPluginHandleImpl::plugin_note_ports;

variable plugin_params

const clap_plugin_params* Ase::ClapPluginHandleImpl::plugin_params;

variable plugin_posix_fd_support

const clap_plugin_posix_fd_support* Ase::ClapPluginHandleImpl::plugin_posix_fd_support;

variable plugin_processing

bool Ase::ClapPluginHandleImpl::plugin_processing;

variable plugin_state

const clap_plugin_state* Ase::ClapPluginHandleImpl::plugin_state;

variable plugin_timer_support

const clap_plugin_timer_support* Ase::ClapPluginHandleImpl::plugin_timer_support;

variable proc_

ClapAudioProcessorP Ase::ClapPluginHandleImpl::proc_;

variable timers_

std::vector<uint> Ase::ClapPluginHandleImpl::timers_;

Public Functions Documentation

function ClapPluginHandleImpl

inline Ase::ClapPluginHandleImpl::ClapPluginHandleImpl (
    const ClapPluginDescriptor & descriptor_,
    AudioProcessorP aproc
) 

function audio_processor

inline AudioProcessorP Ase::ClapPluginHandleImpl::audio_processor () override

function clap_activate

inline bool Ase::ClapPluginHandleImpl::clap_activate () override

function clap_activated

inline bool Ase::ClapPluginHandleImpl::clap_activated () override const

function clap_deactivate

inline void Ase::ClapPluginHandleImpl::clap_deactivate () override

function clapid [2/2]

inline String Ase::ClapPluginHandleImpl::clapid () const

function convert_param_updates

ClapEventParamS * Ase::ClapPluginHandleImpl::convert_param_updates (
    const ClapParamUpdateS & updates
) 

function destroy

inline void Ase::ClapPluginHandleImpl::destroy () override

function destroy_gui

void Ase::ClapPluginHandleImpl::destroy_gui () override

function enqueue_updates

inline bool Ase::ClapPluginHandleImpl::enqueue_updates (
    const ClapParamUpdateS & updates
) 

function find_param_info

inline ClapParamInfoImpl * Ase::ClapPluginHandleImpl::find_param_info (
    clap_id clapid
) 

function flush_event_params

void Ase::ClapPluginHandleImpl::flush_event_params (
    const ClapEventParamS & events,
    ClapEventUnionS & output_events
) 

function get_param_value_double

double Ase::ClapPluginHandleImpl::get_param_value_double (
    clap_id param_id,
    const String & text
) 

function get_param_value_text

String Ase::ClapPluginHandleImpl::get_param_value_text (
    clap_id param_id,
    double value
) 

function get_port_infos

void Ase::ClapPluginHandleImpl::get_port_infos () 

function gui_visible

bool Ase::ClapPluginHandleImpl::gui_visible () override

function hide_gui

void Ase::ClapPluginHandleImpl::hide_gui () override

function init_plugin

inline bool Ase::ClapPluginHandleImpl::init_plugin () 

function load_state

inline void Ase::ClapPluginHandleImpl::load_state (
    WritNode & xs
) override

function param_get_property

inline PropertyP Ase::ClapPluginHandleImpl::param_get_property (
    clap_id param_id
) override

function param_get_value

inline double Ase::ClapPluginHandleImpl::param_get_value (
    clap_id param_id,
    String * text
) override

function param_infos

inline ClapParamInfoS Ase::ClapPluginHandleImpl::param_infos () override

function param_set_property

inline bool Ase::ClapPluginHandleImpl::param_set_property (
    clap_id param_id,
    PropertyP prop
) override

function param_set_value [1/2]

inline bool Ase::ClapPluginHandleImpl::param_set_value (
    clap_id param_id,
    const String & stringvalue
) override

function param_set_value [2/2]

inline bool Ase::ClapPluginHandleImpl::param_set_value (
    clap_id param_id,
    double v
) override

function params_changed

void Ase::ClapPluginHandleImpl::params_changed () override

function resolve_file_references

void Ase::ClapPluginHandleImpl::resolve_file_references (
    ClapResourceHashS loader_hashes
) 

function save_state

inline void Ase::ClapPluginHandleImpl::save_state (
    WritNode & xs,
    const String & device_path
) override

function scan_params

void Ase::ClapPluginHandleImpl::scan_params () 

function show_gui

void Ase::ClapPluginHandleImpl::show_gui () override

function supports_gui

bool Ase::ClapPluginHandleImpl::supports_gui () override

function ~ClapPluginHandleImpl

inline Ase::ClapPluginHandleImpl::~ClapPluginHandleImpl () 

Public Static Functions Documentation

function clapid [1/2]

static inline String Ase::ClapPluginHandleImpl::clapid (
    const clap_host * host
) 


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