10 #ifndef YARP_OS_PORTWRITERBUFFERBASE_H
11 #define YARP_OS_PORTWRITERBUFFERBASE_H
20 #ifndef DOXYGEN_SHOULD_SKIP_THIS
22 class PortWriterBufferManager
25 virtual ~PortWriterBufferManager();
27 virtual void onCompletion(
void* tracker) = 0;
30 class PortWriterWrapper :
public PortWriter
33 virtual PortWriter* getInternal() = 0;
36 #endif // DOXYGEN_SHOULD_SKIP_THIS
46 virtual PortWriterWrapper *
create(PortWriterBufferManager& man,
void *tracker) = 0;
48 const void* getContent()
const;
50 bool releaseContent();
54 void attach(
Port& port);
58 void write(
bool strict);
62 #ifndef DOXYGEN_SHOULD_SKIP_THIS
66 #endif // DOXYGEN_SHOULD_SKIP_THIS
72 #endif // YARP_OS_PORTWRITERBUFFERBASE_H