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 |
Alg_iterator::Alg_iterator | ( | Alg_seq_ptr | s, |
bool | note_off | ||
) | [inline] |
References len, maxlen, note_off_flag, NULL, pending_events, and seq.
void Alg_iterator::begin | ( | void * | cookie = NULL | ) | [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().
bool Alg_iterator::earlier | ( | int | i, |
int | j | ||
) | [private] |
void Alg_iterator::end | ( | ) |
void Alg_iterator::expand | ( | ) | [private] |
void Alg_iterator::expand_to | ( | int | new_max | ) | [private] |
void Alg_iterator::insert | ( | Alg_events_ptr | events, |
long | index, | ||
bool | note_on, | ||
void * | cookie, | ||
double | offset | ||
) | [private] |
long Alg_iterator::length | ( | ) | [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 |
||
) |
bool Alg_iterator::remove_next | ( | Alg_events_ptr & | events, |
long & | index, | ||
bool & | note_on, | ||
void *& | cookie, | ||
double & | offset, | ||
double & | time | ||
) | [private] |
void Alg_iterator::request_note_off | ( | ) |
void Alg_iterator::show | ( | ) | [private] |
void* Alg_iterator::cookie [private] |
Referenced by begin().
Alg_events_ptr Alg_iterator::events_ptr [private] |
long Alg_iterator::index [private] |
long Alg_iterator::len [private] |
Referenced by Alg_iterator(), and length().
long Alg_iterator::maxlen [private] |
Referenced by Alg_iterator().
Referenced by Alg_iterator().
double Alg_iterator::offset [private] |
Alg_pending_event* Alg_iterator::pending_events [private] |
Referenced by Alg_iterator().
Alg_seq_ptr Alg_iterator::seq [private] |
Referenced by Alg_iterator(), and begin().