17 const std::string& input_data_description,
18 const std::string& output_data_description) :
20 pid_description(pid_description),
21 input_data_description(input_data_description),
22 output_data_description(output_data_description)
29 if (!read_pid_description(reader)) {
32 if (!read_input_data_description(reader)) {
35 if (!read_output_data_description(reader)) {
60 if (!write_pid_description(writer)) {
63 if (!write_input_data_description(writer)) {
66 if (!write_output_data_description(writer)) {
bool write(const yarp::os::idl::WireWriter &writer) const override
bool read(yarp::os::idl::WireReader &reader) override
std::string output_data_description
human-readable description of the output data of pid
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
std::string input_data_description
human-readable description of the input data of pid
std::string toString() const
PidDescriptionData()=default
std::string pid_description
human-readable description of the pid controller.
A simple collection of objects that can be described and transmitted in a portable way.
std::string toString() const override
Gives a human-readable textual representation of the bottle.
An interface for reading from a network connection.
An interface for writing to a network connection.
static bool copyPortable(const PortWriter &writer, PortReader &reader)
Copy one portable to another, via writing and reading.
IDL-friendly connection reader.
bool readString(std::string &str, bool *is_vocab=nullptr)
IDL-friendly connection writer.
bool writeListHeader(int len) const
bool writeString(const std::string &str, bool skip_tag=false) const
For streams capable of holding different kinds of content, check what they actually have.