Vuo  1.2.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Typedefs | Functions | Variables
VuoRuntime.h File Reference

Description

VuoRuntime interface.

Typedefs

typedef void( VuoInitInProcessType )(void *_ZMQContext, const char *controlURL, const char *telemetryURL, bool _isPaused, pid_t _runnerPid, int runnerPipe, bool continueIfRunnerDies, bool trialRestrictionsEnabled, void *VuoCompositionFiniCallbackList)
 Type for vuoInitInProcess.
 
typedef void( VuoFiniType )(void)
 Type for vuoFini.
 

Functions

void vuoInit (int argc, char **argv)
 Parses command-line arguments, then calls vuoInitInProcess().
 
void vuoTelemetrySend (enum VuoTelemetry type, zmq_msg_t *messages, unsigned int messageCount)
 This function may be called from any thread.
 

Variables

VuoInitInProcessType vuoInitInProcess
 Sets up ZMQ control and telemetry sockets, then calls the generated function setup().
 
VuoFiniType vuoFini
 Cleans up composition execution: closes the ZMQ sockets and dispatch source and queues.
 

Typedef Documentation

typedef void( VuoFiniType)(void)

Type for vuoFini.

typedef void( VuoInitInProcessType)(void *_ZMQContext, const char *controlURL, const char *telemetryURL, bool _isPaused, pid_t _runnerPid, int runnerPipe, bool continueIfRunnerDies, bool trialRestrictionsEnabled, void *VuoCompositionFiniCallbackList)

Type for vuoInitInProcess.

Function Documentation

void vuoInit ( int  argc,
char **  argv 
)

Parses command-line arguments, then calls vuoInitInProcess().

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

This function may be called from any thread.

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

Variable Documentation

VuoFiniType vuoFini

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

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

VuoInitInProcessType vuoInitInProcess

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

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