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

◆ ensure_token_exists()

void MayaFlux::Nodes::NodeGraphManager::ensure_token_exists ( ProcessingToken  token,
uint32_t  num_channels = 1 
)
private

Ensures that a processing token entry exists.

Parameters
tokenProcessing domain
num_channelsNumber of channels to initialize (default: 1)

Creates the necessary data structures for the given processing token if they do not already exist.

Definition at line 333 of file NodeGraphManager.cpp.

334{
335 for (uint32_t ch = 0; ch < num_channels; ++ch) {
336 ensure_root_exists(token, ch);
337 }
338}
void ensure_root_exists(ProcessingToken token, unsigned int channel)
Ensures a root node exists for the given token and channel.

References ensure_root_exists().

+ Here is the call graph for this function: