Vuo  0.6.1
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | List of all members
VuoRunner32 Class Reference

Description

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.

Public Member Functions

void start (void)
 
void startPaused (void)
 
void pause (void)
 
void unpause (void)
 
void stop (void)
 
void waitUntilStopped (void)
 
void setPublishedInputPortValue (Port *port, json_object *value)
 
void firePublishedInputPortEvent (Port *port)
 
void firePublishedInputPortEvent (void)
 
void waitForAnyPublishedOutputPortEvent (void)
 
json_object * getPublishedOutputPortValue (Port *port)
 
vector< Port * > getPublishedInputPorts (void)
 
vector< Port * > getPublishedOutputPorts (void)
 
PortgetPublishedInputPortWithName (string name)
 
PortgetPublishedOutputPortWithName (string name)
 
void setInputPortValue (string portIdentifier, json_object *value)
 
void fireTriggerPortEvent (string portIdentifier)
 
json_object * getInputPortValue (string portIdentifier)
 
json_object * getOutputPortValue (string portIdentifier)
 
string getInputPortSummary (string portIdentifier)
 
string getOutputPortSummary (string portIdentifier)
 
bool isStopped (void)
 
void setDelegate (VuoRunnerDelegate *delegate)
 

Static Public Member Functions

static VuoRunner32newSeparateProcessRunnerFromCompositionFile (string compositionPath)
 Creates a runner object that can run the composition in file compositionPath in a new process.
 
static VuoRunner32newSeparateProcessRunnerFromExecutable (string executablePath, string sourceDir, bool deleteExecutableWhenFinished=false)
 

Additional Inherited Members

- Private Member Functions inherited from VuoRunner
 ~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.
 
PortgetPublishedInputPortWithName (string name)
 Returns the published input port with the given name, or NULL if no such port exists.
 
PortgetPublishedOutputPortWithName (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 Private Member Functions inherited from VuoRunner
static VuoRunnernewSeparateProcessRunnerFromExecutable (string executablePath, string sourceDir, bool deleteExecutableWhenFinished=false)
 Creates a runner that can run a composition in a new process.
 
static VuoRunnernewSeparateProcessRunnerFromDynamicLibrary (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 VuoRunnernewCurrentProcessRunnerFromDynamicLibrary (string dylibPath, string sourceDir, bool deleteDylibWhenFinished=false)
 Creates a runner object that can run a composition in the current process.
 

Member Function Documentation

void VuoRunner32::firePublishedInputPortEvent ( Port port)
void VuoRunner32::firePublishedInputPortEvent ( void  )
void VuoRunner32::fireTriggerPortEvent ( string  portIdentifier)
string VuoRunner32::getInputPortSummary ( string  portIdentifier)
json_object * VuoRunner32::getInputPortValue ( string  portIdentifier)
string VuoRunner32::getOutputPortSummary ( string  portIdentifier)
json_object * VuoRunner32::getOutputPortValue ( string  portIdentifier)
vector< VuoRunner::Port * > VuoRunner32::getPublishedInputPorts ( void  )
VuoRunner::Port * VuoRunner32::getPublishedInputPortWithName ( string  name)
vector< VuoRunner::Port * > VuoRunner32::getPublishedOutputPorts ( void  )
json_object * VuoRunner32::getPublishedOutputPortValue ( Port port)
VuoRunner::Port * VuoRunner32::getPublishedOutputPortWithName ( string  name)
bool VuoRunner32::isStopped ( void  )
VuoRunner32 * VuoRunner32::newSeparateProcessRunnerFromCompositionFile ( string  compositionPath)
static

Creates a runner object that can run the composition in file compositionPath in a new process.

VuoRunner32 * VuoRunner32::newSeparateProcessRunnerFromExecutable ( string  executablePath,
string  sourceDir,
bool  deleteExecutableWhenFinished = false 
)
static
void VuoRunner32::pause ( void  )
void VuoRunner32::setDelegate ( VuoRunnerDelegate delegate)
void VuoRunner32::setInputPortValue ( string  portIdentifier,
json_object *  value 
)
void VuoRunner32::setPublishedInputPortValue ( Port port,
json_object *  value 
)
void VuoRunner32::start ( void  )
void VuoRunner32::startPaused ( void  )
void VuoRunner32::stop ( void  )
See Also
VuoRunner::stop
void VuoRunner32::unpause ( void  )
void VuoRunner32::waitForAnyPublishedOutputPortEvent ( void  )
void VuoRunner32::waitUntilStopped ( void  )

The documentation for this class was generated from the following files: