#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 | list_all_notes ()=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 |
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 |
Public Attributes | |
Member<&Clip::all_notes_ > | all_notes |
Member<&Clip::end_tick_ > | end_tick |
![]() | |
Member<&Gadget::name_ > | name |
Protected Member Functions | |
virtual bool | all_notes_ (const ClipNoteS *n, ClipNoteS *q)=0 |
Clip () | |
virtual bool | end_tick_ (const int64 *n, int64 *q)=0 |
![]() | |
Gadget () | |
virtual bool | name_ (const std::string *n, std::string *q)=0 |
![]() | |
virtual | ~Object ()=0 |
![]() | |
virtual | ~VirtualBase () noexcept=0 |
Container for MIDI note and control events.
|
explicitprotected |
|
protectedpure virtual |
Implemented in ClipImpl.
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::all_notes_> all_notes |
Access all notes of this clip, changes on `notify:all_notes`.
Member<&Clip::end_tick_> end_tick |
The end tick is past any event ticks, changes on `notify:end_tick`.