Vuo  1.0.1
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Functions
VuoArtNetOutputDevice

Description

Information about an Art-Net output device.

Classes

struct  VuoArtNetOutputDevice
 Information about an Art-Net output device. More...
 

Functions

VuoArtNetOutputDevice VuoArtNetOutputDevice_makeFromJson (struct json_object *js)
 Decodes the JSON object js to create a new value.
 
struct json_object * VuoArtNetOutputDevice_getJson (const VuoArtNetOutputDevice value)
 Encodes value as a JSON object.
 
char * VuoArtNetOutputDevice_getSummary (const VuoArtNetOutputDevice value)
 Returns a compact string representation of value.
 
VuoArtNetOutputDevice VuoArtNetOutputDevice_makeBroadcast (const VuoInteger net, const VuoInteger subNet, const VuoInteger universe)
 Creates a new Art-Net device description, for broadcasting.
 
VuoArtNetOutputDevice VuoArtNetOutputDevice_makeUnicast (const VuoText ipAddress, const VuoInteger net, const VuoInteger subNet, const VuoInteger universe)
 Creates a new Art-Net device description, for sending to a single IP.
 
bool VuoArtNetOutputDevice_areEqual (const VuoArtNetOutputDevice value1, const VuoArtNetOutputDevice value2)
 Returns true if the two output devices are equivalent:
 
bool VuoArtNetOutputDevice_isLessThan (const VuoArtNetOutputDevice value1, const VuoArtNetOutputDevice value2)
 Returns true if value1 < value2.
 
VuoArtNetOutputDevice VuoArtNetOutputDevice_makeFromString (const char *str)
 Automatically generated function.
 
char * VuoArtNetOutputDevice_getString (const VuoArtNetOutputDevice value)
 Automatically generated function.
 
void VuoArtNetOutputDevice_retain (VuoArtNetOutputDevice value)
 Automatically generated function.
 
void VuoArtNetOutputDevice_release (VuoArtNetOutputDevice value)
 Automatically generated function.
 

Class Documentation

struct VuoArtNetOutputDevice
Class Members
VuoArtNetAddress address
VuoText ethernetAddress
VuoText ipAddress
VuoText name

Function Documentation

bool VuoArtNetOutputDevice_areEqual ( const VuoArtNetOutputDevice  value1,
const VuoArtNetOutputDevice  value2 
)

Returns true if the two output devices are equivalent:

  • The addresses (Net/Sub-Net/Universe) must match
  • The sending mode (broadcast vs. unicast) must match, and if unicast is used, the IP address must match
  • The name and ethernetAddress must match
struct json_object* VuoArtNetOutputDevice_getJson ( const VuoArtNetOutputDevice  value)
read

Encodes value as a JSON object.

char* VuoArtNetOutputDevice_getString ( const VuoArtNetOutputDevice  value)

Automatically generated function.

char* VuoArtNetOutputDevice_getSummary ( const VuoArtNetOutputDevice  value)

Returns a compact string representation of value.

bool VuoArtNetOutputDevice_isLessThan ( const VuoArtNetOutputDevice  value1,
const VuoArtNetOutputDevice  value2 
)

Returns true if value1 < value2.

VuoArtNetOutputDevice VuoArtNetOutputDevice_makeBroadcast ( const VuoInteger  net,
const VuoInteger  subNet,
const VuoInteger  universe 
)

Creates a new Art-Net device description, for broadcasting.

VuoArtNetOutputDevice VuoArtNetOutputDevice_makeFromJson ( json_object *  js)

Decodes the JSON object js to create a new value.

Example:
{
"name": "",
"ipAddress": "",
"ethernetAddress": "",
"net": 0,
"subNet": 0,
"universe": 0,
}
VuoArtNetOutputDevice VuoArtNetOutputDevice_makeFromString ( const char *  str)

Automatically generated function.

VuoArtNetOutputDevice VuoArtNetOutputDevice_makeUnicast ( const VuoText  ipAddress,
const VuoInteger  net,
const VuoInteger  subNet,
const VuoInteger  universe 
)

Creates a new Art-Net device description, for sending to a single IP.

void VuoArtNetOutputDevice_release ( VuoArtNetOutputDevice  value)

Automatically generated function.

void VuoArtNetOutputDevice_retain ( VuoArtNetOutputDevice  value)

Automatically generated function.