OpenASIP
2.0
|
#include <ProximLineReader.hh>
Public Member Functions | |
ProximLROutputBuffer (ProximLineReader *lineReader) | |
virtual | ~ProximLROutputBuffer () |
Protected Member Functions | |
int | overflow (int) |
int | sync () |
Private Member Functions | |
void | flushBuffer () |
Private Attributes | |
ProximLineReader * | lineReader_ |
const unsigned int | BUFFER_SIZE |
Stream buffer for the ProximLROutputStream.
This streambuffer converts the stream output to SimulatorEvents when the buffer cotnetnts is flushed.
Definition at line 116 of file ProximLineReader.hh.
ProximLROutputBuffer::ProximLROutputBuffer | ( | ProximLineReader * | lineReader | ) |
The Constructor.
lineReader | ProximLineReader used for output. |
Definition at line 223 of file ProximLineReader.cc.
References BUFFER_SIZE.
|
virtual |
The Destructor.
Definition at line 237 of file ProximLineReader.cc.
References sync().
|
private |
Sends the buffer contents to the linereader.
Definition at line 279 of file ProximLineReader.cc.
References lineReader_, and ProximLineReader::output().
Referenced by overflow(), and sync().
|
protected |
Puts a character at current put position.
This function is called in case there is no room in the buffer to perform the output operation.
Definition at line 248 of file ProximLineReader.cc.
References flushBuffer(), lineReader_, and ProximLineReader::output().
|
protected |
Synchronizes the streambuffer by flushing buffer contents to the linereader.
Definition at line 269 of file ProximLineReader.cc.
References flushBuffer().
Referenced by ~ProximLROutputBuffer().
|
private |
Definition at line 126 of file ProximLineReader.hh.
Referenced by ProximLROutputBuffer().
|
private |
Definition at line 125 of file ProximLineReader.hh.
Referenced by flushBuffer(), and overflow().