Struct Ase::ClapPropertyImpl
ClassList > Ase > ClapPropertyImpl
Inherits the following classes: Ase::Property, Ase::EmittableImpl
Public Attributes
Type | Name |
---|---|
double | default_value = = NAN |
ClapDeviceImplP | device_ |
uint32_t | flags = = 0 |
String | ident_ |
String | label_ |
double | max_value = = NAN |
double | min_value = = NAN |
String | module_ |
clap_id | param_id = = CLAP_INVALID_ID |
Public Attributes inherited from Ase::Property
See Ase::Property
Type | Name |
---|---|
Member<&Property::metadata_ > | metadata |
Member<&Property::name_ > | name |
Member<&Property::value_ > | value |
Public Functions
Type | Name |
---|---|
ClapPropertyImpl (ClapDeviceImplP device, const ClapParamInfo info) |
|
ChoiceS | choices () override const |
double | get_max () override const |
StringS | get_metadata () override const |
double | get_min () override const |
double | get_normalized () override const |
double | get_step () override const |
String | get_text () override const |
Value | get_value () override const |
String | ident () override const |
bool | is_numeric () override const |
bool | is_stepped () const |
String | label () override const |
String | nick () override const |
void | reset () override |
bool | set_normalized (double v) override |
bool | set_text (String vstr) override |
bool | set_value (const Value & val) override |
String | unit () override const |
Public Functions inherited from Ase::Property
See Ase::Property
Type | Name |
---|---|
String | blurb () const Short description for user interface tooltips (metadata). |
virtual ChoiceS | choices () const = 0 Enumerate choices for choosable properties. |
String | descr () const Elaborate description, e.g. for help dialogs (metadata). |
virtual double | get_max () const = 0 Get the maximum property value, converted to double. |
virtual double | get_min () const = 0 Get the minimum property value, converted to double. |
virtual double | get_normalized () const = 0 Get the normalized property value, converted to double. |
virtual double | get_step () const = 0 Get the property value stepping, converted to double. |
virtual String | get_text () const = 0 Get the current property value, converted to a text String. |
virtual Value | get_value () const = 0 Get the native property value. |
String | group () const Group name for parameters of similar function (metadata). |
String | hints () const Hints for parameter handling (metadata). |
virtual String | ident () const = 0 Unique name (per owner) of this Property . |
virtual bool | is_numeric () const = 0 Whether the property settings can be represented as a floating point number. |
virtual String | label () const = 0 Preferred user interface name. |
virtual String | nick () const = 0 Abbreviated user interface name, usually not more than 6 characters. |
virtual void | reset () = 0 Assign default as normalized property value. |
virtual bool | set_normalized (double v) = 0 Set the normalized property value as double. |
virtual bool | set_text (String v) = 0 Set the current property value as a text String. |
virtual bool | set_value (const Value & v) = 0 Set the native property value. |
virtual String | unit () const = 0 Units of the values within range. |
Public Functions inherited from Ase::Emittable
See Ase::Emittable
Type | Name |
---|---|
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 Functions inherited from Ase::EmittableImpl
Type | Name |
---|---|
virtual void | emit_event (const String & type, const String & detail, const ValueR fields={}) override |
virtual void | emit_notify (const String & detail) override Emit notify:detail , multiple notifications maybe coalesced if a CoalesceNotifies instance exists. |
virtual ASE_USE_RESULT Connection | on_event (const String & eventselector, const EventHandler & eventhandler) override |
Public Functions inherited from Ase::Emittable
See Ase::Emittable
Type | Name |
---|---|
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 |
Protected Functions inherited from Ase::Property
See Ase::Property
Type | Name |
---|---|
Property () |
|
virtual StringS | get_metadata () const = 0 |
virtual | ~Property () = 0 |
Protected Functions inherited from Ase::VirtualBase
See Ase::VirtualBase
Type | Name |
---|---|
virtual | ~VirtualBase () noexcept = 0 |
Protected Functions inherited from Ase::EmittableImpl
Type | Name |
---|---|
virtual | ~EmittableImpl () |
Protected Functions inherited from Ase::VirtualBase
See Ase::VirtualBase
Type | Name |
---|---|
virtual | ~VirtualBase () noexcept = 0 |
Public Attributes Documentation
variable default_value
double Ase::ClapPropertyImpl::default_value;
variable device_
ClapDeviceImplP Ase::ClapPropertyImpl::device_;
variable flags
uint32_t Ase::ClapPropertyImpl::flags;
variable ident_
String Ase::ClapPropertyImpl::ident_;
variable label_
String Ase::ClapPropertyImpl::label_;
variable max_value
double Ase::ClapPropertyImpl::max_value;
variable min_value
double Ase::ClapPropertyImpl::min_value;
variable module_
String Ase::ClapPropertyImpl::module_;
variable param_id
clap_id Ase::ClapPropertyImpl::param_id;
Public Functions Documentation
function ClapPropertyImpl
inline Ase::ClapPropertyImpl::ClapPropertyImpl (
ClapDeviceImplP device,
const ClapParamInfo info
)
function choices
inline ChoiceS Ase::ClapPropertyImpl::choices () override const
function get_max
inline double Ase::ClapPropertyImpl::get_max () override const
function get_metadata
inline StringS Ase::ClapPropertyImpl::get_metadata () override const
function get_min
inline double Ase::ClapPropertyImpl::get_min () override const
function get_normalized
inline double Ase::ClapPropertyImpl::get_normalized () override const
function get_step
inline double Ase::ClapPropertyImpl::get_step () override const
function get_text
inline String Ase::ClapPropertyImpl::get_text () override const
function get_value
inline Value Ase::ClapPropertyImpl::get_value () override const
function ident
inline String Ase::ClapPropertyImpl::ident () override const
function is_numeric
inline bool Ase::ClapPropertyImpl::is_numeric () override const
function is_stepped
inline bool Ase::ClapPropertyImpl::is_stepped () const
function label
inline String Ase::ClapPropertyImpl::label () override const
function nick
inline String Ase::ClapPropertyImpl::nick () override const
function reset
inline void Ase::ClapPropertyImpl::reset () override
function set_normalized
inline bool Ase::ClapPropertyImpl::set_normalized (
double v
) override
function set_text
inline bool Ase::ClapPropertyImpl::set_text (
String vstr
) override
function set_value
inline bool Ase::ClapPropertyImpl::set_value (
const Value & val
) override
function unit
inline String Ase::ClapPropertyImpl::unit () override const
The documentation for this class was generated from the following file /__w/anklang/anklang/ase/clapdevice.cc