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

◆ source()

Source MayaFlux::Portal::Forma::Plot::source ( )
inline

Begin a Source chain.

Constructs a PlotContainer incrementally via .as().from() pairs. The raw PlotContainer API remains available after .build() for cases the builder cannot express.

auto container = Plot::source()
.as("fm_sine", 512, Role::SPATIAL_Y, DataModality::AUDIO_1D).from(sine)
.as("mod", 512, Role::SPATIAL_Y, DataModality::AUDIO_1D).from(mod)
.build();
std::shared_ptr< Kakshya::PlotContainer > build()
Finalise and return the constructed container.
Source & from(std::shared_ptr< Nodes::Node > node)
Bind a Node to the last series added by as().
Source & as(std::string name, uint64_t count, Kakshya::DataDimension::Role role, Kakshya::DataModality modality)
Add a named series and record its index for the next with() call.
Source source()
Begin a Source chain.
Definition Plot.hpp:128

Definition at line 128 of file Plot.hpp.

129{
130 return Source {};
131}
Chainable builder for PlotContainer construction.