MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ get_node_data()

std::vector< double > MayaFlux::Buffers::NodeSourceProcessor::get_node_data ( uint32_t  num_samples)
private

Gets a batch of data from the node.

Parameters
num_samplesNumber of samples to retrieve
Returns
Vector of data samples

This method handles the interaction with the node's processing mechanism, ensuring thread-safe access and proper state management.

Definition at line 56 of file NodeBuffer.cpp.

57{
58 return Buffers::extract_multiple_samples(m_node, num_samples);
59}
std::shared_ptr< Nodes::Node > m_node
Source node that generates sequential data values.
std::vector< double > extract_multiple_samples(const std::shared_ptr< Nodes::Node > &node, size_t num_samples)
Extract multiple samples from a node into a vector.

References MayaFlux::Buffers::extract_multiple_samples(), and m_node.

+ Here is the call graph for this function: