2 #include <ossia/network/base/protocol.hpp>
3 #include <ossia/network/context_functions.hpp>
16 leapmotion_protocol(ossia::net::network_context_ptr);
17 ~leapmotion_protocol();
21 bool pull(net::parameter_base&)
override;
22 bool push(
const net::parameter_base&,
const ossia::value& v)
override;
23 bool push_raw(
const net::full_parameter_data&)
override;
24 bool observe(net::parameter_base&,
bool)
override;
25 bool update(net::node_base& node_base)
override;
27 ossia::net::network_context_ptr m_context;
29 std::unique_ptr<leap_listener> listener;
30 std::unique_ptr<Leap::Controller> controller;
Root of a device tree.
Definition: ossia/network/base/device.hpp:58
The protocol_base class.
Definition: protocol.hpp:40
The value class.
Definition: value.hpp:173