17 const std::string& dst_frame_id,
18 const double timestamp,
23 src_frame_id(src_frame_id),
24 dst_frame_id(dst_frame_id),
27 translation(translation),
35 if (!read_src_frame_id(reader)) {
38 if (!read_dst_frame_id(reader)) {
41 if (!read_timestamp(reader)) {
44 if (!read_isStatic(reader)) {
47 if (!nested_read_translation(reader)) {
50 if (!nested_read_rotation(reader)) {
75 if (!write_src_frame_id(writer)) {
78 if (!write_dst_frame_id(writer)) {
81 if (!write_timestamp(writer)) {
84 if (!write_isStatic(writer)) {
87 if (!nested_write_translation(writer)) {
90 if (!nested_write_rotation(writer)) {
106 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 readNested(WirePortable &obj)
bool readString(std::string &str, bool *is_vocab=nullptr)
bool read(WirePortable &obj)
bool readFloat64(yarp::conf::float64_t &x)
IDL-friendly connection writer.
bool writeBool(bool x, bool skip_tag=false) const
bool write(const WirePortable &obj) const
bool writeListHeader(int len) const
bool writeFloat64(yarp::conf::float64_t x, bool skip_tag=false) const
bool writeString(const std::string &str, bool skip_tag=false) const
bool writeNested(const WirePortable &obj) const