|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
10 #ifndef YARP_OS_SIZEDWRITER_H
11 #define YARP_OS_SIZEDWRITER_H
22 class ConnectionWriter;
44 virtual size_t length(
size_t index)
const = 0;
46 virtual const char*
data(
size_t index)
const = 0;
74 #endif // YARP_OS_SIZEDWRITER_H
virtual size_t length() const =0
This is a base class for objects that can be both read from and be written to the YARP network.
virtual void startWrite() const =0
Call when writing is about to begin.
Simple specification of the minimum functions needed from output streams.
Interface implemented by all objects that can write themselves to the network, such as Bottle objects...
virtual Portable * getReference()=0
virtual size_t headerLength() const =0
Interface implemented by all objects that can read themselves from the network, such as Bottle object...
An interface for writing to a network connection.
virtual bool dropRequested()=0
virtual PortReader * getReplyHandler()=0
virtual size_t length(size_t index) const =0
The main, catch-all namespace for YARP.
virtual const char * data(size_t index) const =0
bool write(const ImageOf< PixelRgb > &src, const std::string &dest, image_fileformat format=FORMAT_PPM)
virtual void stopWrite() const =0
Call when all writing is finished.
Minimal requirements for an efficient Writer.