OSSIA
Open Scenario System for Interactive Application
state_element_fwd.hpp
Go to the documentation of this file.
1 #pragma once
2 #include <ossia/detail/config.hpp>
3 
4 #include <ossia/detail/nullable_variant.hpp>
8 namespace ossia
9 {
10 struct message;
11 struct piecewise_message;
12 template <std::size_t N>
13 struct piecewise_vec_message;
14 class state;
15 
26 using state_element = ossia::nullable_variant<
27  message, state, piecewise_message, piecewise_vec_message<2>,
28  piecewise_vec_message<3>, piecewise_vec_message<4>>;
29 
30 template <std::size_t N>
31 using state_element_by_index =
32  typename ossia::variant_element_t<N, ossia::state_element>;
33 }
The state class.
Definition: editor/state/state.hpp:25
Definition: git_info.h:7
ossia::nullable_variant< message, state, piecewise_message, piecewise_vec_message< 2 >, piecewise_vec_message< 3 >, piecewise_vec_message< 4 > > state_element
Definition: state_element_fwd.hpp:28
The message struct.
Definition: message.hpp:29