SyncOStream Class Reference

#include <rwlock_tester.h>

List of all members.

Public Member Functions

 SyncOStream (std::ostream *ostr=&cout)
 ~SyncOStream ()
void lock (void)
void unlock (void)

Public Attributes

std::ostream * out

Private Attributes

SystemLock l


Detailed Description

Definition at line 41 of file rwlock_tester.h.


Constructor & Destructor Documentation

SyncOStream::SyncOStream ( std::ostream *  ostr = &cout  )  [inline]

Definition at line 44 of file rwlock_tester.h.

00044 : out(ostr) {}

SyncOStream::~SyncOStream (  )  [inline]

Definition at line 46 of file rwlock_tester.h.

00046 {}


Member Function Documentation

void SyncOStream::lock ( void   )  [inline]

void SyncOStream::unlock ( void   )  [inline]


Member Data Documentation

std::ostream* SyncOStream::out

Definition at line 50 of file rwlock_tester.h.

Referenced by operator<<().

Definition at line 52 of file rwlock_tester.h.

Referenced by lock(), and unlock().


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

Generated on Wed Mar 19 14:59:59 2008 for rwlock by  doxygen 1.5.5