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

◆ on_detach()

void MayaFlux::Kakshya::RegionProcessorBase::on_detach ( 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 25 of file RegionProcessorBase.cpp.

26{
27 m_container_weak.reset();
28 m_cache_manager.reset();
29 m_organized_regions.clear();
30 m_current_position.clear();
31}
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.