Csound and CsoundAC API
5.17
|
#include <allegro.h>
Public Member Functions | |
Alg_event () | |
void | delete_attribute (const char *attr) |
const char * | get_atom_value (const char *attr, const char *value=NULL) |
const char * | get_atom_value () |
const char * | get_attribute () |
char | get_attribute_type (const char *attr) |
double | get_duration () |
double | get_end_time () |
long | get_identifier () |
long | get_integer_value (const char *attr, long value=0) |
long | get_integer_value () |
bool | get_logical_value (const char *attr, bool value=false) |
bool | get_logical_value () |
float | get_loud () |
float | get_pitch () |
double | get_real_value (const char *attr, double value=0.0) |
double | get_real_value () |
bool | get_selected () |
double | get_start_time () |
const char * | get_string_value (const char *attr, const char *value=NULL) |
const char * | get_string_value () |
char | get_type () |
int | get_type_code () |
char | get_update_type () |
const char * | GetDescription () |
bool | has_attribute (const char *attr) |
bool | is_note () |
bool | is_update () |
bool | overlap (double t, double len, bool all) |
void | set_atom_value (const char *attr, const char *atom) |
void | set_duration (double) |
void | set_identifier (long i) |
void | set_integer_value (const char *attr, long value) |
void | set_logical_value (const char *attr, bool value) |
void | set_loud (float) |
void | set_parameter (Alg_parameter_ptr new_parameter) |
void | set_pitch (float) |
void | set_real_value (const char *attr, double value) |
void | set_selected (bool b) |
void | set_string_value (const char *attr, const char *value) |
virtual void | show ()=0 |
virtual | ~Alg_event () |
Data Fields | |
long | chan |
double | time |
Protected Attributes | |
long | key |
bool | selected |
char | type |
Static Protected Attributes | |
static const char * | description |
|
inline |
References selected.
|
inlinevirtual |
void Alg_event::delete_attribute | ( | const char * | attr | ) |
const char* Alg_event::get_atom_value | ( | const char * | attr, |
const char * | value = NULL |
||
) |
const char* Alg_event::get_atom_value | ( | ) |
const char* Alg_event::get_attribute | ( | ) |
char Alg_event::get_attribute_type | ( | const char * | attr | ) |
double Alg_event::get_duration | ( | ) |
double Alg_event::get_end_time | ( | ) |
|
inline |
References key.
long Alg_event::get_integer_value | ( | const char * | attr, |
long | value = 0 |
||
) |
long Alg_event::get_integer_value | ( | ) |
bool Alg_event::get_logical_value | ( | const char * | attr, |
bool | value = false |
||
) |
bool Alg_event::get_logical_value | ( | ) |
float Alg_event::get_loud | ( | ) |
float Alg_event::get_pitch | ( | ) |
double Alg_event::get_real_value | ( | const char * | attr, |
double | value = 0.0 |
||
) |
double Alg_event::get_real_value | ( | ) |
|
inline |
References selected.
double Alg_event::get_start_time | ( | ) |
const char* Alg_event::get_string_value | ( | const char * | attr, |
const char * | value = NULL |
||
) |
const char* Alg_event::get_string_value | ( | ) |
|
inline |
References type.
int Alg_event::get_type_code | ( | ) |
char Alg_event::get_update_type | ( | ) |
const char* Alg_event::GetDescription | ( | ) |
bool Alg_event::has_attribute | ( | const char * | attr | ) |
|
inline |
References type.
|
inline |
References type.
bool Alg_event::overlap | ( | double | t, |
double | len, | ||
bool | all | ||
) |
void Alg_event::set_atom_value | ( | const char * | attr, |
const char * | atom | ||
) |
void Alg_event::set_duration | ( | double | ) |
|
inline |
References key.
void Alg_event::set_integer_value | ( | const char * | attr, |
long | value | ||
) |
void Alg_event::set_logical_value | ( | const char * | attr, |
bool | value | ||
) |
void Alg_event::set_loud | ( | float | ) |
void Alg_event::set_parameter | ( | Alg_parameter_ptr | new_parameter | ) |
void Alg_event::set_pitch | ( | float | ) |
void Alg_event::set_real_value | ( | const char * | attr, |
double | value | ||
) |
|
inline |
References selected.
void Alg_event::set_string_value | ( | const char * | attr, |
const char * | value | ||
) |
|
pure virtual |
Implemented in Alg_update, and Alg_note.
long Alg_event::chan |
|
staticprotected |
|
protected |
Referenced by get_identifier(), and set_identifier().
|
protected |
Referenced by Alg_event(), get_selected(), and set_selected().
double Alg_event::time |
|
protected |
Referenced by Alg_note::Alg_note(), Alg_update::Alg_update(), get_type(), is_note(), and is_update().