19 const std::string& type,
20 const std::string& hostname) :
33 if (!read_is_input(reader)) {
36 if (!read_is_output(reader)) {
39 if (!read_is_rpc(reader)) {
42 if (!read_type(reader)) {
45 if (!read_hostname(reader)) {
70 if (!write_is_input(writer)) {
73 if (!write_is_output(writer)) {
76 if (!write_is_rpc(writer)) {
79 if (!write_type(writer)) {
82 if (!write_hostname(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.
bool read(yarp::os::idl::WireReader &reader) override
bool write(const yarp::os::idl::WireWriter &writer) const override
std::string toString() const
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
An interface to the operating system, including Port based communication.