#include "api.hh"
Public Member Functions | |
String | blurb () const |
virtual ChoiceS | choices () const =0 |
String | descr () const |
virtual double | get_max () const =0 |
virtual double | get_min () const =0 |
virtual double | get_normalized () const =0 |
virtual double | get_step () const =0 |
virtual String | get_text () const =0 |
virtual Value | get_value () const =0 |
String | group () const |
String | hints () const |
virtual String | ident () const =0 |
virtual bool | is_numeric () const =0 |
virtual String | label () const =0 |
virtual String | nick () const =0 |
virtual void | reset ()=0 |
virtual bool | set_normalized (double v)=0 |
virtual bool | set_text (String v)=0 |
virtual bool | set_value (const Value &v)=0 |
virtual String | unit () 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<&Property::metadata_ > | metadata |
Member<&Property::name_ > | name |
Member<&Property::value_ > | value |
Protected Member Functions | |
virtual StringS | get_metadata () const =0 |
Property () | |
virtual | ~Property ()=0 |
![]() | |
virtual | ~VirtualBase () noexcept=0 |
A Property allows querying, setting and monitoring of an object property.
|
explicitprotected |
|
protectedpure virtual |
|
protectedpure virtual |
Implemented in ClapPropertyImpl, AudioPropertyImpl, and ParameterProperty.
|
pure virtual |
Unique name (per owner) of this Property.
Implemented in ClapPropertyImpl, AudioPropertyImpl, and ParameterProperty.
|
pure virtual |
Preferred user interface name.
Implemented in ClapPropertyImpl, AudioPropertyImpl, and ParameterProperty.
|
pure virtual |
Abbreviated user interface name, usually not more than 6 characters.
Implemented in ClapPropertyImpl, AudioPropertyImpl, and ParameterProperty.
|
pure virtual |
Units of the values within range.
Implemented in ClapPropertyImpl, AudioPropertyImpl, and ParameterProperty.
|
pure virtual |
Get the minimum property value, converted to double.
Implemented in ClapPropertyImpl, AudioPropertyImpl, and ParameterProperty.
|
pure virtual |
Get the maximum property value, converted to double.
Implemented in ClapPropertyImpl, AudioPropertyImpl, and ParameterProperty.
|
pure virtual |
Get the property value stepping, converted to double.
Implemented in ClapPropertyImpl, AudioPropertyImpl, and ParameterProperty.
|
pure virtual |
Assign default as normalized property value.
Implemented in ClapPropertyImpl, AudioPropertyImpl, and ParameterProperty.
|
pure virtual |
Get the native property value.
Implemented in ClapPropertyImpl, AudioPropertyImpl, Preference, PropertyImpl, and ParameterProperty.
|
pure virtual |
Set the native property value.
Implemented in Preference, PropertyImpl, ParameterProperty, ClapPropertyImpl, and AudioPropertyImpl.
|
pure virtual |
Get the normalized property value, converted to double.
Implemented in ClapPropertyImpl, AudioPropertyImpl, and ParameterProperty.
|
pure virtual |
Set the normalized property value as double.
Implemented in AudioPropertyImpl, ClapPropertyImpl, and ParameterProperty.
|
pure virtual |
Get the current property value, converted to a text String.
Implemented in ClapPropertyImpl, AudioPropertyImpl, and ParameterProperty.
|
pure virtual |
Set the current property value as a text String.
Implemented in ParameterProperty, ClapPropertyImpl, and AudioPropertyImpl.
|
pure virtual |
Whether the property settings can be represented as a floating point number.
Implemented in ClapPropertyImpl, AudioPropertyImpl, and ParameterProperty.
|
pure virtual |
Enumerate choices for choosable properties.
Implemented in ClapPropertyImpl, AudioPropertyImpl, ParameterProperty, and PropertyImpl.
String hints | ( | ) | const |
Hints for parameter handling (metadata).
String blurb | ( | ) | const |
Short description for user interface tooltips (metadata).
String descr | ( | ) | const |
Elaborate description, e.g. for help dialogs (metadata).
String group | ( | ) | const |
Group name for parameters of similar function (metadata).
Member<&Property::name_> name |
Member<&Property::value_> value |
Member<&Property::metadata_> metadata |