YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
IJoypadControlMsgs.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3 * SPDX-License-Identifier: BSD-3-Clause
4 */
5
6// Autogenerated by Thrift Compiler (0.14.1-yarped)
7//
8// This is an automatically generated file.
9// It could get re-generated if the ALLOW_IDL_GENERATION flag is on.
10
11#ifndef YARP_THRIFT_GENERATOR_SERVICE_IJOYPADCONTROLMSGS_H
12#define YARP_THRIFT_GENERATOR_SERVICE_IJOYPADCONTROLMSGS_H
13
14#include <yarp/os/Wire.h>
31
32namespace yarp::dev {
33
35 public yarp::os::Wire
36{
37public:
38 //ProtocolVersion
41 virtual bool checkProtocolVersion();
42
43 // Constructor
45
46 //Service methods
48
50
52
54
56
58
59 virtual return_getButton getButton(const std::int32_t button_id);
60
61 virtual return_getTrackball getTrackball(const std::int32_t trackball_id);
62
63 virtual return_getHat getHat(const std::int32_t hat_id);
64
65 virtual return_getAxis getAxis(const std::int32_t axis_id);
66
68
69 virtual return_getStick getStick(const std::int32_t stick_id, const yarp::dev::IJoypadController::JoypadCtrl_coordinateMode mode);
70
71 virtual return_getTouch getTouch(const std::int32_t touch_id);
72
73 // help method
74 virtual std::vector<std::string> help(const std::string& functionName = "--all");
75
76 // read from ConnectionReader
77 bool read(yarp::os::ConnectionReader& connection) override;
78};
79
80} // namespace yarp::dev
81
82#endif // YARP_THRIFT_GENERATOR_SERVICE_IJOYPADCONTROLMSGS_H
virtual return_getAxis getAxis(const std::int32_t axis_id)
virtual return_getHat getHat(const std::int32_t hat_id)
virtual return_getHatCount getHatCount()
virtual return_getAllAxes getAllAxes()
virtual return_getAxisCount getAxisCount()
virtual return_getTrackballCount getTrackballCount()
virtual return_getStick getStick(const std::int32_t stick_id, const yarp::dev::IJoypadController::JoypadCtrl_coordinateMode mode)
virtual yarp::os::ApplicationNetworkProtocolVersion getLocalProtocolVersion()
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
virtual return_getButton getButton(const std::int32_t button_id)
virtual return_getTouchSurfaceCount getTouchSurfaceCount()
virtual return_getTouch getTouch(const std::int32_t touch_id)
virtual std::vector< std::string > help(const std::string &functionName="--all")
virtual return_getButtonCount getButtonCount()
virtual return_getTrackball getTrackball(const std::int32_t trackball_id)
virtual yarp::os::ApplicationNetworkProtocolVersion getRemoteProtocolVersion()
virtual return_getStickCount getStickCount()
An interface for reading from a network connection.
Base class for IDL client/server.
Definition Wire.h:18
For streams capable of holding different kinds of content, check what they actually have.