7#ifndef YARP_OS_SIZEDWRITER_H
8#define YARP_OS_SIZEDWRITER_H
18class ConnectionWriter;
40 virtual size_t length(
size_t index)
const = 0;
42 virtual const char*
data(
size_t index)
const = 0;
A mini-server for performing network communication in the background.
An interface for writing to a network connection.
Simple specification of the minimum functions needed from output streams.
Interface implemented by all objects that can read themselves from the network, such as Bottle object...
Interface implemented by all objects that can write themselves to the network, such as Bottle objects...
This is a base class for objects that can be both read from and be written to the YARP network.
Minimal requirements for an efficient Writer.
virtual Portable * getReference()=0
virtual const char * data(size_t index) const =0
virtual void stopWrite() const =0
Call when all writing is finished.
virtual size_t headerLength() const =0
virtual bool dropRequested()=0
virtual size_t length(size_t index) const =0
virtual size_t length() const =0
virtual PortReader * getReplyHandler()=0
virtual void startWrite() const =0
Call when writing is about to begin.
An interface to the operating system, including Port based communication.