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

◆ get_all_region_groups()

std::unordered_map< std::string, RegionGroup > MayaFlux::Kakshya::VideoStreamContainer::get_all_region_groups ( ) const
overridevirtual

Get all region groups in the container.

Returns
Map of region group names to RegionGroup objects

Implements MayaFlux::Kakshya::NDDataContainer.

Definition at line 297 of file VideoStreamContainer.cpp.

298{
299 std::optional<std::unordered_map<std::string, RegionGroup>> result;
301 result = m_region_groups;
302 });
303 return result.value_or(std::unordered_map<std::string, RegionGroup> {});
304}
std::unordered_map< std::string, RegionGroup > m_region_groups
bool seqlock_read_void(const Seqlock &lock, uint32_t max_attempts, Fn &&fn)
Invoke a void read functor under a Seqlock with a bounded retry count.
Definition SeqLock.hpp:222

References m_region_groups, and m_region_lock.