MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ NodeHook

Callback function type for node processing events.

A NodeHook is a function that receives a NodeContext object containing information about the node's current state. These callbacks are triggered during node processing to notify external components about node activity.

Example:

node->on_tick([](NodeContext& ctx) {
std::cout << "Node produced value: " << ctx.value << std::endl;
});
double value
Current sample value.
Definition Node.hpp:40
Base context class for node callbacks.
Definition Node.hpp:30

Definition at line 25 of file NodeUtils.hpp.