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

« « « Anklang Documentation
Loading...
Searching...
No Matches
clapdevice.hh
Go to the documentation of this file.
1 // This Source Code Form is licensed MPL-2.0: http://mozilla.org/MPL/2.0
2#ifndef __ASE_CLAP_DEVICE_HH__
3#define __ASE_CLAP_DEVICE_HH__
4
5#include <ase/device.hh>
6
7namespace Ase {
8
9class ClapDeviceImpl : public DeviceImpl {
11 ClapPluginHandleP handle_;
12 Connection paramschange_;
13protected:
14 virtual ~ClapDeviceImpl ();
15 void serialize (WritNode &xs) override;
16 void proc_params_change (const Event &event);
17 void _set_parent (GadgetImpl *parent) override;
18 void _activate () override;
19public:
20 explicit ClapDeviceImpl (ClapPluginHandleP claphandle);
21 static DeviceInfoS list_clap_plugins ();
22 DeviceInfo device_info () override;
23 PropertyS access_properties () override;
24 void gui_toggle () override;
25 bool gui_supported () override;
26 bool gui_visible () override;
27 AudioProcessorP _audio_processor () const override;
28 void _set_event_source (AudioProcessorP esource) override;
29 void _disconnect_remove () override;
30 String get_device_path ();
31 static String clap_version ();
32 static DeviceP create_clap_device (AudioEngine &engine, const String &clapuri);
33 static ClapPluginHandleP access_clap_handle (DeviceP device);
34 friend struct ClapPropertyImpl;
35};
36
37} // Ase
38
39#endif // __ASE_CLAP_DEVICE_HH__
void _disconnect_remove() override
Disconnect the device and remove all object references.
DeviceInfo device_info() override
Describe this Device type.
PropertyS access_properties() override
Retrieve handles for all properties.
void gui_toggle() override
Toggle GUI display.
void _activate() override
Add AudioProcessor to the Engine and start processing.
bool gui_visible() override
Is GUI currently visible.
AudioProcessorP _audio_processor() const override
Retrieve the corresponding AudioProcessor.
void _set_parent(GadgetImpl *parent) override
Assign parent container.
bool gui_supported() override
Has GUI display facilities.
void serialize(WritNode &xs) override
Serialize members and childern.
Base type for classes that have a Property.
Definition gadget.hh:12
One entry in a Writ serialization document.
Definition serialize.hh:24
#define ASE_DEFINE_MAKE_SHARED(CLASS)
Definition cxxaux.hh:269
The Anklang C++ API namespace.
Definition api.hh:9
Info for device types.
Definition api.hh:203
Structure for callback based notifications.
Definition value.hh:113