OSSIA
Open Scenario System for Interactive Application
Loading...
Searching...
No Matches
control_message.hpp
1#pragma once
2#include <ossia/network/value/value.hpp>
3namespace ossia
4{
5struct value_port;
6struct OSSIA_EXPORT control_message
7{
8 ossia::value_port* port{};
9 ossia::value value;
10
11 void launch();
12
13 friend bool operator==(const control_message& lhs, const control_message& rhs) noexcept
14 {
15 return lhs.port == rhs.port && lhs.value == rhs.value;
16 }
17
18 friend bool operator!=(const control_message& lhs, const control_message& rhs) noexcept
19 {
20 return !(lhs == rhs);
21 }
22};
23
24}
The value class.
Definition value.hpp:173
Definition git_info.h:7
void launch(state_element &e)
launch Launch a state_element
Definition state_element.cpp:18