OSSIA
Open Scenario System for Interactive Application
Loading...
Searching...
No Matches
execution_policy.hpp
1#pragma once
2#include <ossia/detail/config.hpp>
3#if SIZE_MAX == 0xFFFFFFFF // 32-bit
4#include <ossia/dataflow/audio_port.hpp>
5#include <ossia/dataflow/midi_port.hpp>
6#include <ossia/dataflow/value_port.hpp>
7#endif
8
9namespace ossia
10{
11namespace net
12{
13class parameter_base;
14namespace midi
15{
16class midi_parameter;
17}
18}
19class audio_parameter;
20struct audio_port;
21struct value_port;
22struct midi_port;
23struct inlet;
24struct outlet;
25struct OSSIA_TEST_EXPORT execution_state_policy
26{
27 execution_state_policy();
28 execution_state_policy(const execution_state_policy&) = delete;
29 execution_state_policy(execution_state_policy&&) = delete;
30 execution_state_policy& operator=(const execution_state_policy&) = delete;
31 execution_state_policy& operator=(execution_state_policy&&) = delete;
32
33 virtual ~execution_state_policy();
34
35 virtual void commit() = 0;
36
37 virtual void clear_local_state() = 0;
38 //virtual void reset() = 0;
39
40 virtual bool find_and_copy(net::parameter_base& addr, inlet& in) = 0;
41 virtual bool in_local_scope(net::parameter_base& other) const = 0;
42
43 virtual void insert(ossia::net::parameter_base& dest, const ossia::value_port& v) = 0;
44 virtual void insert(ossia::audio_parameter& dest, const audio_port& v) = 0;
45 virtual void insert(ossia::net::midi::midi_parameter& dest, const midi_port& v) = 0;
46};
47}
The parameter_base class.
Definition ossia/network/base/parameter.hpp:48
Definition git_info.h:7