Vuo  0.4
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Enumerations | Functions | Variables
node.h File Reference

Description

Prototypes for node class implementations.

Macros

#define VuoInstanceData(type)
 Use this to decorate parameters referring to a stateful node's instance data structure.
 
#define VuoInputData(type, default)
 Use this to decorate parameters acting as data input ports.
 
#define VuoInputConductor(conductivity, name)
 Use this to decorate parameters acting as event input ports.
 
#define VuoInputReceptor
 Use this to decorate the receptor parameter.
 
#define VuoOutputData(type)
 Use this to decorate parameters acting as data output ports.
 
#define VuoOutputConductor(name)
 Use this to decorate parameters acting as event output ports.
 
#define VuoOutputTrigger(name, type)
 Use this to decorate parameters acting as event triggers.
 

Enumerations

enum  VuoPortConductivity { VuoPortAlwaysConducts, VuoPortMayConduct, VuoPortNeverConducts }
 Conductivity options for input ports. More...
 

Functions

void nodeEvent (...)
 Called for every push this node class receives.
 
struct nodeInstanceDatanodeInstanceInit (...)
 Called when a new instance of the node class is created.
 
void nodeInstanceCallbackStart (...)
 Called just after nodeInstanceInit() and each time the composition is updated during live coding.
 
void nodeInstanceEvent (...)
 Called each time this node instance receives an event.
 
void nodeInstanceCallbackStop (struct nodeInstanceData *const context)
 Called each time the composition is updated during live coding and just before nodeInstanceFini().
 
void nodeInstanceFini (struct nodeInstanceData *const context)
 Called when the specified node instance is no longer needed.
 

Variables

const char * moduleName
 Default display name.
 
const char * moduleDescription
 A succinct summary of this node class's purpose.
 
const char * moduleKeywords []
 A list of synonyms for this node class's name.
 
const char * moduleDependencies []
 A list of libraries or other modules this module depends upon.
 
const unsigned int moduleVersion
 Version, represented as an integer.
 
const bool nodeProvides
 If true, this node class provides data to the graph from somewhere external to the graph (e.g., input device, file, network).
 
const bool nodeConsumes
 If true, this node class consumes data from the graph, sending it somewhere external to the graph (e.g., output device, file, network).