Vuo
2.0.0
|
A range of BPM values.
Enumerations | |
enum | VuoTempoRange { VuoTempoRange_Andante, VuoTempoRange_Moderato, VuoTempoRange_Allegro, VuoTempoRange_Presto, VuoTempoRange_Prestissimo } |
A range of BPM values. More... | |
Functions | |
VuoTempoRange | VuoTempoRange_makeFromJson (struct json_object *js) |
Decodes the JSON object js to create a new value. More... | |
struct json_object * | VuoTempoRange_getJson (const VuoTempoRange value) |
Encodes value as a JSON object. More... | |
VuoList_VuoTempoRange | VuoTempoRange_getAllowedValues (void) |
Returns a list of values that instances of this type can have. More... | |
char * | VuoTempoRange_getSummary (const VuoTempoRange value) |
Returns a compact string representation of value . More... | |
int | VuoTempoRange_getBaseBPM (const VuoTempoRange value) |
Returns the lower bound of the specified tempo range. More... | |
bool | VuoTempoRange_areEqual (const VuoTempoRange valueA, const VuoTempoRange valueB) |
Returns true if the two values are equal. More... | |
bool | VuoTempoRange_isLessThan (const VuoTempoRange valueA, const VuoTempoRange valueB) |
Returns true if valueA is less than valueB . More... | |
VuoTempoRange | VuoTempoRange_makeFromString (const char *str) |
Automatically generated function. More... | |
char * | VuoTempoRange_getString (const VuoTempoRange value) |
Automatically generated function. More... | |
void | VuoTempoRange_retain (VuoTempoRange value) |
Automatically generated function. More... | |
void | VuoTempoRange_release (VuoTempoRange value) |
Automatically generated function. More... | |
enum VuoTempoRange |
A range of BPM values.
Definition at line 28 of file VuoTempoRange.h.
bool VuoTempoRange_areEqual | ( | const VuoTempoRange | valueA, |
const VuoTempoRange | valueB | ||
) |
Returns true if the two values are equal.
Definition at line 131 of file VuoTempoRange.c.
VuoList_VuoTempoRange VuoTempoRange_getAllowedValues | ( | void | ) |
Returns a list of values that instances of this type can have.
Definition at line 77 of file VuoTempoRange.c.
int VuoTempoRange_getBaseBPM | ( | const VuoTempoRange | value | ) |
Returns the lower bound of the specified tempo range.
The upper bound is double the lower bound.
Definition at line 114 of file VuoTempoRange.c.
struct json_object* VuoTempoRange_getJson | ( | const VuoTempoRange | value | ) |
Encodes value
as a JSON object.
Definition at line 58 of file VuoTempoRange.c.
char* VuoTempoRange_getString | ( | const VuoTempoRange | value | ) |
Automatically generated function.
char* VuoTempoRange_getSummary | ( | const VuoTempoRange | value | ) |
Returns a compact string representation of value
.
Definition at line 91 of file VuoTempoRange.c.
bool VuoTempoRange_isLessThan | ( | const VuoTempoRange | valueA, |
const VuoTempoRange | valueB | ||
) |
Returns true if valueA
is less than valueB
.
Definition at line 139 of file VuoTempoRange.c.
VuoTempoRange VuoTempoRange_makeFromJson | ( | json_object * | js | ) |
Decodes the JSON object js
to create a new value.
Definition at line 35 of file VuoTempoRange.c.
VuoTempoRange VuoTempoRange_makeFromString | ( | const char * | str | ) |
Automatically generated function.
void VuoTempoRange_release | ( | VuoTempoRange | value | ) |
Automatically generated function.
void VuoTempoRange_retain | ( | VuoTempoRange | value | ) |
Automatically generated function.