Anklang C++ API 0.0.0
Loading...
Searching...
No Matches
TrackImpl

#include "track.hh"

Inheritance diagram for TrackImpl:
[legend]

Classes

class ClipScout

Public Types

enum { NONE }
enum Cmd { STOP , START }
- Public Types inherited from GadgetImpl
usingMemberAccessF = std::function< bool(GadgetImpl *, const Value *, Value *)>
usingMemberClassT = bool(*)(const SharedBase &)
usingMemberInfosP = const StringS &(*)()

Public Member Functions

void_activate () override
AudioProcessorP_audio_processor () const override
void_deactivate () override
void_set_event_source (AudioProcessorP esource) override
void_set_parent (GadgetImpl *parent) override
DevicePaccess_device () override
ssize_tclip_index (const ClipImpl &clip) const
intclip_succession (const ClipImpl &clip) const
MonitorPcreate_monitor (int32 ochannel) override
DeviceInfodevice_info () override
boolis_master () const override
ClipSlauncher_clips () override
int32midi_channel () const override
voidmidi_channel (int32 midichannel) override
ProjectImpl *project () const
voidqueue_cmd (CallbackS &, Cmd cmd, double arg=0)
voidqueue_cmd (DCallbackS &, Cmd cmd)
TelemetryFieldStelemetry () const override
TrackImpl (ProjectImpl &, bool masterflag)
voidupdate_clips ()
- Public Member Functions inherited from DeviceImpl
void_disconnect_remove () override
boolgui_supported () override
voidgui_toggle () override
boolgui_visible () override
boolis_active () override
DeviceSlist_devices () override
- Public Member Functions inherited from GadgetImpl
GadgetImpl *_parent () const override
template<class O , class M >
void_register_parameter (O *, M *, const Param::ExtraVals &) const
PropertySaccess_properties () override
Valueget_data (const String &key) const override
boolset_data (const String &key, const Value &v) override
Stringtype_nick () const override
- Public Member Functions inherited from EmittableImpl
voidemit_event (const String &type, const String &detail, const ValueR fields={}) override
voidemit_notify (const String &detail) override
ASE_USE_RESULT Connectionon_event (const String &eventselector, const EventHandler &eventhandler) override
- Public Member Functions inherited from Emittable
voidjs_trigger (const String &eventselector, JsTrigger callback)
- Public Member Functions inherited from CustomDataContainer
template<class T >
booldel_custom_data (CustomDataKey< T > *key)
template<class T >
Tget_custom_data (CustomDataKey< T > *key) const
template<class T >
boolhas_custom_data (CustomDataKey< T > *key) const
template<class T >
voidset_custom_data (CustomDataKey< T > *key, T data)
- Public Member Functions inherited from Gadget
ProjectImpl *_project () const
virtual PropertyPaccess_property (String ident)
Valueget_value (String ident)
virtual StringSlist_properties ()
boolset_value (String ident, const Value &v)
- Public Member Functions inherited from Device
Track *_track () const
voidremove_self ()

Protected Member Functions

Stringfallback_name () const override
voidserialize (WritNode &xs) override
- Protected Member Functions inherited from DeviceImpl
DeviceImpl ()
- Protected Member Functions inherited from GadgetImpl
virtual voidcreate_properties ()
uint64_tgadget_flags () const
uint64_tgadget_flags (uint64_t setbits, uint64_t mask=~uint64_t(0))
virtual boolname_ (const std::string *n, std::string *q) override
virtual~GadgetImpl ()
- Protected Member Functions inherited from ObjectImpl
virtual~ObjectImpl ()=0
- Protected Member Functions inherited from EmittableImpl
virtual~EmittableImpl ()
- Protected Member Functions inherited from VirtualBase
virtual~VirtualBase () noexcept=0
- Protected Member Functions inherited from Object
virtual~Object ()=0
- Protected Member Functions inherited from CustomDataContainer
voidcustom_data_destroy ()
~CustomDataContainer ()
- Protected Member Functions inherited from Gadget
Gadget ()
- Protected Member Functions inherited from Device
Device ()

Additional Inherited Members

- Static Public Member Functions inherited from DeviceImpl
static DeviceInfoextract_info (const String &aseid, const AudioProcessor::StaticInfo &static_info)
- Public Attributes inherited from Gadget
Member<&Gadget::name_ >name
- Public Attributes inherited from Device
Member<&Device::devs_ >devs
- Protected Types inherited from GadgetImpl
enum : uint64_t { GADGET_DESTROYED , DEVICE_ACTIVE , MASTER_TRACK }
- Static Protected Member Functions inherited from GadgetImpl
static Stringcanonify_key (const String &input)
- Protected Attributes inherited from GadgetImpl
PropertyImplSprops_

Detailed Description

Ase::Track implementation.

Member Enumeration Documentation

Cmd

enum Cmd
Enumerator
STOP
START

anonymous enum

anonymous enum
Enumerator
NONE

Constructor & Destructor Documentation

TrackImpl()

TrackImpl ( ProjectImpl & project,
bool masterflag
)
explicit

Member Function Documentation

fallback_name()

String fallback_name ( ) const
overrideprotectedvirtual

Reimplemented from GadgetImpl.

serialize()

void serialize ( WritNode & xs)
overrideprotectedvirtual

Serialize members and childern.

Reimplemented from GadgetImpl.

_activate()

void _activate ( )
overridevirtual

Add AudioProcessor to the Engine and start processing.

Reimplemented from DeviceImpl.

_deactivate()

void _deactivate ( )
overridevirtual

Stop processing the corresponding AudioProcessor.

Reimplemented from DeviceImpl.

_audio_processor()

AudioProcessorP _audio_processor ( ) const
overridevirtual

Retrieve the corresponding AudioProcessor.

Implements Device.

_set_event_source()

void _set_event_source ( AudioProcessorP esource)
overridevirtual

Implements Device.

_set_parent()

void _set_parent ( GadgetImpl * parent)
overridevirtual

Assign parent container.

Reimplemented from DeviceImpl.

device_info()

DeviceInfo device_info ( )
overridevirtual

Describe this Device type.

Implements Device.

project()

ProjectImpl * project ( ) const

is_master()

bool is_master ( ) const
overridevirtual

Flag set on the main output track.

Implements Track.

midi_channel() [1/2]

int32 midi_channel ( ) const
overridevirtual

Midi channel assigned to this track, 0 uses internal per-track channel.

Implements Track.

midi_channel() [2/2]

void midi_channel ( int32 midichannel)
overridevirtual

Implements Track.

launcher_clips()

ClipS launcher_clips ( )
overridevirtual

Retrieve the list of clips that can be directly played.

Implements Track.

access_device()

DeviceP access_device ( )
overridevirtual

Retrieve Device handle for this track.

Implements Track.

create_monitor()

MonitorP create_monitor ( int32 ochannel)
overridevirtual

Implements Track.

update_clips()

void update_clips ( )

clip_index()

ssize_t clip_index ( const ClipImpl & clip) const

clip_succession()

int clip_succession ( const ClipImpl & clip) const

telemetry()

TelemetryFieldS telemetry ( ) const
overridevirtual

Create signal monitor for an output channel.

Retrieve track telemetry locations.

Implements Track.

queue_cmd() [1/2]

void queue_cmd ( CallbackS & queue,
Cmd cmd,
double arg = 0
)

queue_cmd() [2/2]

void queue_cmd ( DCallbackS & queue,
Cmd cmd
)