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

◆ get_registered_channels()

std::vector< uint32_t > MayaFlux::Nodes::Network::NodeNetwork::get_registered_channels ( ) const

Get all channels this network is registered on.

Returns
Vector of channel indices

Definition at line 155 of file NodeNetwork.cpp.

156{
157 std::vector<uint32_t> channels;
158 for (uint32_t i = 0; i < 32; ++i) {
159 if (m_channel_mask & (1U << i)) {
160 channels.push_back(i);
161 }
162 }
163 return channels;
164}
std::atomic< uint32_t > m_channel_mask
Bitfield of channels this network is registered on.

References m_channel_mask.