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 (based on compiler 0.14.1-yarped)
7// yarpidl_thrift version 2.0 - 11/11/2026
8// Protocol version: protocol_version=0, yarp_major=4, yarp_minor=0, yarp_patch=2
9// This is an automatically generated file.
10// It could get re-generated if the ALLOW_IDL_GENERATION flag is on.
11
12#ifndef YARP_THRIFT_GENERATOR_SERVICE_IJOYPADCONTROLMSGS_H
13#define YARP_THRIFT_GENERATOR_SERVICE_IJOYPADCONTROLMSGS_H
14
15#include <yarp/os/Wire.h>
32
33namespace yarp::dev {
34
36 public yarp::os::Wire
37{
38public:
39 //ProtocolVersion
42 virtual bool checkProtocolVersion();
43
44 // Constructor
46
47 //Service methods
49
51
53
55
57
59
60 virtual return_getButton getButton(const std::int32_t button_id);
61
62 virtual return_getTrackball getTrackball(const std::int32_t trackball_id);
63
64 virtual return_getHat getHat(const std::int32_t hat_id);
65
66 virtual return_getAxis getAxis(const std::int32_t axis_id);
67
69
71
72 virtual return_getTouch getTouch(const std::int32_t touch_id);
73
74 // help method
75 virtual std::vector<std::string> help(const std::string& functionName = "--all");
76
77 // read from ConnectionReader
78 bool read(yarp::os::ConnectionReader& connection) override;
79};
80
81} // namespace yarp::dev
82
83#endif // YARP_THRIFT_GENERATOR_SERVICE_IJOYPADCONTROLMSGS_H
FeatureMode mode
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.