16 measurements(measurements)
23 if (!read_measurements(reader)) {
48 if (!write_measurements(writer)) {
92 if constexpr (expected_tag != 0) {
93 if (_csize != 0 && _etype.
code != expected_tag) {
98 for (
size_t _i = 0; _i < _csize; ++_i) {
141 if constexpr (expected_tag != 0) {
142 if (_csize != 0 && _etype.
code != expected_tag) {
147 for (
size_t _i = 0; _i < _csize; ++_i) {
std::vector< SensorMeasurement > measurements
SensorMeasurements()=default
std::string toString() const
bool write(const yarp::os::idl::WireWriter &writer) const override
bool read(yarp::os::idl::WireReader &reader) override
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)
void readListBegin(yarp::os::idl::WireState &nstate, size_t &len)
IDL-friendly connection writer.
bool writeListHeader(int len) const
bool writeListEnd() const
bool writeNested(const WirePortable &obj) const
bool writeListBegin(int tag, size_t len) const