Vuo  2.0.2
Macros | Enumerations | Functions
VuoTempoRange

Description

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_objectVuoTempoRange_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...
 

Enumeration Type Documentation

◆ VuoTempoRange

A range of BPM values.

Definition at line 28 of file VuoTempoRange.h.

Function Documentation

◆ VuoTempoRange_areEqual()

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.

◆ VuoTempoRange_getAllowedValues()

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.

◆ VuoTempoRange_getBaseBPM()

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.

◆ VuoTempoRange_getJson()

struct json_object* VuoTempoRange_getJson ( const VuoTempoRange  value)

Encodes value as a JSON object.

Definition at line 58 of file VuoTempoRange.c.

◆ VuoTempoRange_getString()

char* VuoTempoRange_getString ( const VuoTempoRange  value)

Automatically generated function.

◆ VuoTempoRange_getSummary()

char* VuoTempoRange_getSummary ( const VuoTempoRange  value)

Returns a compact string representation of value.

Definition at line 91 of file VuoTempoRange.c.

◆ VuoTempoRange_isLessThan()

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_makeFromJson()

VuoTempoRange VuoTempoRange_makeFromJson ( json_object js)

Decodes the JSON object js to create a new value.

Example:
"moderato"

Definition at line 35 of file VuoTempoRange.c.

◆ VuoTempoRange_makeFromString()

VuoTempoRange VuoTempoRange_makeFromString ( const char *  str)

Automatically generated function.

◆ VuoTempoRange_release()

void VuoTempoRange_release ( VuoTempoRange  value)

Automatically generated function.

◆ VuoTempoRange_retain()

void VuoTempoRange_retain ( VuoTempoRange  value)

Automatically generated function.