BlockingStream Class Reference
[Streams]

BlockingStream uses a mutex and an event to enforce blocking I/O. More...

#include <BlockingStream.h>

Inheritance diagram for BlockingStream:
spl::IStream IMemoryValidate

List of all members.

Public Member Functions

 BlockingStream (spl::IStreamPtr strm)
virtual int Read (Array< byte > &buffer, const int offset, int count)
virtual int ReadByte ()
virtual void Write (const Array< byte > &buffer, const int offset, const int count)
virtual void WriteByte (byte value)
virtual void Close ()
virtual void Flush ()
virtual long Seek (const long offset, const SeekOrigin origin)
virtual bool CanRead () const
virtual bool CanSeek () const
virtual bool CanWrite () const
virtual long Length () const
virtual long Position () const
virtual void ValidateMem () const
virtual void CheckMem () const

Protected Attributes

spl::IStreamPtr m_strm
bool m_deleteStream
Mutex m_datalock
Event m_dataready

Detailed Description

BlockingStream uses a mutex and an event to enforce blocking I/O.

Definition at line 36 of file BlockingStream.h.


The documentation for this class was generated from the following files: