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

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Ase::AudioPropertyImpl Class Reference
Inheritance diagram for Ase::AudioPropertyImpl:
[legend]

Public Member Functions

String ident () const override
 Unique name (per owner) of this Property.
 
String label () const override
 Preferred user interface name.
 
String nick () const override
 Abbreviated user interface name, usually not more than 6 characters.
 
String unit () const override
 Units of the values within range.
 
String hints () const
 
String group () const
 
String blurb () const
 
String descr () const
 
double get_min () const override
 Get the minimum property value, converted to double.
 
double get_max () const override
 Get the maximum property value, converted to double.
 
double get_step () const override
 Get the property value stepping, converted to double.
 
 AudioPropertyImpl (DeviceP devp, uint32_t id, ParameterC parameter)
 
void proc_paramchange ()
 
void reset () override
 Assign default as normalized property value.
 
Value get_value () const override
 Get the native property value.
 
bool set_value (const Value &value) override
 Set the native property value.
 
double get_normalized () const override
 Get the normalized property value, converted to double.
 
bool set_normalized (double normalized) override
 Set the normalized property value as double.
 
String get_text () const override
 Get the current property value, converted to a text String.
 
bool set_text (String vstr) override
 Set the current property value as a text String.
 
bool is_numeric () const override
 Whether the property settings can be represented as a floating point number.
 
ChoiceS choices () const override
 Enumerate choices for choosable properties.
 
StringS get_metadata () const override
 
- Public Member Functions inherited from Ase::Property
virtual String get_name () const
 
virtual void set_name (const String &n)
 
virtual void set_metadata (const StringS &md)
 
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
void js_trigger (const String &eventselector, JsTrigger callback)
 
- Public Member Functions inherited from std::enable_shared_from_this< SharedBase >
enable_shared_from_this (T... args)
 
operator= (T... args)
 
shared_from_this (T... args)
 
weak_from_this (T... args)
 
~enable_shared_from_this (T... args)
 
- Public Member Functions inherited from Ase::EmittableImpl
ASE_USE_RESULT Connection on_event (const String &eventselector, const EventHandler &eventhandler) override
 
void emit_event (const String &type, const String &detail, const ValueR fields={}) override
 
void emit_notify (const String &detail) override
 Emit notify:detail, multiple notifications maybe coalesced if a CoalesceNotifies instance exists.
 

Additional Inherited Members

- Public Attributes inherited from Ase::Property
Member<&Property::get_name,&Property::set_name > name
 
Member<&Property::get_value,&Property::set_valuevalue
 
Member<&Property::get_metadata,&Property::set_metadata > metadata
 
- Public Attributes inherited from Ase::Emittable
const EventHandlereventhandler
 

Detailed Description

Definition at line 935 of file processor.cc.

Constructor & Destructor Documentation

◆ AudioPropertyImpl()

Ase::AudioPropertyImpl::AudioPropertyImpl ( DeviceP  devp,
uint32_t  id,
ParameterC  parameter 
)
explicit

Definition at line 954 of file processor.cc.

Member Function Documentation

◆ blurb()

String Ase::AudioPropertyImpl::blurb ( ) const

Definition at line 948 of file processor.cc.

◆ choices()

ChoiceS Ase::AudioPropertyImpl::choices ( ) const
overridevirtual

Enumerate choices for choosable properties.

Implements Ase::Property.

Definition at line 1040 of file processor.cc.

◆ descr()

String Ase::AudioPropertyImpl::descr ( ) const

Definition at line 949 of file processor.cc.

◆ get_max()

double Ase::AudioPropertyImpl::get_max ( ) const
overridevirtual

Get the maximum property value, converted to double.

Implements Ase::Property.

Definition at line 951 of file processor.cc.

References fmax(), and fmin().

◆ get_metadata()

StringS Ase::AudioPropertyImpl::get_metadata ( ) const
overridevirtual

Implements Ase::Property.

Definition at line 1045 of file processor.cc.

◆ get_min()

double Ase::AudioPropertyImpl::get_min ( ) const
overridevirtual

Get the minimum property value, converted to double.

Implements Ase::Property.

Definition at line 950 of file processor.cc.

References fmax(), and fmin().

◆ get_normalized()

double Ase::AudioPropertyImpl::get_normalized ( ) const
overridevirtual

Get the normalized property value, converted to double.

Implements Ase::Property.

Definition at line 1004 of file processor.cc.

◆ get_step()

double Ase::AudioPropertyImpl::get_step ( ) const
overridevirtual

Get the property value stepping, converted to double.

Implements Ase::Property.

Definition at line 952 of file processor.cc.

References fmax(), and fmin().

◆ get_text()

String Ase::AudioPropertyImpl::get_text ( ) const
overridevirtual

Get the current property value, converted to a text String.

Implements Ase::Property.

Definition at line 1020 of file processor.cc.

◆ get_value()

Value Ase::AudioPropertyImpl::get_value ( ) const
overridevirtual

Get the native property value.

Implements Ase::Property.

Definition at line 973 of file processor.cc.

◆ group()

String Ase::AudioPropertyImpl::group ( ) const

Definition at line 947 of file processor.cc.

◆ hints()

String Ase::AudioPropertyImpl::hints ( ) const

Definition at line 946 of file processor.cc.

◆ ident()

String Ase::AudioPropertyImpl::ident ( ) const
overridevirtual

Unique name (per owner) of this Property.

Implements Ase::Property.

Definition at line 942 of file processor.cc.

◆ is_numeric()

bool Ase::AudioPropertyImpl::is_numeric ( ) const
overridevirtual

Whether the property settings can be represented as a floating point number.

Implements Ase::Property.

Definition at line 1034 of file processor.cc.

◆ label()

String Ase::AudioPropertyImpl::label ( ) const
overridevirtual

Preferred user interface name.

Implements Ase::Property.

Definition at line 943 of file processor.cc.

◆ nick()

String Ase::AudioPropertyImpl::nick ( ) const
overridevirtual

Abbreviated user interface name, usually not more than 6 characters.

Implements Ase::Property.

Definition at line 944 of file processor.cc.

◆ proc_paramchange()

void Ase::AudioPropertyImpl::proc_paramchange ( )

Definition at line 958 of file processor.cc.

◆ reset()

void Ase::AudioPropertyImpl::reset ( )
overridevirtual

Assign default as normalized property value.

Implements Ase::Property.

Definition at line 968 of file processor.cc.

◆ set_normalized()

bool Ase::AudioPropertyImpl::set_normalized ( double  v)
overridevirtual

Set the normalized property value as double.

Implements Ase::Property.

Definition at line 1012 of file processor.cc.

References CLAMP, fmax(), and fmin().

◆ set_text()

bool Ase::AudioPropertyImpl::set_text ( String  v)
overridevirtual

Set the current property value as a text String.

Implements Ase::Property.

Definition at line 1027 of file processor.cc.

◆ set_value()

bool Ase::AudioPropertyImpl::set_value ( const Value v)
overridevirtual

Set the native property value.

Implements Ase::Property.

Definition at line 985 of file processor.cc.

References Ase::Value::as_double(), and Ase::Value::as_string().

◆ unit()

String Ase::AudioPropertyImpl::unit ( ) const
overridevirtual

Units of the values within range.

Implements Ase::Property.

Definition at line 945 of file processor.cc.


The documentation for this class was generated from the following file: