Loading...
Searching...
No Matches
oscr::setup_control_for_exec< Node, Field, N, NField > Struct Template Reference
Inheritance diagram for oscr::setup_control_for_exec< Node, Field, N, NField >:
Public Types | |
| using | ExecNode = safe_node< Node > |
| using | Model = ProcessModel< Node > |
Public Types inherited from oscr::setup_control_for_exec_base< Node, Field > | |
| using | ExecNode = safe_node< Node > |
| using | Model = ProcessModel< Node > |
Public Member Functions | |
| void | initialize_control (Field ¶m, Process::ControlInlet *inlet, int k) |
| void | update_controller (Field ¶m, Process::ControlInlet *inlet) |
| bool | reconnect_control_to_ui (dynamic_ports_component_data< Node > &control_data, Field ¶m, Process::ControlInlet *inlet, int k) |
| void | push_current_value (Field ¶m, Process::ControlInlet *inlet, int k) |
| void | connect_control_to_ui (dynamic_ports_component_data< Node > &control_data, Field ¶m, Process::ControlInlet *inlet, int k) |
Public Member Functions inherited from oscr::setup_control_for_exec_base< Node, Field > | |
| void | invoke_update (Field ¶m, int k) |
Additional Inherited Members | |
Public Attributes inherited from oscr::setup_control_for_exec_base< Node, Field > | |
| Model & | element |
| const Execution::Context & | ctx |
| const std::shared_ptr< ExecNode > & | node_ptr |
| QObject * | parent |
Member Function Documentation
◆ push_current_value()
template<typename Node , typename Field , std::size_t N, std::size_t NField>
|
inline |
Sends the current value of the inlet to the exec node, the way a change from the UI would. For a port that appears during execution: nobody initialized the exec side with its value.
◆ reconnect_control_to_ui()
template<typename Node , typename Field , std::size_t N, std::size_t NField>
|
inline |
Connects inlet -> exec unless it already is. Returns whether a connection was made. Used both at creation and when ports are added by a resize.
The documentation for this struct was generated from the following file:
Public Types inherited from