YARP
Yet Another Robot Platform
Loading...
Searching...
No Matches
PidDescriptionData.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_PIDDESCRIPTIONDATA_H
12
#define YARP_THRIFT_GENERATOR_STRUCT_PIDDESCRIPTIONDATA_H
13
14
#include <
yarp/dev/api.h
>
15
16
#include <
yarp/os/Wire.h
>
17
#include <
yarp/os/idl/WireTypes.h
>
18
19
namespace
yarp::dev
{
20
21
class
YARP_dev_API
PidDescriptionData
:
22
public
yarp::os::idl::WirePortable
23
{
24
public
:
25
// Fields
29
std::string pid_description{};
33
std::string input_data_description{};
37
std::string output_data_description{};
38
39
public
:
40
// Default constructor
41
PidDescriptionData
() =
default
;
42
43
// Constructor with field values
44
PidDescriptionData
(
const
std::string& pid_description,
45
const
std::string& input_data_description,
46
const
std::string& output_data_description);
47
48
// Read structure on a Wire
49
bool
read(
yarp::os::idl::WireReader
& reader)
override
;
50
51
// Read structure on a Connection
52
bool
read(
yarp::os::ConnectionReader
& connection)
override
;
53
54
// Write structure on a Wire
55
bool
write(
const
yarp::os::idl::WireWriter
& writer)
const override
;
56
57
// Write structure on a Connection
58
bool
write(
yarp::os::ConnectionWriter
& connection)
const override
;
59
60
// Convert to a printable string
61
std::string
toString
()
const
;
62
63
// If you want to serialize this class without nesting, use this helper
64
typedef
yarp::os::idl::Unwrapped<PidDescriptionData>
unwrapped
;
65
66
private
:
67
// read/write pid_description field
68
bool
read_pid_description(
yarp::os::idl::WireReader
& reader);
69
bool
write_pid_description(
const
yarp::os::idl::WireWriter
& writer)
const
;
70
bool
nested_read_pid_description(
yarp::os::idl::WireReader
& reader);
71
bool
nested_write_pid_description(
const
yarp::os::idl::WireWriter
& writer)
const
;
72
73
// read/write input_data_description field
74
bool
read_input_data_description(
yarp::os::idl::WireReader
& reader);
75
bool
write_input_data_description(
const
yarp::os::idl::WireWriter
& writer)
const
;
76
bool
nested_read_input_data_description(
yarp::os::idl::WireReader
& reader);
77
bool
nested_write_input_data_description(
const
yarp::os::idl::WireWriter
& writer)
const
;
78
79
// read/write output_data_description field
80
bool
read_output_data_description(
yarp::os::idl::WireReader
& reader);
81
bool
write_output_data_description(
const
yarp::os::idl::WireWriter
& writer)
const
;
82
bool
nested_read_output_data_description(
yarp::os::idl::WireReader
& reader);
83
bool
nested_write_output_data_description(
const
yarp::os::idl::WireWriter
& writer)
const
;
84
};
85
86
}
// namespace yarp::dev
87
88
#endif
// YARP_THRIFT_GENERATOR_STRUCT_PIDDESCRIPTIONDATA_H
toString
std::string toString(const T &value)
convert an arbitrary type to string.
Definition
FakeMotionControl.cpp:122
WireTypes.h
Wire.h
yarp::dev::PidDescriptionData
Definition
PidDescriptionData.h:23
yarp::dev::PidDescriptionData::unwrapped
yarp::os::idl::Unwrapped< PidDescriptionData > unwrapped
Definition
PidDescriptionData.h:64
yarp::dev::PidDescriptionData::PidDescriptionData
PidDescriptionData()=default
yarp::os::ConnectionReader
An interface for reading from a network connection.
Definition
ConnectionReader.h:34
yarp::os::ConnectionWriter
An interface for writing to a network connection.
Definition
ConnectionWriter.h:34
yarp::os::idl::Unwrapped
Definition
Unwrapped.h:17
yarp::os::idl::WirePortable
A "tamed" Portable, that promises to serialize itself in an IDL-friendly way.
Definition
WirePortable.h:21
yarp::os::idl::WireReader
IDL-friendly connection reader.
Definition
WireReader.h:27
yarp::os::idl::WireWriter
IDL-friendly connection writer.
Definition
WireWriter.h:28
yarp::dev
For streams capable of holding different kinds of content, check what they actually have.
Definition
BatteryData.cpp:13
api.h
YARP_dev_API
#define YARP_dev_API
Definition
api.h:18
YARP
4.0.2+169-20261113.4+git2cc772dc6
src
libYARP_dev
src
idl_generated_code
yarp
dev
PidDescriptionData.h
Generated on Sun Nov 15 2026 02:12:02 for YARP by
1.9.8