CQueue< T > Class Template Reference

#include <wxutil.h>

List of all members.

Public Member Functions

 CQueue (int n)
 CQueue ()
 ~CQueue ()
GetQueueObject ()
void PutQueueObject (T Object)

Private Member Functions

void Initialize (int n)

Private Attributes

HANDLE hSemPut
HANDLE hSemGet
CRITICAL_SECTION CritSect
int nMax
int iNextPut
int iNextGet
T * QueueObjects


Detailed Description

template<class T>
class CQueue< T >

Definition at line 203 of file wxutil.h.


Constructor & Destructor Documentation

template<class T>
CQueue< T >::CQueue ( int  n  )  [inline]

Definition at line 223 of file wxutil.h.

References CQueue< T >::Initialize().

template<class T>
CQueue< T >::CQueue (  )  [inline]

Definition at line 227 of file wxutil.h.

References DEFAULT_QUEUESIZE, and CQueue< T >::Initialize().

template<class T>
CQueue< T >::~CQueue (  )  [inline]


Member Function Documentation

template<class T>
void CQueue< T >::Initialize ( int  n  )  [inline, private]

template<class T>
T CQueue< T >::GetQueueObject (  )  [inline]

template<class T>
void CQueue< T >::PutQueueObject ( Object  )  [inline]


Member Data Documentation

template<class T>
HANDLE CQueue< T >::hSemPut [private]

template<class T>
HANDLE CQueue< T >::hSemGet [private]

template<class T>
CRITICAL_SECTION CQueue< T >::CritSect [private]

template<class T>
int CQueue< T >::nMax [private]

template<class T>
int CQueue< T >::iNextPut [private]

Definition at line 209 of file wxutil.h.

Referenced by CQueue< T >::Initialize(), and CQueue< T >::PutQueueObject().

template<class T>
int CQueue< T >::iNextGet [private]

Definition at line 210 of file wxutil.h.

Referenced by CQueue< T >::GetQueueObject(), and CQueue< T >::Initialize().

template<class T>
T* CQueue< T >::QueueObjects [private]


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

Generated on Sun May 25 00:20:51 2008 by  doxygen 1.5.6