|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| bool MayaFlux::Buffers::BufferProcessingChain::add_processor | ( | const std::shared_ptr< BufferProcessor > & | processor, |
| const std::shared_ptr< Buffer > & | buffer, | ||
| std::string * | rejection_reason = nullptr |
||
| ) |
Adds a processor to the transformation pipeline for a specific buffer.
| processor | Processor to add |
| buffer | Buffer to associate with this processor |
| rejection_reason | Optional reason for rejection if the processor cannot be added |
The processor is added to the end of the transformation sequence for the specified buffer. If this is the first processor for the buffer, a new sequence is created. The chain performs intelligent validation and optimization:
Definition at line 9 of file BufferProcessingChain.cpp.
References add_processor_direct(), m_is_processing, and queue_pending_processor_op().
Referenced by MayaFlux::Buffers::FileToStreamChain::attach_to_buffer().
Here is the call graph for this function:
Here is the caller graph for this function: