Vuo  0.4.5
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
VuoRuntime.h File Reference

Description

VuoRuntime interface.

Functions

void vuoInit (int argc, char **argv)
 Parses command-line arguments, then calls vuoInitInProcess().
 
void vuoInitInProcess (void *_ZMQContext, const char *controlURL, const char *telemetryURL, bool _isPaused)
 Sets up ZMQ control and telemetry sockets, then calls the generated function setup().
 
void vuoTelemetrySend (enum VuoTelemetry type, zmq_msg_t *messages, unsigned int messageCount)
 Safe to call from any thread.
 
void vuoFini (void)
 Cleans up composition execution: closes the ZMQ sockets and dispatch source and queues.
 

Function Documentation

void vuoFini ( void  )

Cleans up composition execution: closes the ZMQ sockets and dispatch source and queues.

Assumes the composition has received and replied to a VuoControlRequestCompositionStop message.

void vuoInitInProcess ( void *  _ZMQContext,
const char *  controlURL,
const char *  telemetryURL,
bool  _isPaused 
)

Sets up ZMQ control and telemetry sockets, then calls the generated function setup().

If the composition is not paused, also calls nodeInstanceInit() and nodeInstanceCallbackStart().

void vuoTelemetrySend ( enum VuoTelemetry  type,
zmq_msg_t *  messages,
unsigned int  messageCount 
)

Safe to call from any thread.

Todo:
https://b33p.net/kosada/node/5567