YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
SensorStreamingData.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_STRUCT_SENSORSTREAMINGDATA_H
12#define YARP_THRIFT_GENERATOR_STRUCT_SENSORSTREAMINGDATA_H
13
14#include <yarp/dev/api.h>
15
16#include <yarp/os/Wire.h>
19
20namespace yarp::dev {
21
24{
25public:
26 // Fields
39
40 // Default constructor
42
43 // Constructor with field values
56
57 // Read structure on a Wire
58 bool read(yarp::os::idl::WireReader& reader) override;
59
60 // Read structure on a Connection
61 bool read(yarp::os::ConnectionReader& connection) override;
62
63 // Write structure on a Wire
64 bool write(const yarp::os::idl::WireWriter& writer) const override;
65
66 // Write structure on a Connection
67 bool write(yarp::os::ConnectionWriter& connection) const override;
68
69 // Convert to a printable string
70 std::string toString() const;
71
72 // If you want to serialize this class without nesting, use this helper
74
75private:
76 // read/write ThreeAxisGyroscopes field
77 bool read_ThreeAxisGyroscopes(yarp::os::idl::WireReader& reader);
78 bool write_ThreeAxisGyroscopes(const yarp::os::idl::WireWriter& writer) const;
79 bool nested_read_ThreeAxisGyroscopes(yarp::os::idl::WireReader& reader);
80 bool nested_write_ThreeAxisGyroscopes(const yarp::os::idl::WireWriter& writer) const;
81
82 // read/write ThreeAxisLinearAccelerometers field
83 bool read_ThreeAxisLinearAccelerometers(yarp::os::idl::WireReader& reader);
84 bool write_ThreeAxisLinearAccelerometers(const yarp::os::idl::WireWriter& writer) const;
85 bool nested_read_ThreeAxisLinearAccelerometers(yarp::os::idl::WireReader& reader);
86 bool nested_write_ThreeAxisLinearAccelerometers(const yarp::os::idl::WireWriter& writer) const;
87
88 // read/write ThreeAxisMagnetometers field
89 bool read_ThreeAxisMagnetometers(yarp::os::idl::WireReader& reader);
90 bool write_ThreeAxisMagnetometers(const yarp::os::idl::WireWriter& writer) const;
91 bool nested_read_ThreeAxisMagnetometers(yarp::os::idl::WireReader& reader);
92 bool nested_write_ThreeAxisMagnetometers(const yarp::os::idl::WireWriter& writer) const;
93
94 // read/write OrientationSensors field
95 bool read_OrientationSensors(yarp::os::idl::WireReader& reader);
96 bool write_OrientationSensors(const yarp::os::idl::WireWriter& writer) const;
97 bool nested_read_OrientationSensors(yarp::os::idl::WireReader& reader);
98 bool nested_write_OrientationSensors(const yarp::os::idl::WireWriter& writer) const;
99
100 // read/write TemperatureSensors field
101 bool read_TemperatureSensors(yarp::os::idl::WireReader& reader);
102 bool write_TemperatureSensors(const yarp::os::idl::WireWriter& writer) const;
103 bool nested_read_TemperatureSensors(yarp::os::idl::WireReader& reader);
104 bool nested_write_TemperatureSensors(const yarp::os::idl::WireWriter& writer) const;
105
106 // read/write SixAxisForceTorqueSensors field
107 bool read_SixAxisForceTorqueSensors(yarp::os::idl::WireReader& reader);
108 bool write_SixAxisForceTorqueSensors(const yarp::os::idl::WireWriter& writer) const;
109 bool nested_read_SixAxisForceTorqueSensors(yarp::os::idl::WireReader& reader);
110 bool nested_write_SixAxisForceTorqueSensors(const yarp::os::idl::WireWriter& writer) const;
111
112 // read/write ContactLoadCellArrays field
113 bool read_ContactLoadCellArrays(yarp::os::idl::WireReader& reader);
114 bool write_ContactLoadCellArrays(const yarp::os::idl::WireWriter& writer) const;
115 bool nested_read_ContactLoadCellArrays(yarp::os::idl::WireReader& reader);
116 bool nested_write_ContactLoadCellArrays(const yarp::os::idl::WireWriter& writer) const;
117
118 // read/write EncoderArrays field
119 bool read_EncoderArrays(yarp::os::idl::WireReader& reader);
120 bool write_EncoderArrays(const yarp::os::idl::WireWriter& writer) const;
121 bool nested_read_EncoderArrays(yarp::os::idl::WireReader& reader);
122 bool nested_write_EncoderArrays(const yarp::os::idl::WireWriter& writer) const;
123
124 // read/write SkinPatches field
125 bool read_SkinPatches(yarp::os::idl::WireReader& reader);
126 bool write_SkinPatches(const yarp::os::idl::WireWriter& writer) const;
127 bool nested_read_SkinPatches(yarp::os::idl::WireReader& reader);
128 bool nested_write_SkinPatches(const yarp::os::idl::WireWriter& writer) const;
129
130 // read/write PositionSensors field
131 bool read_PositionSensors(yarp::os::idl::WireReader& reader);
132 bool write_PositionSensors(const yarp::os::idl::WireWriter& writer) const;
133 bool nested_read_PositionSensors(yarp::os::idl::WireReader& reader);
134 bool nested_write_PositionSensors(const yarp::os::idl::WireWriter& writer) const;
135
136 // read/write LinearVelocitySensors field
137 bool read_LinearVelocitySensors(yarp::os::idl::WireReader& reader);
138 bool write_LinearVelocitySensors(const yarp::os::idl::WireWriter& writer) const;
139 bool nested_read_LinearVelocitySensors(yarp::os::idl::WireReader& reader);
140 bool nested_write_LinearVelocitySensors(const yarp::os::idl::WireWriter& writer) const;
141
142 // read/write ThreeAxisAngularAccelerometers field
143 bool read_ThreeAxisAngularAccelerometers(yarp::os::idl::WireReader& reader);
144 bool write_ThreeAxisAngularAccelerometers(const yarp::os::idl::WireWriter& writer) const;
145 bool nested_read_ThreeAxisAngularAccelerometers(yarp::os::idl::WireReader& reader);
146 bool nested_write_ThreeAxisAngularAccelerometers(const yarp::os::idl::WireWriter& writer) const;
147};
148
149} // namespace yarp::dev
150
151#endif // YARP_THRIFT_GENERATOR_STRUCT_SENSORSTREAMINGDATA_H
std::string toString(const T &value)
convert an arbitrary type to string.
@ ThreeAxisAngularAccelerometers
@ ThreeAxisLinearAccelerometers
yarp::os::idl::Unwrapped< SensorStreamingData > unwrapped
An interface for reading from a network connection.
An interface for writing to a network connection.
A "tamed" Portable, that promises to serialize itself in an IDL-friendly way.
IDL-friendly connection reader.
Definition WireReader.h:27
IDL-friendly connection writer.
Definition WireWriter.h:28
For streams capable of holding different kinds of content, check what they actually have.
#define YARP_dev_API
Definition api.h:18