17 const std::int32_t channel,
18 const std::int32_t sample_id) :
29 if (!read_label(reader)) {
32 if (!read_channel(reader)) {
35 if (!read_sample_id(reader)) {
60 if (!write_label(writer)) {
63 if (!write_channel(writer)) {
66 if (!write_sample_id(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 readString(std::string &str, bool *is_vocab=nullptr)
bool readI32(std::int32_t &x)
IDL-friendly connection writer.
bool writeI32(std::int32_t x, bool skip_tag=false) const
bool writeListHeader(int len) const
bool writeString(const std::string &str, bool skip_tag=false) const
bool write(const yarp::os::idl::WireWriter &writer) const override
std::string toString() const
SoundMarkerData()=default
bool read(yarp::os::idl::WireReader &reader) override