MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Buffers::VKBufferProcessor Class Reference

#include <VKBuffer.hpp>

+ Inheritance diagram for MayaFlux::Buffers::VKBufferProcessor:
+ Collaboration diagram for MayaFlux::Buffers::VKBufferProcessor:

Protected Member Functions

void ensure_initialized (const std::shared_ptr< VKBuffer > &buffer)
 
void initialize_buffer_service ()
 
void initialize_compute_service ()
 

Protected Attributes

Registry::Service::BufferServicem_buffer_service = nullptr
 
Registry::Service::ComputeServicem_compute_service = nullptr
 
- Protected Attributes inherited from MayaFlux::Buffers::BufferProcessor
ProcessingToken m_processing_token { ProcessingToken::AUDIO_BACKEND }
 

Additional Inherited Members

- Public Member Functions inherited from MayaFlux::Buffers::BufferProcessor
virtual ProcessingToken get_processing_token () const
 Gets the current processing token for this buffer.
 
virtual bool is_compatible_with (const std::shared_ptr< Buffer > &) const
 Checks if this processor can handle the specified buffer type.
 
virtual void on_attach (const std::shared_ptr< Buffer > &)
 Called when this processor is attached to a buffer.
 
virtual void on_detach (const std::shared_ptr< Buffer > &)
 Called when this processor is detached from a buffer.
 
void process (const std::shared_ptr< Buffer > &buffer)
 Applies a computational transformation to the data in the provided buffer.
 
virtual void processing_function (const std::shared_ptr< Buffer > &buffer)=0
 The core processing function that must be implemented by derived classes.
 
virtual void set_processing_token (ProcessingToken token)
 Gets the preferred processing backend for this processor.
 
virtual ~BufferProcessor ()=default
 Virtual destructor for proper cleanup of derived classes.
 

Detailed Description

Definition at line 649 of file VKBuffer.hpp.


The documentation for this class was generated from the following files: