|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
Simple processor for dispatching input data to listeners. More...
#include <InputAudioBuffer.hpp>
Inheritance diagram for MayaFlux::Buffers::InputAccessProcessor:
Collaboration diagram for MayaFlux::Buffers::InputAccessProcessor:Public Member Functions | |
| void | processing_function (std::shared_ptr< Buffer > buffer) override |
| Main processing function - dispatches data to listeners. | |
| void | on_attach (std::shared_ptr< Buffer > buffer) override |
| Called when processor is attached to a buffer. | |
| bool | is_compatible_with (std::shared_ptr< Buffer > buffer) const override |
| Checks compatibility with buffer type. | |
| void | add_listener (std::shared_ptr< AudioBuffer > buffer) |
| Adds a listener buffer. | |
| void | remove_listener (std::shared_ptr< AudioBuffer > buffer) |
| Removes a listener buffer. | |
| size_t | get_listener_count () const |
| Gets the number of registered listeners. | |
| void | clear_listeners () |
Public Member Functions inherited from MayaFlux::Buffers::BufferProcessor | |
| virtual | ~BufferProcessor ()=default |
| Virtual destructor for proper cleanup of derived classes. | |
| void | process (std::shared_ptr< Buffer > buffer) |
| Applies a computational transformation to the data in the provided buffer. | |
| virtual void | on_detach (std::shared_ptr< Buffer >) |
| Called when this processor is detached from a buffer. | |
| virtual void | set_processing_token (ProcessingToken token) |
| Gets the preferred processing backend for this processor. | |
| virtual ProcessingToken | get_processing_token () const |
| Gets the current processing token for this buffer. | |
Private Attributes | |
| std::vector< std::shared_ptr< AudioBuffer > > | m_listeners |
Additional Inherited Members | |
Protected Attributes inherited from MayaFlux::Buffers::BufferProcessor | |
| ProcessingToken | m_processing_token { ProcessingToken::AUDIO_BACKEND } |
Simple processor for dispatching input data to listeners.
Handles the distribution of input data to registered listener buffers. No complex features - just clean, stable dispatch.
Definition at line 76 of file InputAudioBuffer.hpp.