#include "api.hh"
Public Member Functions | |
virtual GadgetImpl * | _parent () const =0 |
ProjectImpl * | _project () const |
virtual void | _set_parent (GadgetImpl *parent)=0 |
virtual PropertyS | access_properties ()=0 |
virtual PropertyP | access_property (String ident) |
virtual Value | get_data (const String &key) const =0 |
Value | get_value (String ident) |
virtual StringS | list_properties () |
virtual bool | set_data (const String &key, const Value &v)=0 |
bool | set_value (String ident, const Value &v) |
virtual String | type_nick () const =0 |
![]() | |
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 Attributes | |
Member<&Gadget::name_ > | name |
Protected Member Functions | |
Gadget () | |
virtual bool | name_ (const std::string *n, std::string *q)=0 |
![]() | |
virtual | ~Object ()=0 |
![]() | |
virtual | ~VirtualBase () noexcept=0 |
|
explicitprotected |
|
protectedpure virtual |
Implemented in GadgetImpl.
|
pure virtual |
Retrieve parent container.
Implemented in GadgetImpl.
|
pure virtual |
Assign parent container.
Implemented in ClapDeviceImpl, DeviceImpl, GadgetImpl, NativeDeviceImpl, and TrackImpl.
ProjectImpl * _project | ( | ) | const |
Find Project in parent ancestry.
|
pure virtual |
Implemented in GadgetImpl.
|
virtual |
List all property identifiers.
|
pure virtual |
Retrieve handles for all properties.
Implemented in ClapDeviceImpl, GadgetImpl, and NativeDeviceImpl.
Assign session data, prefix ephemerals with '_'.
Implemented in GadgetImpl, and ServerImpl.
Retrieve session data.
Implemented in GadgetImpl, and ServerImpl.
Member<&Gadget::name_> name |