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

◆ bind() [4/4]

void MayaFlux::Kakshya::PlotContainer::bind ( uint32_t  series_index,
std::shared_ptr< Nodes::Node node 
)

Bind a series to a Node.

Each process() fills the series by calling Buffers::extract_multiple_samples(node, series_size), which handles snapshot context and node lifecycle identically to NodeSourceProcessor.

Parameters
series_indexIndex returned by add_series().
nodeNode to read from.

Definition at line 140 of file PlotContainer.cpp.

141{
142 auto& p = ensure_processor();
143 p.bind_node(series_index, std::move(node));
144 p.set_series_semantics(series_index, m_structure.dimensions[series_index].role,
147}
PlotProcessor & ensure_processor()
Return the PlotProcessor, creating and attaching it if absent.
void mark_ready_for_processing(bool ready) override
Mark the container as ready or not ready for processing.
ContainerDataStructure m_structure

References MayaFlux::Kakshya::ContainerDataStructure::dimensions, ensure_processor(), m_structure, mark_ready_for_processing(), and MayaFlux::Kakshya::ContainerDataStructure::modality.

+ Here is the call graph for this function: