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

◆ get_region_group()

const RegionGroup & MayaFlux::Kakshya::WindowContainer::get_region_group ( const std::string &  name) const
overridevirtual

Get a region group by name.

Parameters
nameName of the region group
Returns
Reference to the RegionGroup

Implements MayaFlux::Kakshya::NDDataContainer.

Definition at line 216 of file WindowContainer.cpp.

217{
218 static const RegionGroup empty;
219 std::shared_lock lock(m_data_mutex);
220 auto it = m_region_groups.find(name);
221 return it != m_region_groups.end() ? it->second : empty;
222}
void lock() override
Acquire a lock for thread-safe access.
std::unordered_map< std::string, RegionGroup > m_region_groups

References lock(), m_data_mutex, and m_region_groups.

+ Here is the call graph for this function: