27 if (!nested_read_head(reader)) {
30 if (!nested_read_body(reader)) {
55 if (!nested_write_head(writer)) {
58 if (!nested_write_body(writer)) {
bool read(yarp::os::idl::WireReader &reader) override
yarp::sig::Vector body
body
CommandMessageData()=default
yarp::os::Bottle head
header
bool write(const yarp::os::idl::WireWriter &writer) const override
std::string toString() const
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 readNested(WirePortable &obj)
bool read(WirePortable &obj)
IDL-friendly connection writer.
bool write(const WirePortable &obj) const
bool writeListHeader(int len) const
bool writeNested(const WirePortable &obj) const
For streams capable of holding different kinds of content, check what they actually have.