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

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

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.
 
- Public Member Functions inherited from Ase::GadgetImpl
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
 
- 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.
 
- 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::CustomDataContainer
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 >
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.
 
- Public Member Functions inherited from Ase::Gadget
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

- Public Types inherited from Ase::GadgetImpl
using MemberAccessF = std::function< bool(GadgetImpl *, const Value *, Value *)>
 
using MemberInfosP = const StringS &(*)()
 
using MemberClassT = bool(*)(const SharedBase &)
 
- Public Attributes inherited from Ase::Emittable
const EventHandlereventhandler
 
- Public Attributes inherited from Ase::Gadget
Member<&Gadget::get_name,&Gadget::set_name > name
 
- Protected Types inherited from Ase::GadgetImpl
enum  : uint64_t { GADGET_DESTROYED , DEVICE_ACTIVE , MASTER_TRACK }
 
- Protected Member Functions inherited from Ase::GadgetImpl
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 ()
 
- Protected Member Functions inherited from Ase::CustomDataContainer
void custom_data_destroy ()
 
- Static Protected Member Functions inherited from Ase::GadgetImpl
static String canonify_key (const String &input)
 
- Protected Attributes inherited from Ase::GadgetImpl
PropertyImplS props_
 

Detailed Description

Definition at line 9 of file monitor.hh.

Constructor & Destructor Documentation

◆ MonitorImpl()

Ase::MonitorImpl::MonitorImpl ( )
explicit

Definition at line 10 of file monitor.cc.

Member Function Documentation

◆ get_frame_duration()

int64 Ase::MonitorImpl::get_frame_duration ( )
overridevirtual

Frame duration in µseconds for the calculation of monitor values.

Implements Ase::Monitor.

Definition at line 35 of file monitor.cc.

◆ get_mix_freq()

int64 Ase::MonitorImpl::get_mix_freq ( )
overridevirtual

Mix frequency at which monitor values are calculated.

Implements Ase::Monitor.

Definition at line 29 of file monitor.cc.

◆ get_ochannel()

int32 Ase::MonitorImpl::get_ochannel ( )
overridevirtual

Retrieve output channel the Monitor is connected to.

Implements Ase::Monitor.

Definition at line 23 of file monitor.cc.

◆ get_output()

DeviceP Ase::MonitorImpl::get_output ( )
overridevirtual

Retrieve output device the Monitor is connected to.

Implements Ase::Monitor.

Definition at line 17 of file monitor.cc.

Friends And Related Symbol Documentation

◆ TrackImpl

friend class TrackImpl
friend

Definition at line 11 of file monitor.hh.


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