20 const bool can_be_compressed,
21 const std::int32_t offset_x,
22 const std::int32_t offset_y) :
28 can_be_compressed(can_be_compressed),
37 if (!read_enable(reader)) {
40 if (!nested_read_layer(reader)) {
43 if (!nested_read_colorkey(reader)) {
46 if (!nested_read_alpha(reader)) {
49 if (!read_can_be_compressed(reader)) {
52 if (!read_offset_x(reader)) {
55 if (!read_offset_y(reader)) {
80 if (!write_enable(writer)) {
83 if (!nested_write_layer(writer)) {
86 if (!nested_write_colorkey(writer)) {
89 if (!nested_write_alpha(writer)) {
92 if (!write_can_be_compressed(writer)) {
95 if (!write_offset_x(writer)) {
98 if (!write_offset_y(writer)) {
114 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.
IDL-friendly connection reader.
bool readNested(WirePortable &obj)
bool readI32(std::int32_t &x)
bool read(WirePortable &obj)
IDL-friendly connection writer.
bool writeBool(bool x, bool skip_tag=false) const
bool write(const WirePortable &obj) const
bool writeI32(std::int32_t x, bool skip_tag=false) const
bool writeListHeader(int len) const
bool writeNested(const WirePortable &obj) const
Image class with user control of representation details.
yarp::sig::ImageAlphaData alpha
std::string toString() const
yarp::sig::ImageColorKey colorkey
yarp::sig::FlexImage layer
bool write(const yarp::os::idl::WireWriter &writer) const override
bool read(yarp::os::idl::WireReader &reader) override