Vuo
0.4.1
|
Parameter decorations to be used by node classes.
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. | |
#define VuoInputConductor | ( | conductivity, | |
name | |||
) |
Use this to decorate parameters acting as event input ports.
Indicates whether this particular input port was pushed. The input port name should use lowerCamelCase
.
conductivity | A value of type VuoPortConductivity, indicating the port's type of conductivity. |
name | The identifier of the corresponding data port, or blank if this is intended to be an event-only input port. |
#define VuoInputData | ( | type, | |
default | |||
) |
Use this to decorate parameters acting as data input ports.
The input port name should use lowerCamelCase
.
type | This input port's C type. Must be a typedef from a Vuo type definition. |
default | The literal default value for this port. The default value must be represented as a string. |
#define VuoInputReceptor |
Use this to decorate the receptor parameter.
Indicates whether the node's receptor port was pushed.
#define VuoInstanceData | ( | type | ) |
Use this to decorate parameters referring to a stateful node's instance data structure.
type | The instance data's C type. |
#define VuoOutputConductor | ( | name | ) |
Use this to decorate parameters acting as event output ports.
Indicates whether a push should be conducted through this particular output port. The output port name should use lowerCamelCase
. Allowed only if nodeAlwaysConducts=false
.
name | The identifier of the corresponding data port, or blank if this is intended to be an event-only output port. |
#define VuoOutputData | ( | type | ) |
Use this to decorate parameters acting as data output ports.
The output port name should use lowerCamelCase
.
type | This output port's C type. Must be a typedef from a Vuo type definition. |
#define VuoOutputTrigger | ( | name, | |
type | |||
) |
Use this to decorate parameters acting as event triggers.
Indicates whether an event should be fired from this particular output port. Allowed only if nodeAlwaysConducts=false
.
name | The identifier of the triggers function. Use lowerCamelCase . |
type | The C type of the data passed along when an event is fired. |