MayaFlux 0.4.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 313 of file NodeGraphManager.cpp.

314{
315 for (auto token : get_active_tokens()) {
316 process_token(token, num_samples);
317 }
318}
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(), and process_token().

+ Here is the call graph for this function: