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

◆ declare_controls()

template<typename C>
C & MayaFlux::Nodes::Network::NetworkOperator::declare_controls ( )
inlinenodiscardprotected

Create the operator's controls struct and keep it alive.

Returns
The struct, owned by this operator, for the derived class to read.

Call once from the constructor's initializer list and hold the result in a reference member. The struct must be described and every member a Control.

Definition at line 132 of file NetworkOperator.hpp.

133 {
134 return m_controls_store.declare<C>();
135 }

References m_controls_store.

Referenced by MayaFlux::Nodes::Network::RewriteOperator::declare(), MayaFlux::Nodes::Network::FieldOperator::FieldOperator(), MayaFlux::Nodes::Network::GpuFieldOperator::GpuFieldOperator(), MayaFlux::Nodes::Network::JunctionOperator::JunctionOperator(), MayaFlux::Nodes::Network::ModalDampingOperator::ModalDampingOperator(), MayaFlux::Nodes::Network::PathOperator::PathOperator(), MayaFlux::Nodes::Network::PhysicsOperator::PhysicsOperator(), MayaFlux::Nodes::Network::ReedOperator::ReedOperator(), MayaFlux::Nodes::Network::TopologyOperator::TopologyOperator(), and MayaFlux::Nodes::Network::WalkOperator::WalkOperator().

Here is the caller graph for this function: