17 const double timeStamp) :
19 sequenceNumber(sequenceNumber),
27 if (!read_sequenceNumber(reader)) {
30 if (!read_timeStamp(reader)) {
55 if (!write_sequenceNumber(writer)) {
58 if (!write_timeStamp(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.
std::int32_t sequenceNumber
bool write(const yarp::os::idl::WireWriter &writer) const override
std::string toString() const
bool read(yarp::os::idl::WireReader &reader) override
IDL-friendly connection reader.
bool readI32(std::int32_t &x)
bool readFloat64(yarp::conf::float64_t &x)
IDL-friendly connection writer.
bool writeI32(std::int32_t x, bool skip_tag=false) const
bool writeListHeader(int len) const
bool writeFloat64(yarp::conf::float64_t x, bool skip_tag=false) const
An interface to the operating system, including Port based communication.