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

◆ on_attach()

virtual void MayaFlux::Kakshya::DataProcessor::on_attach ( std::shared_ptr< SignalSourceContainer container)
pure virtual

Called when this processor is attached to a container.

Parameters
containerContainer this processor is being attached to

This method provides an opportunity for the processor to:

  • Initialize container-specific state
  • Allocate resources needed for processing
  • Validate the container's data structure
  • Configure processing parameters based on container properties
  • Store references or metadata needed for processing

Unlike BufferProcessor which may be attached implicitly through chains, DataProcessor attachment is typically an explicit operation that triggers immediate initialization.

Implemented in MayaFlux::Kakshya::ContiguousAccessProcessor, and MayaFlux::Kakshya::RegionProcessorBase.