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

◆ read_osc()

std::shared_ptr< Nodes::Input::OSCNode > MayaFlux::Creator::read_osc ( const Nodes::Input::OSCConfig config,
const Core::InputBinding binding 
)

Create and register OSC input node.

Parameters
configOSC input configuration.
bindingOSC input binding (use InputBinding::osc("/address")).
Returns
Shared pointer to OSCNode (already registered).

Definition at line 163 of file Creator.cpp.

166{
167 auto node = std::make_shared<Nodes::Input::OSCNode>(config);
168 register_input_node(node, binding);
169 return node;
170}
void register_input_node(const std::shared_ptr< Nodes::Input::InputNode > &node, const Core::InputBinding &binding)
Register an input node with specified binding.
Definition Input.cpp:21

References MayaFlux::register_input_node().

Referenced by read_input().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: