MayaFlux 0.4.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 147 of file NodeNetwork.cpp.

148{
149 if (channel_id < 32) {
150 return (m_channel_mask & (1U << channel_id)) != 0;
151 }
152 return false;
153}
std::atomic< uint32_t > m_channel_mask
Bitfield of channels this network is registered on.

References m_channel_mask.