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

◆ is_registered_on_channel()

bool MayaFlux::Nodes::Network::NodeNetwork::is_registered_on_channel ( uint32_t  channel_id) const

Check if network is registered on a channel.

Parameters
channel_idChannel index
Returns
true if registered on this channel

Definition at line 83 of file NodeNetwork.cpp.

84{
85 if (channel_id < 32) {
86 return (m_channel_mask & (1U << channel_id)) != 0;
87 }
88 return false;
89}
std::atomic< uint32_t > m_channel_mask
Bitfield of channels this network is registered on.

References m_channel_mask.