Vuo
0.3
|
Setup, event handler, and teardown methods to be implemented by stateful node classes.
Functions | |
struct nodeInstanceData * | nodeInstanceInit (...) |
Called when a new instance of the node class is created. | |
void | nodeInstanceEvent (...) |
Called for every push this node instance receives. | |
void | nodeInstanceFini (struct nodeInstanceData *const context) |
Called when the specified node instance is no longer needed. | |
void nodeInstanceEvent | ( | ... | ) |
Called for every push this node instance receives.
Parameter decorations should include at least:
Parameter decorations may include:
void nodeInstanceFini | ( | struct nodeInstanceData *const | context | ) |
Called when the specified node instance is no longer needed.
The implementation should free()
whatever instance data was allocated in nodeInstanceInit()
.
|
read |
Called when a new instance of the node class is created.
The implementation should malloc()
, initialize, and return whatever instance data is required.
Parameter decorations may include: