15 const std::string& deviceDescription) :
18 deviceDescription(deviceDescription)
25 if (!nested_read_busType(reader)) {
28 if (!read_deviceDescription(reader)) {
53 if (!nested_write_busType(writer)) {
56 if (!write_deviceDescription(writer)) {
yarp::dev::BusType busType
yCameraDescriptor()=default
std::string deviceDescription
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 readString(std::string &str, bool *is_vocab=nullptr)
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
bool writeString(const std::string &str, bool skip_tag=false) const