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

◆ mark_dimension_consumed()

void MayaFlux::Kakshya::SoundStreamContainer::mark_dimension_consumed ( uint32_t  dimension_index,
uint32_t  reader_id 
)
overridevirtual

Mark a dimension as consumed for the current processing cycle.

Parameters
dimension_indexIndex of the dimension that was processed
reader_idReader ID for the dimension

Implements MayaFlux::Kakshya::SignalSourceContainer.

Definition at line 710 of file SoundStreamContainer.cpp.

711{
712 if (m_reader_consumed_dimensions.contains(reader_id)) {
713 m_reader_consumed_dimensions[reader_id].insert(dimension_index);
714 } else {
715
716 MF_WARN(Journal::Component::Kakshya, Journal::Context::ContainerProcessing, "Attempted to mark dimension {} as consumed for unknown reader_id {}. This may indicate the reader was not registered or has already been unregistered. Please ensure readers are properly registered before marking dimensions as consumed.",
717 dimension_index, reader_id);
718 }
719}
#define MF_WARN(comp, ctx,...)
std::unordered_map< uint32_t, std::unordered_set< uint32_t > > m_reader_consumed_dimensions
@ ContainerProcessing
Container operations (Kakshya - file/stream/region processing)
@ Kakshya
Containers[Signalsource, Stream, File], Regions, DataProcessors.

References MayaFlux::Journal::ContainerProcessing, MayaFlux::Journal::Kakshya, m_reader_consumed_dimensions, and MF_WARN.