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

Description

Runtime state preserved across live-coding reloads.

Public Member Functions

 VuoRuntimePersistentState (const char *workingDirectory)
 Constructor.
 
 ~VuoRuntimePersistentState (void)
 Destructor.
 
char * getWorkingDirectory (void)
 Returns the directory that nodes should use to resolve relative paths.
 
unsigned long getNextEventId (void)
 Returns a unique event ID.
 
bool isStopRequested (void)
 Returns true if something in the composition (nodes/libraries/runtime) has requested the composition to stop.
 
void setStopRequested (bool isStopRequested)
 Sets a flag indicating that something in the composition (nodes/libraries/runtime) has requested the composition to stop.
 
void addFiniCallback (VuoCompositionFiniCallback fini)
 Registers a callback to be invoked when the composition is shutting down, after all nodes have been fini'ed.
 
void callFiniCallbacks (void)
 Calls all fini callbacks that have been registered.
 
dispatch_group_t getTriggerWorkersScheduled (void)
 Returns the dispatch group that tracks trigger workers that have been scheduled but have not yet launched an event into the composition.
 

Static Public Member Functions

static string getCurrentWorkingDirectory (void)
 Returns the current working directory of the process.
 

Public Attributes

VuoRuntimeStateruntimeState
 Reference to the parent VuoRuntimeState.
 
VuoCompositionDiffcompositionDiff
 Objects preserved across live-coding reloads.
 
VuoNodeRegistrynodeRegistry
 Objects preserved across live-coding reloads.
 
VuoRuntimeCommunicatorcommunicator
 Objects preserved across live-coding reloads.
 
VuoThreadManagerthreadManager
 Objects preserved across live-coding reloads.
 

Constructor & Destructor Documentation

VuoRuntimePersistentState::VuoRuntimePersistentState ( const char *  workingDirectory)

Constructor.

VuoRuntimePersistentState::~VuoRuntimePersistentState ( void  )

Destructor.

Member Function Documentation

void VuoRuntimePersistentState::addFiniCallback ( VuoCompositionFiniCallback  fini)

Registers a callback to be invoked when the composition is shutting down, after all nodes have been fini'ed.

void VuoRuntimePersistentState::callFiniCallbacks ( void  )

Calls all fini callbacks that have been registered.

string VuoRuntimePersistentState::getCurrentWorkingDirectory ( void  )
static

Returns the current working directory of the process.

unsigned long VuoRuntimePersistentState::getNextEventId ( void  )

Returns a unique event ID.

dispatch_group_t VuoRuntimePersistentState::getTriggerWorkersScheduled ( void  )

Returns the dispatch group that tracks trigger workers that have been scheduled but have not yet launched an event into the composition.

char * VuoRuntimePersistentState::getWorkingDirectory ( void  )

Returns the directory that nodes should use to resolve relative paths.

bool VuoRuntimePersistentState::isStopRequested ( void  )

Returns true if something in the composition (nodes/libraries/runtime) has requested the composition to stop.

void VuoRuntimePersistentState::setStopRequested ( bool  isStopRequested)

Sets a flag indicating that something in the composition (nodes/libraries/runtime) has requested the composition to stop.

Member Data Documentation

VuoRuntimeCommunicator* VuoRuntimePersistentState::communicator

Objects preserved across live-coding reloads.

VuoCompositionDiff* VuoRuntimePersistentState::compositionDiff

Objects preserved across live-coding reloads.

VuoNodeRegistry* VuoRuntimePersistentState::nodeRegistry

Objects preserved across live-coding reloads.

VuoRuntimeState* VuoRuntimePersistentState::runtimeState

Reference to the parent VuoRuntimeState.

VuoThreadManager* VuoRuntimePersistentState::threadManager

Objects preserved across live-coding reloads.


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