17 const double timeStamp,
18 const std::string& frameId) :
20 sequenceNumber(sequenceNumber),
29 if (!read_sequenceNumber(reader)) {
32 if (!read_timeStamp(reader)) {
35 if (!read_frameId(reader)) {
60 if (!write_sequenceNumber(writer)) {
63 if (!write_timeStamp(writer)) {
66 if (!write_frameId(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.
bool read(yarp::os::idl::WireReader &reader) override
bool write(const yarp::os::idl::WireWriter &writer) const override
std::string toString() const
StampWithFrameData()=default
std::int32_t sequenceNumber
IDL-friendly connection reader.
bool readString(std::string &str, bool *is_vocab=nullptr)
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
bool writeString(const std::string &str, bool skip_tag=false) const
An interface to the operating system, including Port based communication.