#include <wxutil.h>
Public Member Functions | |
| CQueue (int n) | |
| CQueue () | |
| ~CQueue () | |
| T | 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 |
Definition at line 203 of file wxutil.h.
Definition at line 227 of file wxutil.h.
References DEFAULT_QUEUESIZE, and CQueue< T >::Initialize().
Definition at line 231 of file wxutil.h.
References CQueue< T >::CritSect, CQueue< T >::hSemGet, CQueue< T >::hSemPut, and CQueue< T >::QueueObjects.
| void CQueue< T >::Initialize | ( | int | n | ) | [inline, private] |
Definition at line 213 of file wxutil.h.
References CQueue< T >::CritSect, CQueue< T >::hSemGet, CQueue< T >::hSemPut, CQueue< T >::iNextGet, CQueue< T >::iNextPut, CQueue< T >::nMax, NULL, and CQueue< T >::QueueObjects.
Referenced by CQueue< T >::CQueue().
| T CQueue< T >::GetQueueObject | ( | ) | [inline] |
Definition at line 238 of file wxutil.h.
References CQueue< T >::CritSect, CQueue< T >::hSemGet, CQueue< T >::hSemPut, CQueue< T >::iNextGet, LONG, CQueue< T >::nMax, and CQueue< T >::QueueObjects.
| void CQueue< T >::PutQueueObject | ( | T | Object | ) | [inline] |
Definition at line 260 of file wxutil.h.
References CQueue< T >::CritSect, CQueue< T >::hSemGet, CQueue< T >::hSemPut, CQueue< T >::iNextPut, LONG, CQueue< T >::nMax, and CQueue< T >::QueueObjects.
Definition at line 205 of file wxutil.h.
Referenced by CQueue< T >::GetQueueObject(), CQueue< T >::Initialize(), CQueue< T >::PutQueueObject(), and CQueue< T >::~CQueue().
Definition at line 206 of file wxutil.h.
Referenced by CQueue< T >::GetQueueObject(), CQueue< T >::Initialize(), CQueue< T >::PutQueueObject(), and CQueue< T >::~CQueue().
Definition at line 207 of file wxutil.h.
Referenced by CQueue< T >::GetQueueObject(), CQueue< T >::Initialize(), CQueue< T >::PutQueueObject(), and CQueue< T >::~CQueue().
Definition at line 208 of file wxutil.h.
Referenced by CQueue< T >::GetQueueObject(), CQueue< T >::Initialize(), and CQueue< T >::PutQueueObject().
Definition at line 209 of file wxutil.h.
Referenced by CQueue< T >::Initialize(), and CQueue< T >::PutQueueObject().
Definition at line 210 of file wxutil.h.
Referenced by CQueue< T >::GetQueueObject(), and CQueue< T >::Initialize().
T* CQueue< T >::QueueObjects [private] |
Definition at line 211 of file wxutil.h.
Referenced by CQueue< T >::GetQueueObject(), CQueue< T >::Initialize(), CQueue< T >::PutQueueObject(), and CQueue< T >::~CQueue().
1.5.6