| 
    Anklang-0.3.0.dev502+ga23511a1 anklang-0.3.0.dev502+ga23511a1
    
   ASE — Anklang Sound Engine (C++) 
   « « « Anklang Documentation  | 
 
A Property allows querying, setting and monitoring of an object property. More...
#include "api.hh"
Public Member Functions | |
| virtual String | get_name () const | 
| virtual void | set_name (const String &n) | 
| virtual StringS | get_metadata () const =0 | 
| virtual void | set_metadata (const StringS &md) | 
| virtual String | ident () const =0 | 
| Unique name (per owner) of this Property.   | |
| 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 String | unit () const =0 | 
| Units of the values within range.   | |
| virtual double | get_min () const =0 | 
| Get the minimum property value, converted to double.   | |
| virtual double | get_max () const =0 | 
| Get the maximum property value, converted to double.   | |
| virtual double | get_step () const =0 | 
| Get the property value stepping, converted to double.   | |
| virtual void | reset ()=0 | 
| Assign default as normalized property value.   | |
| virtual Value | get_value () const =0 | 
| Get the native property value.   | |
| virtual bool | set_value (const Value &v)=0 | 
| Set the native property value.   | |
| virtual double | get_normalized () const =0 | 
| Get the normalized property value, converted to double.   | |
| virtual bool | set_normalized (double v)=0 | 
| Set the normalized property value as double.   | |
| virtual String | get_text () const =0 | 
| Get the current property value, converted to a text String.   | |
| virtual bool | set_text (String v)=0 | 
| Set the current property value as a text String.   | |
| virtual bool | is_numeric () const =0 | 
| Whether the property settings can be represented as a floating point number.   | |
| virtual ChoiceS | choices () const =0 | 
| Enumerate choices for choosable properties.   | |
| 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).   | |
  Public Member Functions inherited from Ase::Emittable | |
| 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) | 
  Public Member Functions inherited from std::enable_shared_from_this< SharedBase > | |
| T | enable_shared_from_this (T... args) | 
| T | operator= (T... args) | 
| T | shared_from_this (T... args) | 
| T | weak_from_this (T... args) | 
| T | ~enable_shared_from_this (T... args) | 
Public Attributes | |
| Member<&Property::get_name,&Property::set_name > | name | 
| Member<&Property::get_value,&Property::set_value > | value | 
| Member<&Property::get_metadata,&Property::set_metadata > | metadata | 
  Public Attributes inherited from Ase::Emittable | |
| const EventHandler & | eventhandler | 
A Property allows querying, setting and monitoring of an object property.
      
  | 
  explicitprotected | 
Definition at line 16 of file properties.cc.
      
  | 
  protectedpure virtual | 
Definition at line 22 of file properties.cc.
| String Ase::Property::blurb | ( | ) | const | 
Short description for user interface tooltips (metadata).
Definition at line 461 of file parameter.cc.
      
  | 
  pure virtual | 
Enumerate choices for choosable properties.
Implemented in Ase::ClapPropertyImpl, Ase::AudioPropertyImpl, Ase::ParameterProperty, and Ase::PropertyImpl.
| String Ase::Property::descr | ( | ) | const | 
Elaborate description, e.g. for help dialogs (metadata).
Definition at line 467 of file parameter.cc.
      
  | 
  pure virtual | 
Get the maximum property value, converted to double.
Implemented in Ase::ClapPropertyImpl, Ase::AudioPropertyImpl, and Ase::ParameterProperty.
      
  | 
  pure virtual | 
Get the minimum property value, converted to double.
Implemented in Ase::ClapPropertyImpl, Ase::AudioPropertyImpl, and Ase::ParameterProperty.
      
  | 
  virtual | 
Definition at line 26 of file properties.cc.
      
  | 
  pure virtual | 
Get the normalized property value, converted to double.
Implemented in Ase::ClapPropertyImpl, Ase::AudioPropertyImpl, and Ase::ParameterProperty.
      
  | 
  pure virtual | 
Get the property value stepping, converted to double.
Implemented in Ase::ClapPropertyImpl, Ase::AudioPropertyImpl, and Ase::ParameterProperty.
      
  | 
  pure virtual | 
Get the current property value, converted to a text String.
Implemented in Ase::ClapPropertyImpl, Ase::AudioPropertyImpl, and Ase::ParameterProperty.
      
  | 
  pure virtual | 
Get the native property value.
Implemented in Ase::ClapPropertyImpl, Ase::AudioPropertyImpl, Ase::Preference, Ase::PropertyImpl, and Ase::ParameterProperty.
| String Ase::Property::group | ( | ) | const | 
Group name for parameters of similar function (metadata).
Definition at line 473 of file parameter.cc.
| String Ase::Property::hints | ( | ) | const | 
Hints for parameter handling (metadata).
Definition at line 455 of file parameter.cc.
      
  | 
  pure virtual | 
Unique name (per owner) of this Property.
Implemented in Ase::ClapPropertyImpl, Ase::AudioPropertyImpl, and Ase::ParameterProperty.
      
  | 
  pure virtual | 
Whether the property settings can be represented as a floating point number.
Implemented in Ase::ClapPropertyImpl, Ase::AudioPropertyImpl, and Ase::ParameterProperty.
      
  | 
  pure virtual | 
Preferred user interface name.
Implemented in Ase::ClapPropertyImpl, Ase::AudioPropertyImpl, and Ase::ParameterProperty.
      
  | 
  pure virtual | 
Abbreviated user interface name, usually not more than 6 characters.
Implemented in Ase::ClapPropertyImpl, Ase::AudioPropertyImpl, and Ase::ParameterProperty.
      
  | 
  pure virtual | 
Assign default as normalized property value.
Implemented in Ase::ClapPropertyImpl, Ase::AudioPropertyImpl, and Ase::ParameterProperty.
      
  | 
  virtual | 
Definition at line 38 of file properties.cc.
      
  | 
  virtual | 
Definition at line 32 of file properties.cc.
Set the normalized property value as double.
Implemented in Ase::AudioPropertyImpl, Ase::ClapPropertyImpl, and Ase::ParameterProperty.
Set the current property value as a text String.
Implemented in Ase::ParameterProperty, Ase::ClapPropertyImpl, and Ase::AudioPropertyImpl.
Set the native property value.
Implemented in Ase::Preference, Ase::PropertyImpl, Ase::ParameterProperty, Ase::ClapPropertyImpl, and Ase::AudioPropertyImpl.
      
  | 
  pure virtual | 
Units of the values within range.
Implemented in Ase::ClapPropertyImpl, Ase::AudioPropertyImpl, and Ase::ParameterProperty.
| Member<&Property::get_metadata,&Property::set_metadata> Ase::Property::metadata | 
| Member<&Property::get_name,&Property::set_name> Ase::Property::name | 
| Member<&Property::get_value,&Property::set_value> Ase::Property::value |