2#include <ossia/dataflow/execution/execution_policy.hpp>
3#include <ossia/dataflow/typed_value.hpp>
4#include <ossia/dataflow/value_vector.hpp>
5#include <ossia/detail/audio_spin_mutex.hpp>
6#include <ossia/detail/hash_map.hpp>
8#include <libremidi/ump.hpp>
13struct OSSIA_TEST_EXPORT local_state_execution_policy : execution_state_policy
15 local_state_execution_policy();
16 virtual ~local_state_execution_policy();
18 bool find_and_copy(net::parameter_base& addr, inlet& in)
override;
19 void clear_local_state()
override;
23 bool in_local_scope(net::parameter_base& other)
const override;
26 void insert(ossia::audio_parameter& dest,
const audio_port& v)
override;
27 void insert(ossia::net::midi::midi_parameter& dest,
const midi_port& v)
override;
29 mutable ossia::audio_spin_mutex mutex;
36 ossia::hash_map<ossia::net::parameter_base*, value_vector<std::pair<typed_value, int>>>
40 ossia::hash_map<ossia::audio_parameter*, audio_port> m_audioState;
43 ossia::hash_map<ossia::net::parameter_base*, value_vector<libremidi::ump>> m_midiState;
The parameter_base class.
Definition ossia/network/base/parameter.hpp:48