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 94 of file NodeNetwork.cpp.

95{
96 if (channel_id < 32) {
97 return (m_channel_mask & (1U << channel_id)) != 0;
98 }
99 return false;
100}
std::atomic< uint32_t > m_channel_mask
Bitfield of channels this network is registered on.

References m_channel_mask.