9 #ifndef YARP_OS_IDL_WIREPORTABLE_H
10 #define YARP_OS_IDL_WIREPORTABLE_H
An interface for reading from a network connection.
An interface for writing to a network connection.
This is a base class for objects that can be both read from and be written to the YARP network.
bool read(ConnectionReader &reader) override=0
Read this object from a network connection.
bool write(ConnectionWriter &writer) const override=0
Write this object to a network connection.
A "tamed" Portable, that promises to serialize itself in an IDL-friendly way.
virtual bool readBare(yarp::os::ConnectionReader &reader)
virtual bool writeBare(yarp::os::ConnectionWriter &writer) const
virtual bool readBottle(yarp::os::ConnectionReader &reader)
virtual bool writeBottle(yarp::os::ConnectionWriter &writer) const
IDL-friendly connection reader.
IDL-friendly connection writer.
bool read(ImageOf< PixelRgb > &dest, const std::string &src, image_fileformat format=FORMAT_ANY)
bool write(const ImageOf< PixelRgb > &src, const std::string &dest, image_fileformat format=FORMAT_PPM)
The main, catch-all namespace for YARP.