Anklang 0.3.0-460-gc4ef46ba
ASE — Anklang Sound Engine (C++)
« « « Anklang Documentation |
Public Member Functions | |
DeviceP | get_output () override |
Retrieve output device the Monitor is connected to. | |
int32 | get_ochannel () override |
Retrieve output channel the Monitor is connected to. | |
int64 | get_mix_freq () override |
Mix frequency at which monitor values are calculated. | |
int64 | get_frame_duration () override |
Frame duration in µseconds for the calculation of monitor values. | |
![]() | |
String | get_name () const override |
void | set_name (const std::string &n) override |
void | _set_parent (GadgetImpl *parent) override |
Assign parent container. | |
GadgetImpl * | _parent () const override |
Retrieve parent container. | |
String | type_nick () const override |
PropertyS | access_properties () override |
Retrieve handles for all properties. | |
bool | set_data (const String &key, const Value &v) override |
Assign session data, prefix ephemerals with '_'. | |
Value | get_data (const String &key) const override |
Retrieve session data. | |
template<class O , class M > | |
void | _register_parameter (O *, M *, const Param::ExtraVals &) const |
![]() | |
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. | |
![]() | |
void | js_trigger (const String &eventselector, JsTrigger callback) |
![]() | |
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) |
![]() | |
template<class T > | |
void | set_custom_data (CustomDataKey< T > *key, T data) |
Assign data to the custom keyed data member, deletes any previously set data. | |
template<class T > | |
T | get_custom_data (CustomDataKey< T > *key) const |
Retrieve contents of the custom keyed data member, returns DataKey::fallback if nothing was set. | |
template<class T > | |
bool | has_custom_data (CustomDataKey< T > *key) const |
Retrieve wether contents of the custom keyed data member exists. | |
template<class T > | |
bool | del_custom_data (CustomDataKey< T > *key) |
Delete the current contents of the custom keyed data member, invokes DataKey::destroy. | |
![]() | |
ProjectImpl * | _project () const |
Find Project in parent ancestry. | |
virtual StringS | list_properties () |
List all property identifiers. | |
virtual PropertyP | access_property (String ident) |
Retrieve handle for a Property. | |
Value | get_value (String ident) |
Get native property value. | |
bool | set_value (String ident, const Value &v) |
Friends | |
class | TrackImpl |
Additional Inherited Members | |
![]() | |
using | MemberAccessF = std::function< bool(GadgetImpl *, const Value *, Value *)> |
using | MemberInfosP = const StringS &(*)() |
using | MemberClassT = bool(*)(const SharedBase &) |
![]() | |
const EventHandler & | eventhandler |
![]() | |
Member<&Gadget::get_name,&Gadget::set_name > | name |
![]() | |
enum | : uint64_t { GADGET_DESTROYED , DEVICE_ACTIVE , MASTER_TRACK } |
![]() | |
uint64_t | gadget_flags () const |
uint64_t | gadget_flags (uint64_t setbits, uint64_t mask=~uint64_t(0)) |
virtual String | fallback_name () const |
void | serialize (WritNode &xs) override |
Serialize members and childern. | |
virtual void | create_properties () |
![]() | |
void | custom_data_destroy () |
![]() | |
static String | canonify_key (const String &input) |
![]() | |
PropertyImplS | props_ |
Definition at line 9 of file monitor.hh.
|
explicit |
Definition at line 10 of file monitor.cc.
|
overridevirtual |
Frame duration in µseconds for the calculation of monitor values.
Implements Ase::Monitor.
Definition at line 35 of file monitor.cc.
|
overridevirtual |
Mix frequency at which monitor values are calculated.
Implements Ase::Monitor.
Definition at line 29 of file monitor.cc.
|
overridevirtual |
Retrieve output channel the Monitor is connected to.
Implements Ase::Monitor.
Definition at line 23 of file monitor.cc.
|
overridevirtual |
Retrieve output device the Monitor is connected to.
Implements Ase::Monitor.
Definition at line 17 of file monitor.cc.
|
friend |
Definition at line 11 of file monitor.hh.