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/os/Wire.h>
16#include <SensorMeasurements.h>
17
20{
21public:
22 // Fields
33
34 // Default constructor
36
37 // Constructor with field values
48
49 // Read structure on a Wire
50 bool read(yarp::os::idl::WireReader& reader) override;
51
52 // Read structure on a Connection
53 bool read(yarp::os::ConnectionReader& connection) override;
54
55 // Write structure on a Wire
56 bool write(const yarp::os::idl::WireWriter& writer) const override;
57
58 // Write structure on a Connection
59 bool write(yarp::os::ConnectionWriter& connection) const override;
60
61 // Convert to a printable string
62 std::string toString() const;
63
64 // If you want to serialize this class without nesting, use this helper
66
67private:
68 // read/write ThreeAxisGyroscopes field
69 bool read_ThreeAxisGyroscopes(yarp::os::idl::WireReader& reader);
70 bool write_ThreeAxisGyroscopes(const yarp::os::idl::WireWriter& writer) const;
71 bool nested_read_ThreeAxisGyroscopes(yarp::os::idl::WireReader& reader);
72 bool nested_write_ThreeAxisGyroscopes(const yarp::os::idl::WireWriter& writer) const;
73
74 // read/write ThreeAxisLinearAccelerometers field
75 bool read_ThreeAxisLinearAccelerometers(yarp::os::idl::WireReader& reader);
76 bool write_ThreeAxisLinearAccelerometers(const yarp::os::idl::WireWriter& writer) const;
77 bool nested_read_ThreeAxisLinearAccelerometers(yarp::os::idl::WireReader& reader);
78 bool nested_write_ThreeAxisLinearAccelerometers(const yarp::os::idl::WireWriter& writer) const;
79
80 // read/write ThreeAxisMagnetometers field
81 bool read_ThreeAxisMagnetometers(yarp::os::idl::WireReader& reader);
82 bool write_ThreeAxisMagnetometers(const yarp::os::idl::WireWriter& writer) const;
83 bool nested_read_ThreeAxisMagnetometers(yarp::os::idl::WireReader& reader);
84 bool nested_write_ThreeAxisMagnetometers(const yarp::os::idl::WireWriter& writer) const;
85
86 // read/write OrientationSensors field
87 bool read_OrientationSensors(yarp::os::idl::WireReader& reader);
88 bool write_OrientationSensors(const yarp::os::idl::WireWriter& writer) const;
89 bool nested_read_OrientationSensors(yarp::os::idl::WireReader& reader);
90 bool nested_write_OrientationSensors(const yarp::os::idl::WireWriter& writer) const;
91
92 // read/write TemperatureSensors field
93 bool read_TemperatureSensors(yarp::os::idl::WireReader& reader);
94 bool write_TemperatureSensors(const yarp::os::idl::WireWriter& writer) const;
95 bool nested_read_TemperatureSensors(yarp::os::idl::WireReader& reader);
96 bool nested_write_TemperatureSensors(const yarp::os::idl::WireWriter& writer) const;
97
98 // read/write SixAxisForceTorqueSensors field
99 bool read_SixAxisForceTorqueSensors(yarp::os::idl::WireReader& reader);
100 bool write_SixAxisForceTorqueSensors(const yarp::os::idl::WireWriter& writer) const;
101 bool nested_read_SixAxisForceTorqueSensors(yarp::os::idl::WireReader& reader);
102 bool nested_write_SixAxisForceTorqueSensors(const yarp::os::idl::WireWriter& writer) const;
103
104 // read/write ContactLoadCellArrays field
105 bool read_ContactLoadCellArrays(yarp::os::idl::WireReader& reader);
106 bool write_ContactLoadCellArrays(const yarp::os::idl::WireWriter& writer) const;
107 bool nested_read_ContactLoadCellArrays(yarp::os::idl::WireReader& reader);
108 bool nested_write_ContactLoadCellArrays(const yarp::os::idl::WireWriter& writer) const;
109
110 // read/write EncoderArrays field
111 bool read_EncoderArrays(yarp::os::idl::WireReader& reader);
112 bool write_EncoderArrays(const yarp::os::idl::WireWriter& writer) const;
113 bool nested_read_EncoderArrays(yarp::os::idl::WireReader& reader);
114 bool nested_write_EncoderArrays(const yarp::os::idl::WireWriter& writer) const;
115
116 // read/write SkinPatches field
117 bool read_SkinPatches(yarp::os::idl::WireReader& reader);
118 bool write_SkinPatches(const yarp::os::idl::WireWriter& writer) const;
119 bool nested_read_SkinPatches(yarp::os::idl::WireReader& reader);
120 bool nested_write_SkinPatches(const yarp::os::idl::WireWriter& writer) const;
121
122 // read/write PositionSensors field
123 bool read_PositionSensors(yarp::os::idl::WireReader& reader);
124 bool write_PositionSensors(const yarp::os::idl::WireWriter& writer) const;
125 bool nested_read_PositionSensors(yarp::os::idl::WireReader& reader);
126 bool nested_write_PositionSensors(const yarp::os::idl::WireWriter& writer) const;
127};
128
129#endif // YARP_THRIFT_GENERATOR_STRUCT_SENSORSTREAMINGDATA_H
std::string toString() const
SensorMeasurements EncoderArrays
SensorMeasurements ThreeAxisLinearAccelerometers
SensorMeasurements PositionSensors
SensorMeasurements OrientationSensors
bool write(const yarp::os::idl::WireWriter &writer) const override
SensorMeasurements ThreeAxisMagnetometers
yarp::os::idl::Unwrapped< SensorStreamingData > unwrapped
SensorMeasurements ThreeAxisGyroscopes
SensorMeasurements SixAxisForceTorqueSensors
SensorMeasurements SkinPatches
SensorStreamingData()=default
bool read(yarp::os::idl::WireReader &reader) override
SensorMeasurements ContactLoadCellArrays
SensorMeasurements TemperatureSensors
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