18 const std::string& from_port,
19 const std::string& to_port,
20 const std::string& carrier,
21 const bool connectionless,
29 connectionless(connectionless),
37 if (!read_ret(reader)) {
40 if (!read_found(reader)) {
43 if (!read_from_port(reader)) {
46 if (!read_to_port(reader)) {
49 if (!read_carrier(reader)) {
52 if (!read_connectionless(reader)) {
55 if (!read_push(reader)) {
80 if (!write_ret(writer)) {
83 if (!write_found(writer)) {
86 if (!write_from_port(writer)) {
89 if (!write_to_port(writer)) {
92 if (!write_carrier(writer)) {
95 if (!write_connectionless(writer)) {
98 if (!write_push(writer)) {
114 if (!
write(writer)) {
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 writeBool(bool x, bool skip_tag=false) const
bool writeListHeader(int len) const
bool writeString(const std::string &str, bool skip_tag=false) const
return_getConnectionInfo()=default
std::string toString() const
bool read(yarp::os::idl::WireReader &reader) override
bool write(const yarp::os::idl::WireWriter &writer) const override
An interface to the operating system, including Port based communication.