MayaFlux 0.5.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 151 of file Archivist.cpp.

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

References m_component_filters.