17 const std::string& model,
18 const std::string& vendor,
19 const std::int32_t family,
20 const std::int32_t modelNumber,
21 const std::int32_t cores,
22 const std::int32_t siblings,
23 const double frequency) :
25 architecture(architecture),
29 modelNumber(modelNumber),
39 if (!read_architecture(reader)) {
42 if (!read_model(reader)) {
45 if (!read_vendor(reader)) {
48 if (!read_family(reader)) {
51 if (!read_modelNumber(reader)) {
54 if (!read_cores(reader)) {
57 if (!read_siblings(reader)) {
60 if (!read_frequency(reader)) {
85 if (!write_architecture(writer)) {
88 if (!write_model(writer)) {
91 if (!write_vendor(writer)) {
94 if (!write_family(writer)) {
97 if (!write_modelNumber(writer)) {
100 if (!write_cores(writer)) {
103 if (!write_siblings(writer)) {
106 if (!write_frequency(writer)) {
122 if (!
write(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 read(yarp::os::idl::WireReader &reader) override
bool write(const yarp::os::idl::WireWriter &writer) const override
ProcessorInfoData()=default
std::string toString() const
IDL-friendly connection reader.
bool readString(std::string &str, bool *is_vocab=nullptr)
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
bool writeString(const std::string &str, bool skip_tag=false) const
An interface to the operating system, including Port based communication.