|
MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
|
|
overrideprotectedvirtual |
Notifies all registered callbacks with the current context.
| value | The current sample value |
This method is called by the node implementation when a new output value is produced. It creates a context object using create_context(), then calls all registered callbacks with that context.
For unconditional callbacks (registered with on_tick()), the callback is always called. For conditional callbacks (registered with on_tick_if()), the callback is called only if its condition returns true.
Node implementations should call this method at appropriate points in their processing flow to trigger callbacks.
Implements MayaFlux::Nodes::Node.
Definition at line 94 of file StreamReaderNode.cpp.
References MayaFlux::Nodes::Node::m_callbacks, MayaFlux::Nodes::Node::m_conditional_callbacks, m_context, and update_context().
Referenced by process_sample().
Here is the call graph for this function:
Here is the caller graph for this function: