Vuo  2.3.1
Classes | Functions | Variables
VuoRunner.cc File Reference

Description

VuoRunner implementation.

Definition in file VuoRunner.cc.

Go to the source code of this file.

Classes

class  VuoRunner::Private
 Private instance data for VuoRunner. More...
 

Functions

static void VuoRunner_closeOnExec (int fd)
 Tells the specified Unix file descriptor to automatically close itself when exec() is called. More...
 
static bool isMainThread (void)
 Is the current thread the main thread? More...
 
static void VuoRunner_configureSocket (void *zmqSocket, int timeoutInSeconds)
 Applies standard settings to the specified ZMQ socket. More...
 
void * VuoRunner_listen (void *context)
 pthread_create can't directly invoke a C++ instance method, so this is a C wrapper for it. More...
 

Variables

void * VuoApp_mainThread = NULL
 A reference to the main thread. More...
 
static const char * mainThreadChecker = "/Applications/Xcode.app/Contents/Developer/usr/lib/libMainThreadChecker.dylib"
 The path to Xcode's libMainThreadChecker.dylib. More...
 
static int compositionReadRunnerWritePipe [2]
 A pipe used by the runtime to check if the runner process has ended. More...
 
static bool VuoRunner_isHostVDMX = false
 True if this VuoRunner instance is running inside VDMX. More...
 

Function Documentation

◆ isMainThread()

static bool isMainThread ( void  )
static

Is the current thread the main thread?

Definition at line 82 of file VuoRunner.cc.

◆ VuoRunner_closeOnExec()

static void VuoRunner_closeOnExec ( int  fd)
static

Tells the specified Unix file descriptor to automatically close itself when exec() is called.

Definition at line 37 of file VuoRunner.cc.

◆ VuoRunner_configureSocket()

static void VuoRunner_configureSocket ( void *  zmqSocket,
int  timeoutInSeconds 
)
static

Applies standard settings to the specified ZMQ socket.

Definition at line 90 of file VuoRunner.cc.

◆ VuoRunner_listen()

void* VuoRunner_listen ( void *  context)

pthread_create can't directly invoke a C++ instance method, so this is a C wrapper for it.

Definition at line 717 of file VuoRunner.cc.

Variable Documentation

◆ compositionReadRunnerWritePipe

int compositionReadRunnerWritePipe[2]
static

A pipe used by the runtime to check if the runner process has ended.

Definition at line 30 of file VuoRunner.cc.

◆ mainThreadChecker

const char* mainThreadChecker = "/Applications/Xcode.app/Contents/Developer/usr/lib/libMainThreadChecker.dylib"
static

The path to Xcode's libMainThreadChecker.dylib.

Definition at line 29 of file VuoRunner.cc.

◆ VuoApp_mainThread

void* VuoApp_mainThread = NULL

A reference to the main thread.

Definition at line 28 of file VuoRunner.cc.

◆ VuoRunner_isHostVDMX

bool VuoRunner_isHostVDMX = false
static

True if this VuoRunner instance is running inside VDMX.

Definition at line 31 of file VuoRunner.cc.