PUMA Library Reference Manual
|
#include <Puma/Sink.h>
Output sink interface.
Public Member Functions | |
virtual | ~Sink () |
Destructor. | |
virtual int | write (const char *buffer, int n)=0 |
Write n bytes from the given buffer into the sink. | |
virtual bool | full () |
Check if the output sink is full. | |
|
inlinevirtual |
Destructor.
|
inlinevirtual |
Check if the output sink is full.
Reimplemented in Puma::Pipe.
|
pure virtual |
Write n bytes from the given buffer into the sink.
buffer | The bytes to write. |
n | The number of bytes to write. |
Implemented in Puma::Pipe, and Puma::TerminalSink.