17 const std::vector<std::string>& connections) :
20 connections(connections)
27 if (!read_ret(reader)) {
30 if (!read_connections(reader)) {
55 if (!write_ret(writer)) {
58 if (!write_connections(writer)) {
149 if constexpr (expected_tag != 0) {
150 if (_csize != 0 && _etype.
code != expected_tag) {
155 for (
size_t _i0 = 0; _i0 < _csize; ++_i0) {
200 if constexpr (expected_tag != 0) {
201 if (_csize != 0 && _etype.
code != expected_tag) {
206 for (
size_t _i0 = 0; _i0 < _csize; ++_i0) {
#define BOTTLE_TAG_STRING
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)
void readListBegin(yarp::os::idl::WireState &nstate, size_t &len)
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
bool writeListEnd() const
bool writeListBegin(int tag, size_t len) const
bool write(const yarp::os::idl::WireWriter &writer) const override
bool read(yarp::os::idl::WireReader &reader) override
std::vector< std::string > connections
return_listConnections()=default
std::string toString() const
An interface to the operating system, including Port based communication.