AP_ThreadQueueBase< _Ty > Class Template Reference

#include <AP_ThreadQueue.h>

Inherits std::queue<_Ty>.

Collaboration diagram for AP_ThreadQueueBase< _Ty >:

Collaboration graph

Public Member Functions

 AP_ThreadQueueBase (void)
AP_Bool Create (void)
void Destroy (void)
AP_Bool Get (_Ty &e)
AP_Bool Put (const _Ty &e)
AP_Bool valid (void) const
virtual ~AP_ThreadQueueBase (void)

Private Member Functions

void postGet (void)
void postPut (void)
AP_Bool waitGet (void)
AP_Bool waitPut (void)

Private Attributes

AP_ThreadCriticalSection _m_critical
AP_Uint32 _m_max
AP_ThreadSemaphore _m_semaphore_get
AP_ThreadSemaphore _m_semaphore_put
AP_Bool _m_valid

template<class _Ty>
class AP::AP_ThreadQueueBase< _Ty >


Constructor & Destructor Documentation

AP_ThreadQueueBase ( void   )  [inline]

virtual ~AP_ThreadQueueBase ( void   )  [inline, virtual]


Member Function Documentation

AP_Bool Create ( void   )  [inline]

void Destroy ( void   )  [inline]

AP_Bool Get ( _Ty &  e  )  [inline]

void postGet ( void   )  [private]

void postPut ( void   )  [private]

AP_Bool Put ( const _Ty &  e  )  [inline]

AP_Bool valid ( void   )  const [inline]

AP_Bool waitGet ( void   )  [private]

AP_Bool waitPut ( void   )  [private]


Field Documentation

AP_Uint32 _m_max [private]

AP_Bool _m_valid [private]


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

Generated on Fri Mar 5 16:50:45 2010 for CarLinO by  doxygen 1.5.8