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

◆ RootNode()

MayaFlux::Nodes::RootNode::RootNode ( ProcessingToken  token = ProcessingToken::AUDIO_RATE,
uint32_t  channel = 0 
)

Constructs a RootNode for a specific processing token and channel.

Parameters
tokenThe processing domain (e.g., AUDIO_RATE)
channelThe channel index (default: 0)

Initializes the root node for the given processing domain and channel. Each channel and processing domain combination should have its own RootNode.

Definition at line 7 of file RootNode.cpp.

8 : m_is_processing(false)
10 , m_channel(channel)
12 , m_token(token)
13{
14}
static MayaFlux::Nodes::ProcessingToken token
Definition Timers.cpp:8
uint32_t m_channel
The processing channel index for this root node.
Definition RootNode.hpp:211
std::atomic< bool > m_is_processing
Flag indicating if the root node is currently processing nodes.
Definition RootNode.hpp:162
bool m_skip_state_management
Flag indicating whether to skip preprocessing and post processing.
Definition RootNode.hpp:221
std::atomic< uint32_t > m_pending_count
Counter tracking the number of pending operations.
Definition RootNode.hpp:191
ProcessingToken m_token
The processing token indicating the domain of this root node.
Definition RootNode.hpp:229