Vuo
1.2.1
|
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 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.
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.
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()
.