Vuo  0.4.8
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Enumerations | Functions
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,...)
 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 VuoOutputData(type)
 Use this to decorate parameters acting as data output ports.
 
#define VuoOutputConductor(name)   __attribute__((annotate("vuoOutputConductor:" #name))) bool * const
 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 nodeInstanceCallbackUpdate (...)
 Called each time an input port constant on this node instance is updated during live coding.
 
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.