17 const std::int32_t freeSpace) :
19 totalSpace(totalSpace),
27 if (!read_totalSpace(reader)) {
30 if (!read_freeSpace(reader)) {
55 if (!write_totalSpace(writer)) {
58 if (!write_freeSpace(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 write(const yarp::os::idl::WireWriter &writer) const override
StorageInfoData()=default
bool read(yarp::os::idl::WireReader &reader) override
std::string toString() const
IDL-friendly connection reader.
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
An interface to the operating system, including Port based communication.