PUMA Library Reference Manual
Loading...
Searching...
No Matches
Puma::TerminalSink Class Reference

#include <Puma/TerminalSink.h>

+ Inheritance diagram for Puma::TerminalSink:

Description

Terminal sink implementation.

Warning
This class is not used and may disappear without notice.

Public Member Functions

virtual int write (const char *buffer, int n)
 Write n bytes from the given buffer onto the terminal.
 
- Public Member Functions inherited from Puma::Sink
virtual ~Sink ()
 Destructor.
 
virtual bool full ()
 Check if the output sink is full.
 

Member Function Documentation

◆ write()

virtual int Puma::TerminalSink::write ( const char * buffer,
int n )
virtual

Write n bytes from the given buffer onto the terminal.

Parameters
bufferThe bytes to write.
nThe number of bytes to write.
Returns
The number of bytes written.

Implements Puma::Sink.