58 virtual void process_default()
override;
67 virtual void resize(uint32_t num_samples)
override;
77 void set_node_output(
const std::vector<double>& data);
83 inline const std::vector<double>&
get_node_output()
const {
return m_node_output; }
99 inline virtual void set_token_active(
bool active)
override { m_token_active = active; }
115 virtual std::shared_ptr<BufferProcessor> create_default_processor()
override;
173 void processing_function(std::shared_ptr<Buffer> buffer)
override;
182 void on_attach(std::shared_ptr<Buffer> buffer)
override;
189 bool is_compatible_with(std::shared_ptr<Buffer> buffer)
const override;
234 void processing_function(std::shared_ptr<Buffer> buffer)
override;
243 void on_attach(std::shared_ptr<Buffer> buffer)
override;
250 bool is_compatible_with(std::shared_ptr<Buffer> buffer)
const override;
Central computational transformation interface for continuous buffer processing.
std::shared_ptr< RootAudioBuffer > m_root_buffer
Shared pointer to the root buffer this processor manages.
Processor that implements hierarchical data aggregation for root buffers.
Processor that enforces boundary conditions on output data.
const std::vector< double > & get_node_output() const
Gets the current node network output data.
bool m_token_active
Flag indicating if this buffer is active for token processing.
std::vector< double > m_node_output
Data received directly from computational node networks.
bool m_has_node_output
Flag indicating if node network output data is present.
~RootAudioBuffer() override=default
Virtual destructor for proper resource management.
virtual bool is_token_active() const override
Checks if the buffer is active for its assigned token.
virtual void set_token_active(bool active) override
Activates/deactivates processing for the current token.
bool has_node_output() const
Checks if this buffer has node network output data.
Top-level aggregation buffer for computational data streams.