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 (based on compiler 0.14.1-yarped)
7// yarpidl_thrift version 2.0 - 11/11/2026
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
40public:
41 // Default constructor
43
44 // Constructor with field values
57
58 // Read structure on a Wire
59 bool read(yarp::os::idl::WireReader& reader) override;
60
61 // Read structure on a Connection
62 bool read(yarp::os::ConnectionReader& connection) override;
63
64 // Write structure on a Wire
65 bool write(const yarp::os::idl::WireWriter& writer) const override;
66
67 // Write structure on a Connection
68 bool write(yarp::os::ConnectionWriter& connection) const override;
69
70 // Convert to a printable string
71 std::string toString() const;
72
73 // If you want to serialize this class without nesting, use this helper
75
76private:
77 // read/write ThreeAxisGyroscopes field
78 bool read_ThreeAxisGyroscopes(yarp::os::idl::WireReader& reader);
79 bool write_ThreeAxisGyroscopes(const yarp::os::idl::WireWriter& writer) const;
80 bool nested_read_ThreeAxisGyroscopes(yarp::os::idl::WireReader& reader);
81 bool nested_write_ThreeAxisGyroscopes(const yarp::os::idl::WireWriter& writer) const;
82
83 // read/write ThreeAxisLinearAccelerometers field
84 bool read_ThreeAxisLinearAccelerometers(yarp::os::idl::WireReader& reader);
85 bool write_ThreeAxisLinearAccelerometers(const yarp::os::idl::WireWriter& writer) const;
86 bool nested_read_ThreeAxisLinearAccelerometers(yarp::os::idl::WireReader& reader);
87 bool nested_write_ThreeAxisLinearAccelerometers(const yarp::os::idl::WireWriter& writer) const;
88
89 // read/write ThreeAxisMagnetometers field
90 bool read_ThreeAxisMagnetometers(yarp::os::idl::WireReader& reader);
91 bool write_ThreeAxisMagnetometers(const yarp::os::idl::WireWriter& writer) const;
92 bool nested_read_ThreeAxisMagnetometers(yarp::os::idl::WireReader& reader);
93 bool nested_write_ThreeAxisMagnetometers(const yarp::os::idl::WireWriter& writer) const;
94
95 // read/write OrientationSensors field
96 bool read_OrientationSensors(yarp::os::idl::WireReader& reader);
97 bool write_OrientationSensors(const yarp::os::idl::WireWriter& writer) const;
98 bool nested_read_OrientationSensors(yarp::os::idl::WireReader& reader);
99 bool nested_write_OrientationSensors(const yarp::os::idl::WireWriter& writer) const;
100
101 // read/write TemperatureSensors field
102 bool read_TemperatureSensors(yarp::os::idl::WireReader& reader);
103 bool write_TemperatureSensors(const yarp::os::idl::WireWriter& writer) const;
104 bool nested_read_TemperatureSensors(yarp::os::idl::WireReader& reader);
105 bool nested_write_TemperatureSensors(const yarp::os::idl::WireWriter& writer) const;
106
107 // read/write SixAxisForceTorqueSensors field
108 bool read_SixAxisForceTorqueSensors(yarp::os::idl::WireReader& reader);
109 bool write_SixAxisForceTorqueSensors(const yarp::os::idl::WireWriter& writer) const;
110 bool nested_read_SixAxisForceTorqueSensors(yarp::os::idl::WireReader& reader);
111 bool nested_write_SixAxisForceTorqueSensors(const yarp::os::idl::WireWriter& writer) const;
112
113 // read/write ContactLoadCellArrays field
114 bool read_ContactLoadCellArrays(yarp::os::idl::WireReader& reader);
115 bool write_ContactLoadCellArrays(const yarp::os::idl::WireWriter& writer) const;
116 bool nested_read_ContactLoadCellArrays(yarp::os::idl::WireReader& reader);
117 bool nested_write_ContactLoadCellArrays(const yarp::os::idl::WireWriter& writer) const;
118
119 // read/write EncoderArrays field
120 bool read_EncoderArrays(yarp::os::idl::WireReader& reader);
121 bool write_EncoderArrays(const yarp::os::idl::WireWriter& writer) const;
122 bool nested_read_EncoderArrays(yarp::os::idl::WireReader& reader);
123 bool nested_write_EncoderArrays(const yarp::os::idl::WireWriter& writer) const;
124
125 // read/write SkinPatches field
126 bool read_SkinPatches(yarp::os::idl::WireReader& reader);
127 bool write_SkinPatches(const yarp::os::idl::WireWriter& writer) const;
128 bool nested_read_SkinPatches(yarp::os::idl::WireReader& reader);
129 bool nested_write_SkinPatches(const yarp::os::idl::WireWriter& writer) const;
130
131 // read/write PositionSensors field
132 bool read_PositionSensors(yarp::os::idl::WireReader& reader);
133 bool write_PositionSensors(const yarp::os::idl::WireWriter& writer) const;
134 bool nested_read_PositionSensors(yarp::os::idl::WireReader& reader);
135 bool nested_write_PositionSensors(const yarp::os::idl::WireWriter& writer) const;
136
137 // read/write LinearVelocitySensors field
138 bool read_LinearVelocitySensors(yarp::os::idl::WireReader& reader);
139 bool write_LinearVelocitySensors(const yarp::os::idl::WireWriter& writer) const;
140 bool nested_read_LinearVelocitySensors(yarp::os::idl::WireReader& reader);
141 bool nested_write_LinearVelocitySensors(const yarp::os::idl::WireWriter& writer) const;
142
143 // read/write ThreeAxisAngularAccelerometers field
144 bool read_ThreeAxisAngularAccelerometers(yarp::os::idl::WireReader& reader);
145 bool write_ThreeAxisAngularAccelerometers(const yarp::os::idl::WireWriter& writer) const;
146 bool nested_read_ThreeAxisAngularAccelerometers(yarp::os::idl::WireReader& reader);
147 bool nested_write_ThreeAxisAngularAccelerometers(const yarp::os::idl::WireWriter& writer) const;
148};
149
150} // namespace yarp::dev
151
152#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