MayaFlux 0.2.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 73 of file NodeNetwork.cpp.

74{
75 if (channel_id < 32) {
76 return (m_channel_mask & (1U << channel_id)) != 0;
77 }
78 return false;
79}
std::atomic< uint32_t > m_channel_mask
Bitfield of channels this network is registered on.

References m_channel_mask.