32-bit version of VuoRunner.
This class allows running and controlling a composition from a 32-bit process. The composition runs in a separate 64-bit process.
|
| ~VuoRunner (void) |
| Destructor.
|
|
void | start (void) |
| Starts the composition running.
|
|
void | startPaused (void) |
| Starts the composition running, but in a paused state.
|
|
void | runOnMainThread (void) |
| For a composition in the current process, runs the composition on the main thread until it stops (either on its own or from a call to stop() on another thread).
|
|
void | drainMainDispatchQueue (void) |
| For a composition in the current process, briefly performs work that requires the main thread (such as Cocoa event handling).
|
|
void | pause (void) |
| Sends a control request to the composition telling it to cease firing events.
|
|
void | unpause (void) |
| Sends a control request to the composition telling it to resume firing events.
|
|
void | replaceComposition (string compositionDylibPath, string resourceDylibPath, string compositionDiff) |
| Sends a control request to the composition loader telling it to load an updated version of the running composition.
|
|
void | stop (void) |
| Sends a control request to the composition telling it to stop.
|
|
void | waitUntilStopped (void) |
| Waits until the composition is stopped.
|
|
void | setPublishedInputPortValue (Port *port, json_object *value) |
| Sends a control request to the composition telling it to modify a published input port's value.
|
|
void | firePublishedInputPortEvent (Port *port) |
| Sends a control request to the composition telling it to fire an event into a published input port.
|
|
void | firePublishedInputPortEvent (void) |
| Sends a control request to the composition telling it to fire an event into all published input ports.
|
|
void | waitForAnyPublishedOutputPortEvent (void) |
| Waits until the first event following a call to firePublishedInputPortEvent() comes out of any published output port.
|
|
json_object * | getPublishedOutputPortValue (Port *port) |
| Sends a control request to the composition telling it to retrieve a published output port's value.
|
|
vector< Port * > | getPublishedInputPorts (void) |
| Returns the list of published input ports in the composition.
|
|
vector< Port * > | getPublishedOutputPorts (void) |
| Returns the list of published output ports in the composition.
|
|
Port * | getPublishedInputPortWithName (string name) |
| Returns the published input port with the given name, or NULL if no such port exists.
|
|
Port * | getPublishedOutputPortWithName (string name) |
| Returns the published output port with the given name, or NULL if no such port exists.
|
|
void | setInputPortValue (string portIdentifier, json_object *value) |
| Sends a control request to the composition telling it to modify an input port's value.
|
|
void | fireTriggerPortEvent (string portIdentifier) |
| Sends a control request to the composition telling it to fire an event from the trigger port.
|
|
json_object * | getInputPortValue (string portIdentifier) |
| Sends a control request to the composition telling it to retrieve an input port's value.
|
|
json_object * | getOutputPortValue (string portIdentifier) |
| Sends a control request to the composition telling it to retrieve an output port's value.
|
|
string | getInputPortSummary (string portIdentifier) |
| Sends a control request to the composition telling it to retrieve an input port's summary.
|
|
string | getOutputPortSummary (string portIdentifier) |
| Sends a control request to the composition telling it to retrieve an output port's summary.
|
|
bool | isStopped (void) |
| Returns true if the composition either has not been started or has been started and stopped.
|
|
void | setDelegate (VuoRunnerDelegate *delegate) |
| Sets the delegate that receives telemetry messages from the running composition.
|
|
static VuoRunner * | newSeparateProcessRunnerFromExecutable (string executablePath, string sourceDir, bool deleteExecutableWhenFinished=false) |
| Creates a runner that can run a composition in a new process.
|
|
static VuoRunner * | newSeparateProcessRunnerFromDynamicLibrary (string compositionLoaderPath, string compositionDylibPath, string resourceDylibPath, string sourceDir, bool deleteDylibsWhenFinished=false) |
| Creates a runner object that can run a composition in a new process and replace the composition with a new version while it's running.
|
|
static VuoRunner * | newCurrentProcessRunnerFromDynamicLibrary (string dylibPath, string sourceDir, bool deleteDylibWhenFinished=false) |
| Creates a runner object that can run a composition in the current process.
|
|