Vuo  1.2.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
VuoInputEditorSyphonServerDescription.cc File Reference

Description

VuoInputEditorSyphonServerDescription implementation.

Functions

void vuoAddCompositionStateToThreadLocalStorage (const struct VuoCompositionState *compositionState)
 Dummy definitions of functions not actually used by this input editor but needed for it to build.
 
void vuoRemoveCompositionStateFromThreadLocalStorage (void)
 Removes the stored composition state (if any) in thread-local storage, making it no longer available to vuoGetCompositionStateFromThreadLocalStorage().
 
const void * vuoGetCompositionStateFromThreadLocalStorage (void)
 Retrieves a composition state previously stored by vuoAddCompositionStateToThreadLocalStorage() on the current thread.
 
uint64_t vuoGetCompositionUniqueIdentifier (const struct VuoCompositionState *compositionState)
 Returns a numerical ID for the composition that is unique process-wide and persists across live-coding reloads.
 

Function Documentation

void vuoAddCompositionStateToThreadLocalStorage ( const struct VuoCompositionState compositionState)

Dummy definitions of functions not actually used by this input editor but needed for it to build.

Stores compositionState in thread-local storage, making it available via a call to vuoGetCompositionStateFromThreadLocalStorage() on the same thread.

const void* vuoGetCompositionStateFromThreadLocalStorage ( void  )

Retrieves a composition state previously stored by vuoAddCompositionStateToThreadLocalStorage() on the current thread.

The caller should not save the returned VuoCompositionState for later, since it may be destroyed by the function that originally added it to thread-local storage. Nor should the caller save any of the fields of the returned VuoCompositionState, since they may be destroyed by another function or a live-coding reload.

uint64_t vuoGetCompositionUniqueIdentifier ( const struct VuoCompositionState compositionState)

Returns a numerical ID for the composition that is unique process-wide and persists across live-coding reloads.

void vuoRemoveCompositionStateFromThreadLocalStorage ( void  )

Removes the stored composition state (if any) in thread-local storage, making it no longer available to vuoGetCompositionStateFromThreadLocalStorage().