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

◆ process_all_tokens()

void MayaFlux::Nodes::NodeGraphManager::process_all_tokens ( unsigned int  num_samples = 1)

Process all active tokens sequentially.

Parameters
num_samplesNumber of samples/frames to process

Iterates over all processing domains (tokens) that have active root nodes, and processes each one in turn. This enables multi-modal, multi-channel processing in a single call.

Definition at line 275 of file NodeGraphManager.cpp.

276{
277 for (auto token : get_active_tokens()) {
278 process_token(token, num_samples);
279 }
280}
static MayaFlux::Nodes::ProcessingToken token
Definition Timers.cpp:8
std::vector< ProcessingToken > get_active_tokens() const
Gets all currently active processing tokens (domains)
void process_token(ProcessingToken token, unsigned int num_samples=1)
Process all nodes in a specific token domain Calls registered processor if available,...

References get_active_tokens(), process_token(), and token.

+ Here is the call graph for this function: