Robot Raconteur Companion C++ Library
Loading...
Searching...
No Matches
hid__joystick_parser.h
1#include "yaml_parser_common_include.h"
2
3#pragma once
4
5namespace YAML
6{
7
8template <>
9struct ROBOTRACONTEUR_COMPANION_INFOPARSER_API convert<com::robotraconteur::hid::joystick::JoystickInfoPtr>
10{
11 static Node encode(const com::robotraconteur::hid::joystick::JoystickInfoPtr& rhs);
12 static bool decode(const Node& node, com::robotraconteur::hid::joystick::JoystickInfoPtr& rhs);
13};
14
15template <>
16struct ROBOTRACONTEUR_COMPANION_INFOPARSER_API convert<com::robotraconteur::hid::joystick::JoystickStatePtr>
17{
18 static Node encode(const com::robotraconteur::hid::joystick::JoystickStatePtr& rhs);
19 static bool decode(const Node& node, com::robotraconteur::hid::joystick::JoystickStatePtr& rhs);
20};
21
22template <>
23struct ROBOTRACONTEUR_COMPANION_INFOPARSER_API convert<com::robotraconteur::hid::joystick::GamepadStatePtr>
24{
25 static Node encode(const com::robotraconteur::hid::joystick::GamepadStatePtr& rhs);
26 static bool decode(const Node& node, com::robotraconteur::hid::joystick::GamepadStatePtr& rhs);
27};
28
29template <>
30struct ROBOTRACONTEUR_COMPANION_INFOPARSER_API convert<com::robotraconteur::hid::joystick::JoystickStateSensorDataPtr>
31{
32 static Node encode(const com::robotraconteur::hid::joystick::JoystickStateSensorDataPtr& rhs);
33 static bool decode(const Node& node, com::robotraconteur::hid::joystick::JoystickStateSensorDataPtr& rhs);
34};
35
36} // namespace YAML