Vuo  2.0.0
Macros | Enumerations | Functions

Description

A method for handling signal polarity.

Enumerations

enum  VuoDiode { VuoDiode_Unipolar, VuoDiode_Bipolar, VuoDiode_Absolute }
 A method for handling signal polarity. More...
 

Functions

VuoDiode VuoDiode_makeFromJson (struct json_object *js)
 Decodes the JSON object js to create a new value. More...
 
struct json_objectVuoDiode_getJson (const VuoDiode value)
 Encodes value as a JSON object. More...
 
VuoList_VuoDiode VuoDiode_getAllowedValues (void)
 Returns a list of values that instances of this type can have. More...
 
char * VuoDiode_getSummary (const VuoDiode value)
 Returns a compact string representation of value. More...
 
bool VuoDiode_areEqual (const VuoDiode valueA, const VuoDiode valueB)
 Returns true if the two values are equal. More...
 
bool VuoDiode_isLessThan (const VuoDiode valueA, const VuoDiode valueB)
 Returns true if valueA is less than valueB. More...
 
VuoDiode VuoDiode_makeFromString (const char *str)
 Automatically generated function. More...
 
char * VuoDiode_getString (const VuoDiode value)
 Automatically generated function. More...
 
void VuoDiode_retain (VuoDiode value)
 Automatically generated function. More...
 
void VuoDiode_release (VuoDiode value)
 Automatically generated function. More...
 

Enumeration Type Documentation

◆ VuoDiode

enum VuoDiode

A method for handling signal polarity.

Definition at line 28 of file VuoDiode.h.

Function Documentation

◆ VuoDiode_areEqual()

bool VuoDiode_areEqual ( const VuoDiode  valueA,
const VuoDiode  valueB 
)

Returns true if the two values are equal.

Definition at line 95 of file VuoDiode.c.

◆ VuoDiode_getAllowedValues()

VuoList_VuoDiode VuoDiode_getAllowedValues ( void  )

Returns a list of values that instances of this type can have.

Definition at line 68 of file VuoDiode.c.

◆ VuoDiode_getJson()

struct json_object* VuoDiode_getJson ( const VuoDiode  value)

Encodes value as a JSON object.

Definition at line 53 of file VuoDiode.c.

◆ VuoDiode_getString()

char* VuoDiode_getString ( const VuoDiode  value)

Automatically generated function.

◆ VuoDiode_getSummary()

char* VuoDiode_getSummary ( const VuoDiode  value)

Returns a compact string representation of value.

Definition at line 80 of file VuoDiode.c.

◆ VuoDiode_isLessThan()

bool VuoDiode_isLessThan ( const VuoDiode  valueA,
const VuoDiode  valueB 
)

Returns true if valueA is less than valueB.

Definition at line 103 of file VuoDiode.c.

◆ VuoDiode_makeFromJson()

VuoDiode VuoDiode_makeFromJson ( json_object js)

Decodes the JSON object js to create a new value.

Example:
"bipolar"

Definition at line 34 of file VuoDiode.c.

◆ VuoDiode_makeFromString()

VuoDiode VuoDiode_makeFromString ( const char *  str)

Automatically generated function.

◆ VuoDiode_release()

void VuoDiode_release ( VuoDiode  value)

Automatically generated function.

◆ VuoDiode_retain()

void VuoDiode_retain ( VuoDiode  value)

Automatically generated function.