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

◆ on_detach()

void MayaFlux::Kakshya::RegionProcessorBase::on_detach ( const std::shared_ptr< SignalSourceContainer > &  container)
overridevirtual

Detach this processor from its container.

Cleans up region organization and cache state.

Parameters
containerThe SignalSourceContainer to detach from.

Implements MayaFlux::Kakshya::DataProcessor.

Definition at line 27 of file RegionProcessorBase.cpp.

28{
29 m_container_weak.reset();
30 m_cache_manager.reset();
31 m_organized_regions.clear();
32 m_current_position.clear();
33}
std::unique_ptr< RegionCacheManager > m_cache_manager
std::vector< OrganizedRegion > m_organized_regions
std::weak_ptr< SignalSourceContainer > m_container_weak

References m_cache_manager, m_container_weak, m_current_position, and m_organized_regions.