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 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_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
// Default constructor
40
PidDescriptionData
() =
default
;
41
42
// Constructor with field values
43
PidDescriptionData
(
const
std::string& pid_description,
44
const
std::string& input_data_description,
45
const
std::string& output_data_description);
46
47
// Read structure on a Wire
48
bool
read(
yarp::os::idl::WireReader
& reader)
override
;
49
50
// Read structure on a Connection
51
bool
read(
yarp::os::ConnectionReader
& connection)
override
;
52
53
// Write structure on a Wire
54
bool
write(
const
yarp::os::idl::WireWriter
& writer)
const override
;
55
56
// Write structure on a Connection
57
bool
write(
yarp::os::ConnectionWriter
& connection)
const override
;
58
59
// Convert to a printable string
60
std::string
toString
()
const
;
61
62
// If you want to serialize this class without nesting, use this helper
63
typedef
yarp::os::idl::Unwrapped<PidDescriptionData>
unwrapped
;
64
65
private
:
66
// read/write pid_description field
67
bool
read_pid_description(
yarp::os::idl::WireReader
& reader);
68
bool
write_pid_description(
const
yarp::os::idl::WireWriter
& writer)
const
;
69
bool
nested_read_pid_description(
yarp::os::idl::WireReader
& reader);
70
bool
nested_write_pid_description(
const
yarp::os::idl::WireWriter
& writer)
const
;
71
72
// read/write input_data_description field
73
bool
read_input_data_description(
yarp::os::idl::WireReader
& reader);
74
bool
write_input_data_description(
const
yarp::os::idl::WireWriter
& writer)
const
;
75
bool
nested_read_input_data_description(
yarp::os::idl::WireReader
& reader);
76
bool
nested_write_input_data_description(
const
yarp::os::idl::WireWriter
& writer)
const
;
77
78
// read/write output_data_description field
79
bool
read_output_data_description(
yarp::os::idl::WireReader
& reader);
80
bool
write_output_data_description(
const
yarp::os::idl::WireWriter
& writer)
const
;
81
bool
nested_read_output_data_description(
yarp::os::idl::WireReader
& reader);
82
bool
nested_write_output_data_description(
const
yarp::os::idl::WireWriter
& writer)
const
;
83
};
84
85
}
// namespace yarp::dev
86
87
#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:63
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
src
libYARP_dev
src
idl_generated_code
yarp
dev
PidDescriptionData.h
Generated on Wed Nov 11 2026 13:06:40 for YARP by
1.9.8