17 const std::int32_t height,
24 pixelCoding(pixelCoding)
31 if (!read_width(reader)) {
34 if (!read_height(reader)) {
37 if (!read_framerate(reader)) {
40 if (!nested_read_pixelCoding(reader)) {
65 if (!write_width(writer)) {
68 if (!write_height(writer)) {
71 if (!write_framerate(writer)) {
74 if (!nested_write_pixelCoding(writer)) {
bool read(yarp::os::idl::WireReader &reader) override
bool write(const yarp::os::idl::WireWriter &writer) const override
YarpVocabPixelTypesEnum pixelCoding
CameraConfigData()=default
std::string toString() const
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 readVocab32(yarp::conf::vocab32_t &x)
bool readI32(std::int32_t &x)
bool readFloat64(yarp::conf::float64_t &x)
IDL-friendly connection writer.
bool writeVocab32(yarp::conf::vocab32_t x, bool skip_tag=false) const
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
For streams capable of holding different kinds of content, check what they actually have.
constexpr char framerate[]