#include <ObjectQueue.h>
template<typename T>
class Vector::BLF::ObjectQueue< T >
Thread-safe queue for ObjectHeaderBase
◆ abort()
Stop further operations. Return from waiting reads.
◆ eof()
Check whether eofbit is set.
- Returns
- true if eofbit is set
◆ good()
Check whether state of stream is good.
- Returns
- true if no error flags are set
◆ read()
Get access to front of queue.
- Returns
- object (or nullptr if empty)
◆ setBufferSize()
Sets the maximum file size. Write operations block, if the size is reached.
- Parameters
-
[in] | bufferSize | maximum file size |
◆ setFileSize()
Set file size resp. end-of-file position.
- Parameters
-
◆ tellg()
Get position in input sequence.
- Returns
- Read position
◆ tellp()
Get position in output sequence.
- Returns
- Write position
◆ write()
Enqueue an object to end of queue.
nullptr can be pushed to indicate eof.
- Parameters
-
◆ tellgChanged
◆ tellpChanged
The documentation for this class was generated from the following files: