#include "api.hh"
Public Member Functions | |
virtual void | assign_range (int64 starttick, int64 stoptick)=0 |
virtual int32 | change_batch (const ClipNoteS ¬es, const String &undogroup="")=0 |
virtual ClipNoteS | get_all_notes () const =0 |
virtual int64 | get_end_tick () const =0 |
virtual ClipNoteS | list_all_notes ()=0 |
virtual void | set_all_notes (const ClipNoteS ¬es)=0 |
virtual void | set_end_tick (int64 etick)=0 |
virtual int64 | start_tick () const =0 |
virtual int64 | stop_tick () const =0 |
![]() | |
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 |
virtual String | get_name () const =0 |
Value | get_value (String ident) |
virtual StringS | list_properties () |
virtual bool | set_data (const String &key, const Value &v)=0 |
virtual void | set_name (const std::string &n)=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 |
Public Attributes | |
Member<&Clip::get_all_notes,&Clip::set_all_notes > | all_notes |
Member<&Clip::get_end_tick,&Clip::set_end_tick > | end_tick |
![]() | |
Member<&Gadget::get_name,&Gadget::set_name > | name |
Protected Member Functions | |
Clip () | |
![]() | |
Gadget () | |
![]() | |
virtual | ~Object ()=0 |
![]() | |
virtual | ~VirtualBase () noexcept=0 |
Container for MIDI note and control events.
|
explicitprotected |
|
pure virtual |
Implemented in ClipImpl.
|
pure virtual |
Implemented in ClipImpl.
|
pure virtual |
Get the first tick intended for playback (this is >= 0), changes on `notify:start_tick`.
Implemented in ClipImpl.
|
pure virtual |
Get the tick to stop playback, not events should be played after this, changes on `notify:stop_tick`.
Implemented in ClipImpl.
Change start_tick() and stop_tick(); emits `notify:start_tick`, `notify:stop_tick`.
Implemented in ClipImpl.
Change note `id` according to the arguments or add a new note if `id` < 0; emits `notify:notes`.
Insert, change, delete in a batch.
Implemented in ClipImpl.
|
pure virtual |
Member<&Clip::get_all_notes,&Clip::set_all_notes> all_notes |
Access all notes of this clip, changes on `notify:all_notes`.
Member<&Clip::get_end_tick,&Clip::set_end_tick> end_tick |
The end tick is past any event ticks, changes on `notify:end_tick`.