15 const std::vector<yarp::dev::Nav2D::Map2DArea>& areas) :
25 if (!nested_read_retval(reader)) {
28 if (!read_areas(reader)) {
53 if (!nested_write_retval(writer)) {
56 if (!write_areas(writer)) {
146 if constexpr (expected_tag != 0) {
147 if (_csize != 0 && _etype.
code != expected_tag) {
151 areas.resize(_csize);
152 for (
size_t _i = 0; _i < _csize; ++_i) {
172 for (
const auto& _item :
areas) {
195 if constexpr (expected_tag != 0) {
196 if (_csize != 0 && _etype.
code != expected_tag) {
200 areas.resize(_csize);
201 for (
size_t _i = 0; _i < _csize; ++_i) {
221 for (
const auto& _item :
areas) {
std::string toString() const
bool read(yarp::os::idl::WireReader &reader) override
bool write(const yarp::os::idl::WireWriter &writer) const override
yarp::dev::ReturnValue retval
return_get_all_areas()=default
std::vector< yarp::dev::Nav2D::Map2DArea > areas
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)
bool read(WirePortable &obj)
IDL-friendly connection writer.
bool write(const WirePortable &obj) const
bool writeListHeader(int len) const
bool writeListEnd() const
bool writeNested(const WirePortable &obj) const
bool writeListBegin(int tag, size_t len) const