MayaFlux 0.3.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 331 of file NodeGraphManager.cpp.

332{
333 for (uint32_t ch = 0; ch < num_channels; ++ch) {
334 ensure_root_exists(token, ch);
335 }
336}
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: