MayaFlux 0.2.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 712 of file SoundStreamContainer.cpp.

713{
714 if (m_reader_consumed_dimensions.contains(reader_id)) {
715 m_reader_consumed_dimensions[reader_id].insert(dimension_index);
716 } else {
717
718 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.",
719 dimension_index, reader_id);
720 }
721}
#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.