Csound and CsoundAC API  5.17
Public Member Functions | Data Fields | Protected Attributes | Private Member Functions | Private Attributes
Alg_events Class Reference

#include <allegro.h>

+ Inheritance diagram for Alg_events:

Public Member Functions

 Alg_events ()
void append (Alg_event_ptr event)
void insert (Alg_event_ptr event)
virtual int length ()
Alg_event_ptroperator[] (int i)
void set_events (Alg_event_ptr *e, long l, long m)
Alg_event_ptr uninsert (long index)
virtual ~Alg_events ()

Data Fields

bool in_use
double last_note_off

Protected Attributes

Alg_event_ptrevents
long len

Private Member Functions

void expand ()

Private Attributes

long maxlen

Constructor & Destructor Documentation

Alg_events::Alg_events ( )
inline

References events, in_use, last_note_off, len, maxlen, and NULL.

virtual Alg_events::~Alg_events ( )
virtual

Member Function Documentation

void Alg_events::append ( Alg_event_ptr  event)
void Alg_events::expand ( )
private
void Alg_events::insert ( Alg_event_ptr  event)

Referenced by Alg_track::add().

virtual int Alg_events::length ( )
inlinevirtual

References len.

Alg_event_ptr& Alg_events::operator[] ( int  i)
inline

Reimplemented in Alg_seq, Alg_track, and Alg_event_list.

References events, and len.

void Alg_events::set_events ( Alg_event_ptr e,
long  l,
long  m 
)
inline

References events, len, and maxlen.

Alg_event_ptr Alg_events::uninsert ( long  index)

Field Documentation

Alg_event_ptr* Alg_events::events
protected
bool Alg_events::in_use
double Alg_events::last_note_off

Referenced by Alg_events().

long Alg_events::len
protected
long Alg_events::maxlen
private

Referenced by Alg_events(), and set_events().