ExecutionFunctions.hpp
1 #pragma once
2 #include <score/tools/std/Optional.hpp>
3 
4 #include <ossia/network/value/destination.hpp>
5 
6 #include <score_lib_process_export.h>
7 
8 namespace State
9 {
10 struct Address;
11 struct AddressAccessor;
12 }
13 namespace ossia
14 {
15 struct execution_state;
16 }
17 namespace ossia::net
18 {
19 class node_base;
20 }
21 namespace Execution
22 {
23 
24 SCORE_LIB_PROCESS_EXPORT
25 ossia::net::node_base*
26 findNode(const ossia::execution_state& st, const State::Address& addr);
27 
28 SCORE_LIB_PROCESS_EXPORT
29 std::optional<ossia::destination> makeDestination(
30  const ossia::execution_state& devices, const State::AddressAccessor& addr);
31 }
Components used for the execution of a score.
Definition: ProcessComponent.cpp:12
Utilities for OSSIA data structures.
Definition: DeviceInterface.hpp:33
Definition: Address.hpp:108
The Address struct.
Definition: Address.hpp:58