gxThreadSynchronizer Class Reference

Helper class to ensure that a method is sync'd and then unsync'd when the method or block goes out of scope. More...

#include <gxThreadSafeObject.h>

List of all members.

Public Member Functions

 gxThreadSynchronizer (gxThreadSafeObject *objectToSync)
virtual ~gxThreadSynchronizer ()
void enter ()
void leave ()
void wait (long time)


Detailed Description

Helper class to ensure that a method is sync'd and then unsync'd when the method or block goes out of scope.

Callers will not use this class directly. Instead use the GX_SYNCHRONIZE and GX_SYNCHRONIZE_OBJECT macros.


Constructor & Destructor Documentation

gxThreadSynchronizer::gxThreadSynchronizer gxThreadSafeObject objectToSync  ) 
 

virtual gxThreadSynchronizer::~gxThreadSynchronizer  )  [virtual]
 


Member Function Documentation

void gxThreadSynchronizer::enter  ) 
 

void gxThreadSynchronizer::leave  ) 
 

void gxThreadSynchronizer::wait long  time  ) 
 


The documentation for this class was generated from the following file:
Generated on Mon Nov 21 01:01:37 2005 for gxLib by  doxygen 1.4.5