MayaFlux 0.4.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 390 of file WindowContainer.cpp.

391{
392 static const RegionGroup empty;
393 std::shared_lock lock(m_data_mutex);
394 auto it = m_region_groups.find(name);
395 return it != m_region_groups.end() ? it->second : empty;
396}
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: