ThreadSafeStream Class Reference

Serializes access to a stream. More...

#include <ThreadSafeStream.h>

Inheritance diagram for ThreadSafeStream:
spl::IStream IMemoryValidate

List of all members.

Public Member Functions

 ThreadSafeStream (spl::IStreamPtr strm)
void Lock ()
void Unlock ()
virtual void Close ()
virtual void Flush ()
virtual int Read (Array< byte > &buffer, const int offset, int count)
virtual int ReadByte ()
virtual long Seek (const long offset, const SeekOrigin origin)
virtual void Write (const Array< byte > &buffer, const int offset, const int count)
virtual void WriteByte (byte value)
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
Mutex m_lock

Detailed Description

Serializes access to a stream.

Definition at line 52 of file ThreadSafeStream.h.

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