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

◆ set_component_filter()

void MayaFlux::Journal::Archivist::Impl::set_component_filter ( Component  comp,
bool  enabled 
)
inline

Definition at line 153 of file Archivist.cpp.

154 {
155 auto comp_idx = static_cast<size_t>(comp);
156 if (comp_idx >= m_component_filters.size())
157 return;
158
159 m_component_filters[comp_idx].store(enabled, std::memory_order_release);
160 }
std::array< std::atomic< bool >, magic_enum::enum_count< Component >()> m_component_filters

References m_component_filters.