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

◆ set_raw()

void MayaFlux::Kakshya::PlotContainer::set_raw ( uint32_t  series_index,
std::vector< double >  data 
)

Push raw sample data into a series.

Lock-free pending swap committed on the next process() call. May be called from any thread.

Parameters
series_indexIndex returned by add_series().
dataSamples to write. Size should match series capacity.

Definition at line 179 of file PlotContainer.cpp.

180{
181 auto& p = ensure_processor();
182 p.set_raw(series_index, std::move(data));
183 p.set_series_semantics(series_index, m_structure.dimensions[series_index].role,
186}
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: