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

◆ bind() [3/4]

void MayaFlux::Kakshya::PlotContainer::bind ( uint32_t  series_index,
std::shared_ptr< Nodes::Network::NodeNetwork >  network 
)

Bind a series to a NodeNetwork with audio output.

Each process() reads get_audio_buffer() from the network. Fails at bind time if the network has no audio output mode.

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

Definition at line 181 of file PlotContainer.cpp.

183{
184 if (!series_in_range(m_structure.dimensions.size(), series_index, "bind"))
185 return;
186 auto& p = ensure_processor();
187 p.bind_network(series_index, std::move(network));
188 p.set_series_semantics(series_index, m_structure.dimensions[series_index].role,
191}
Core::GlobalNetworkConfig network
Definition Config.cpp:43
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(), MayaFlux::Kakshya::ContainerDataStructure::modality, and network.

+ Here is the call graph for this function: