17 const double cpuLoad5,
18 const double cpuLoad15,
19 const std::int32_t cpuLoadInstant) :
24 cpuLoadInstant(cpuLoadInstant)
31 if (!read_cpuLoad1(reader)) {
34 if (!read_cpuLoad5(reader)) {
37 if (!read_cpuLoad15(reader)) {
40 if (!read_cpuLoadInstant(reader)) {
65 if (!write_cpuLoad1(writer)) {
68 if (!write_cpuLoad5(writer)) {
71 if (!write_cpuLoad15(writer)) {
74 if (!write_cpuLoadInstant(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.
bool write(const yarp::os::idl::WireWriter &writer) const override
bool read(yarp::os::idl::WireReader &reader) override
std::string toString() const
std::int32_t cpuLoadInstant
static bool copyPortable(const PortWriter &writer, PortReader &reader)
Copy one portable to another, via writing and reading.
IDL-friendly connection reader.
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
An interface to the operating system, including Port based communication.