7#ifndef YARP_OS_PORTWRITERBUFFERBASE_H
8#define YARP_OS_PORTWRITERBUFFERBASE_H
16#ifndef DOXYGEN_SHOULD_SKIP_THIS
18class PortWriterBufferManager
21 virtual ~PortWriterBufferManager();
23 virtual void onCompletion(
void* tracker) = 0;
26class PortWriterWrapper :
public PortWriter
29 virtual PortWriter* getInternal() = 0;
42 virtual PortWriterWrapper *
create(PortWriterBufferManager& man,
void *tracker) = 0;
44 const void* getContent()
const;
46 bool releaseContent();
50 void attach(
Port& port);
54 void write(
bool strict);
58#ifndef DOXYGEN_SHOULD_SKIP_THIS
virtual PortWriterWrapper * create(PortWriterBufferManager &man, void *tracker)=0
A mini-server for network communication.
An interface to the operating system, including Port based communication.
bool write(const ImageOf< PixelRgb > &src, const std::string &dest, image_fileformat format=FORMAT_PPM)