|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
|
virtual |
Registers a callback to be called on each tick.
| callback | Function to call with the current node context |
Registers a callback function that will be called each time the node produces a new output value. The callback receives a NodeContext object containing information about the node's current state.
This mechanism enables external components to monitor and react to the node's activity without interrupting the processing flow.
Example:
Reimplemented in MayaFlux::Nodes::Generator::Logic, and MayaFlux::Nodes::ChainNode.
Definition at line 5 of file Node.cpp.
References m_callbacks, and MayaFlux::Nodes::safe_add_callback().
Here is the call graph for this function: