MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Buffers::QuickProcess< FuncType > Class Template Reference

#include <QuickProcess.hpp>

+ Inheritance diagram for MayaFlux::Buffers::QuickProcess< FuncType >:
+ Collaboration diagram for MayaFlux::Buffers::QuickProcess< FuncType >:

Public Member Functions

 QuickProcess (FuncType function)
 
void processing_function (const std::shared_ptr< Buffer > &buffer) override
 The core processing function that must be implemented by derived classes.
 
void on_attach (const std::shared_ptr< Buffer > &) override
 Called when this processor is attached to a buffer.
 
bool is_compatible_with (const std::shared_ptr< Buffer > &buffer) const override
 Checks if this processor can handle the specified buffer type.
 
- Public Member Functions inherited from MayaFlux::Buffers::BufferProcessor
virtual ~BufferProcessor ()=default
 Virtual destructor for proper cleanup of derived classes.
 
void process (const std::shared_ptr< Buffer > &buffer)
 Applies a computational transformation to the data in the provided buffer.
 
virtual void on_detach (const 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

FuncType m_function
 

Additional Inherited Members

- Protected Attributes inherited from MayaFlux::Buffers::BufferProcessor
ProcessingToken m_processing_token { ProcessingToken::AUDIO_BACKEND }
 

Detailed Description

template<typename FuncType>
class MayaFlux::Buffers::QuickProcess< FuncType >

Definition at line 9 of file QuickProcess.hpp.


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