#include "api.hh"
Public Member Functions | |
virtual TrackS | all_tracks ()=0 |
virtual bool | can_redo ()=0 |
virtual bool | can_undo ()=0 |
virtual TrackP | create_track ()=0 |
virtual void | discard ()=0 |
virtual void | group_undo (const String &undoname)=0 |
virtual bool | is_playing ()=0 |
virtual Error | load_project (const String &utf8filename)=0 |
virtual TrackP | master_track ()=0 |
virtual String | match_serialized (const String ®ex, int group=0)=0 |
virtual void | redo ()=0 |
virtual bool | remove_track (Track &)=0 |
virtual Error | save_project (const String &utf8filename, bool collect)=0 |
virtual String | saved_filename ()=0 |
virtual void | start_playback ()=0 |
virtual void | stop_playback ()=0 |
virtual TelemetryFieldS | telemetry () const =0 |
virtual void | undo ()=0 |
virtual void | ungroup_undo ()=0 |
![]() | |
virtual void | _activate ()=0 |
virtual AudioProcessorP | _audio_processor () const =0 |
virtual void | _deactivate ()=0 |
virtual void | _disconnect_remove ()=0 |
virtual void | _set_event_source (AudioProcessorP esource)=0 |
Track * | _track () const |
virtual DeviceInfo | device_info ()=0 |
virtual bool | gui_supported ()=0 |
virtual void | gui_toggle ()=0 |
virtual bool | gui_visible ()=0 |
virtual bool | is_active ()=0 |
virtual DeviceS | list_devices ()=0 |
void | remove_self () |
![]() | |
virtual GadgetImpl * | _parent () const =0 |
ProjectImpl * | _project () const |
virtual void | _set_parent (GadgetImpl *parent)=0 |
virtual PropertyS | access_properties ()=0 |
virtual PropertyP | access_property (String ident) |
virtual Value | get_data (const String &key) const =0 |
Value | get_value (String ident) |
virtual StringS | list_properties () |
virtual bool | set_data (const String &key, const Value &v)=0 |
bool | set_value (String ident, const Value &v) |
virtual String | type_nick () const =0 |
![]() | |
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) |
virtual ASE_USE_RESULT Connection | on_event (const String &eventselector, const EventHandler &eventhandler)=0 |
Static Public Member Functions | |
static ProjectP | last_project () |
Public Attributes | |
Member<&Project::bpm_ > | bpm |
Member<&Project::denominator_ > | denominator |
Member<&Project::numerator_ > | numerator |
![]() | |
Member<&Device::devs_ > | devs |
![]() | |
Member<&Gadget::name_ > | name |
Protected Member Functions | |
virtual bool | bpm_ (const double *n, double *q)=0 |
virtual bool | denominator_ (const double *n, double *q)=0 |
virtual bool | numerator_ (const double *n, double *q)=0 |
Project () | |
![]() | |
Device () | |
![]() | |
Gadget () | |
virtual bool | name_ (const std::string *n, std::string *q)=0 |
![]() | |
virtual | ~Object ()=0 |
![]() | |
virtual | ~VirtualBase () noexcept=0 |
Projects support loading, saving, playback and act as containers for all other sound objects.
|
explicitprotected |
|
protectedpure virtual |
Implemented in ProjectImpl.
|
protectedpure virtual |
Implemented in ProjectImpl.
|
protectedpure virtual |
Implemented in ProjectImpl.
|
pure virtual |
Discard project and associated resources.
Implemented in ProjectImpl.
|
pure virtual |
Start playback of a project, requires active sound engine.
Implemented in ProjectImpl.
|
pure virtual |
Stop project playback.
Implemented in ProjectImpl.
|
pure virtual |
Check whether a project is currently playing (song sequencing).
Implemented in ProjectImpl.
|
pure virtual |
Create and append a new Track.
Implemented in ProjectImpl.
|
pure virtual |
Remove a track owned by this Project.
Implemented in ProjectImpl.
|
pure virtual |
List all tracks of the project.
Implemented in ProjectImpl.
|
pure virtual |
Retrieve the master track.
Implemented in ProjectImpl.
Store Project and collect external files.
Implemented in ProjectImpl.
|
pure virtual |
Retrieve UTF-8 filename for save or from load.
Implemented in ProjectImpl.
Load project from file `filename`.
Implemented in ProjectImpl.
|
pure virtual |
Retrieve project telemetry locations.
Implemented in ProjectImpl.
|
pure virtual |
Merge upcoming undo steps.
Implemented in ProjectImpl.
|
pure virtual |
Stop merging undo steps.
Implemented in ProjectImpl.
|
pure virtual |
Undo the last project modification.
Implemented in ProjectImpl.
|
pure virtual |
Check if any undo steps have been recorded.
Implemented in ProjectImpl.
|
pure virtual |
Redo the last undo modification.
Implemented in ProjectImpl.
|
pure virtual |
Check if any redo steps have been recorded.
Implemented in ProjectImpl.
Match `regex` against the serialized project state.
Implemented in ProjectImpl.
|
static |
Member<&Project::bpm_> bpm |
Member<&Project::numerator_> numerator |
Member<&Project::denominator_> denominator |