VuoRuntimeHelper implementation.
- Copyright
- Copyright © 2012–2016 Kosada Incorporated. This code may be modified and distributed under the terms of the MIT License. For more information, see http://vuo.org/license.
|
unsigned long | vuoGetNextEventId (void) |
| Returns a unique event ID.
|
|
void | vuoAddNodeContext (const char *nodeIdentifier, struct NodeContext *nodeContext) |
| Registers a node context for the node identifier.
|
|
struct NodeContext * | vuoGetNodeContext (const char *nodeIdentifier) |
| Returns the node context registered for the node identifier, or null if none is found.
|
|
void * | vuoGetDataForPort (const char *compositionIdentifier, const char *portIdentifier) |
| Returns the data field in a port's context, given the port's identifier.
|
|
dispatch_semaphore_t | vuoGetNodeSemaphoreForPort (const char *compositionIdentifier, const char *portIdentifier) |
| Returns the semaphore field in a node's context, given the identifier of a port on the node.
|
|
unsigned long | vuoGetNodeIndexForPort (const char *compositionIdentifier, const char *portIdentifier) |
| Returns the numerical index for a node, given the identifier of a port on the node.
|
|
unsigned long | vuoGetTypeIndexForPort (const char *compositionIdentifier, const char *portIdentifier) |
| Returns the numerical index for a port's type, given the port's identifier.
|
|
void | vuoAddPortIdentifier (const char *compositionIdentifier, const char *portIdentifier, void *data, dispatch_semaphore_t nodeSemaphore, unsigned long nodeIndex, unsigned long typeIndex) |
| Stores information about the port, indexed on the port's identifier, so it can be efficiently retrieved later.
|
|
bool | isNodeInBothCompositions (const char *nodeIdentifier) |
| Returns true if the node is found in both the old and the new composition, when replacing compositions for live coding.
|
|
graph_t * | openGraphvizGraph (const char *graphString) |
| Returns a Graphviz graph constructed from the given Graphviz-format string.
|
|
void | closeGraphvizGraph (graph_t *graph) |
| Cleans up a Graphviz graph when it is no longer in use.
|
|
static void | mapFromReplacementNodeAndPort (const char *newNodeIdentifier, const char *newPortIdentifier, char **oldNodeIdentifier, char **oldPortIdentifier) |
| If the new node and port have a mapping from the old composition, when replacing compositions for live coding, finds the old node and port that they map from.
|
|
const char * | getConstantValueFromGraphviz (graph_t *graph, const char *node, const char *port) |
| Returns the constant value of the input port in the serialized composition, or null if it is not found.
|
|
char * | vuoTranscodeToGraphvizIdentifier (const char *originalString) |
| Replaces '"' with '"' and '\' with '\' in a string.
|
|
char * | vuoConcatenateStrings2 (const char *s0, const char *s1) |
| Returns the strings appended in order.
|
|
char * | vuoConcatenateStrings3 (const char *s0, const char *s1, const char *s2) |
| Returns the strings appended in order.
|
|
char * | vuoConcatenateStrings (const char **strings, size_t stringCount) |
| Returns the strings appended in order.
|
|
|
bool | isPaused = false |
| True if node execution is currently paused.
|
|
unsigned long | vuoLastEventId = 0 |
| The ID most recently assigned to any event, composition-wide. Used to generate a unique ID for each event.
|
|
static map< string, struct
NodeContext * > | nodeContextForIdentifier |
| A registry of all NodeContext values in the running composition.
|
|
char * | vuoTopLevelCompositionIdentifier |
| The key of the top-level composition in nodeContextForIdentifier.
|
|
static map< string, map
< string, void * > > | dataForPort |
| The data field in the port's context, indexed by composition and port identifier.
|
|
static map< string, map
< string, dispatch_semaphore_t > > | nodeSemaphoreForPort |
| The semaphore field in the node's context, indexed by composition and port identifier.
|
|
static map< string, map
< string, unsigned long > > | nodeIndexForPort |
| The index for a node, indexed by composition and port identifier.
|
|
static map< string, map
< string, unsigned long > > | typeIndexForPort |
| The index for the port's type, indexed by composition and port identifier.
|
|
char * | compositionDiff = NULL |
| Differences between the old and new composition, when replacing compositions for live coding.
|
|
gvplugin_library_t | gvplugin_dot_layout_LTX_library |
| Reference to the statically-built Graphviz Dot library.
|
|
gvplugin_library_t | gvplugin_core_LTX_library |
| Reference to the statically-built Graphviz core library.
|
|
static GVC_t * | graphvizContext = NULL |
| The context used when working with a Graphviz graph.
|
|