a sequence of Alg_event objects
More...
#include <allegro.h>
a sequence of Alg_event objects
◆ Alg_events()
| Alg_events::Alg_events |
( |
| ) |
|
|
inline |
◆ ~Alg_events()
| Alg_events::~Alg_events |
( |
| ) |
|
|
virtual |
destructor deletes the events array, but not the events themselves
◆ append()
◆ expand()
| void Alg_events::expand |
( |
| ) |
|
|
private |
◆ insert()
◆ length()
| virtual int Alg_events::length |
( |
| ) |
|
|
inlinevirtual |
◆ operator[]()
◆ set_events()
◆ uninsert()
◆ events
events is array of pointers
◆ in_use
initially false, in_use can be used to mark "do not delete". If an Alg_events instance is deleted while "in_use", an assertion will fail.
◆ last_note_off
| double Alg_events::last_note_off |
sometimes, it is nice to have the time of the last note-off. In the current implementation, this field is set by append to indicate the time of the last note-off in the current unit, so it should be correct after creating a new track and adding notes to it. It is not updated after uninsert(), so use it with care.
◆ len
◆ maxlen
The documentation for this class was generated from the following files:
- /home/runner/work/lmms-fork/lmms-fork/plugins/MidiImport/portsmf/include/allegro.h
- /home/runner/work/lmms-fork/lmms-fork/plugins/MidiImport/portsmf/src/allegro.cpp