Csound and CsoundAC API
5.17
|
#include <allegro.h>
Public Member Functions | |
Alg_iterator (Alg_seq_ptr s, bool note_off) | |
void | begin (void *cookie=NULL) |
void | begin_seq (Alg_seq_ptr s, void *cookie=NULL, double offset=0.0) |
void | end () |
long | length () |
Alg_event_ptr | next (bool *note_on=NULL, void **cookie_ptr=NULL, double *offset_ptr=NULL, double end_time=0) |
void | request_note_off () |
~Alg_iterator () |
Data Fields | |
bool | note_off_flag |
Private Member Functions | |
bool | earlier (int i, int j) |
void | expand () |
void | expand_to (int new_max) |
void | insert (Alg_events_ptr events, long index, bool note_on, void *cookie, double offset) |
bool | remove_next (Alg_events_ptr &events, long &index, bool ¬e_on, void *&cookie, double &offset, double &time) |
void | show () |
Private Attributes | |
void * | cookie |
Alg_events_ptr | events_ptr |
long | index |
long | len |
long | maxlen |
double | offset |
Alg_pending_event * | pending_events |
Alg_seq_ptr | seq |
|
inline |
References len, maxlen, note_off_flag, NULL, pending_events, and seq.
Alg_iterator::~Alg_iterator | ( | ) |
|
inline |
References begin_seq(), cookie, and seq.
void Alg_iterator::begin_seq | ( | Alg_seq_ptr | s, |
void * | cookie = NULL , |
||
double | offset = 0.0 |
||
) |
Referenced by begin().
|
private |
void Alg_iterator::end | ( | ) |
|
private |
|
private |
|
private |
|
inline |
References len.
Alg_event_ptr Alg_iterator::next | ( | bool * | note_on = NULL , |
void ** | cookie_ptr = NULL , |
||
double * | offset_ptr = NULL , |
||
double | end_time = 0 |
||
) |
|
private |
void Alg_iterator::request_note_off | ( | ) |
|
private |
|
private |
Referenced by begin().
|
private |
|
private |
|
private |
Referenced by Alg_iterator(), and length().
|
private |
Referenced by Alg_iterator().
bool Alg_iterator::note_off_flag |
Referenced by Alg_iterator().
|
private |
|
private |
Referenced by Alg_iterator().
|
private |
Referenced by Alg_iterator(), and begin().