MayaFlux 0.4.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 159 of file PlotContainer.cpp.

161{
162 auto& p = ensure_processor();
163 p.bind_network(series_index, std::move(network));
164 p.set_series_semantics(series_index, m_structure.dimensions[series_index].role,
167}
Core::GlobalNetworkConfig network
Definition Config.cpp:37
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: