LLLinkedQueue< DATA_TYPE > Class Template Reference

#include <lllinkedqueue.h>

Inheritance diagram for LLLinkedQueue< DATA_TYPE >:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 LLLinkedQueue ()
 ~LLLinkedQueue ()
void push (const DATA_TYPE data)
BOOL pop (DATA_TYPE &data)
BOOL peek (DATA_TYPE &data)
void reset ()
S32 getLength () const
BOOL isEmpty () const
BOOL remove (const DATA_TYPE data)
BOOL checkData (const DATA_TYPE data) const

Private Member Functions

void addNodeAtEnd (LLLinkedQueueNode< DATA_TYPE > *nodep)

Private Attributes

LLLinkedQueueNode< DATA_TYPE > mHead
LLLinkedQueueNode< DATA_TYPE > mTail
S32 mLength

Detailed Description

template<class DATA_TYPE>
class LLLinkedQueue< DATA_TYPE >

Definition at line 57 of file lllinkedqueue.h.


Constructor & Destructor Documentation

template<class DATA_TYPE>
LLLinkedQueue< DATA_TYPE >::LLLinkedQueue (  ) 

Definition at line 119 of file lllinkedqueue.h.

template<class DATA_TYPE>
LLLinkedQueue< DATA_TYPE >::~LLLinkedQueue (  ) 

Definition at line 128 of file lllinkedqueue.h.

References LLLinkedQueue< DATA_TYPE >::reset().


Member Function Documentation

template<class DATA_TYPE>
void LLLinkedQueue< DATA_TYPE >::addNodeAtEnd ( LLLinkedQueueNode< DATA_TYPE > *  nodep  )  [private]

Definition at line 295 of file lllinkedqueue.h.

References LLLinkedQueue< DATA_TYPE >::mHead, LLLinkedQueue< DATA_TYPE >::mLength, LLLinkedQueueNode< DATA_TYPE >::mNextp, LLLinkedQueueNode< DATA_TYPE >::mPrevp, LLLinkedQueue< DATA_TYPE >::mTail, and NULL.

Referenced by LLLinkedQueue< DATA_TYPE >::push().

template<class DATA_TYPE>
BOOL LLLinkedQueue< DATA_TYPE >::checkData ( const DATA_TYPE  data  )  const

Definition at line 230 of file lllinkedqueue.h.

References FALSE, LLLinkedQueueNode< DATA_TYPE >::mData, LLLinkedQueue< DATA_TYPE >::mHead, LLLinkedQueueNode< DATA_TYPE >::mNextp, and TRUE.

template<class DATA_TYPE>
S32 LLLinkedQueue< DATA_TYPE >::getLength (  )  const

Definition at line 215 of file lllinkedqueue.h.

References LLLinkedQueue< DATA_TYPE >::mLength.

Referenced by LLAudioDecodeMgr::Impl::processQueue(), and LLXferManager::retransmitUnackedPackets().

template<class DATA_TYPE>
BOOL LLLinkedQueue< DATA_TYPE >::isEmpty (  )  const

Definition at line 221 of file lllinkedqueue.h.

References LLLinkedQueue< DATA_TYPE >::mLength.

template<class DATA_TYPE>
BOOL LLLinkedQueue< DATA_TYPE >::peek ( DATA_TYPE &  data  ) 

Definition at line 273 of file lllinkedqueue.h.

References FALSE, LLLinkedQueueNode< DATA_TYPE >::mData, LLLinkedQueue< DATA_TYPE >::mHead, and TRUE.

template<class DATA_TYPE>
BOOL LLLinkedQueue< DATA_TYPE >::pop ( DATA_TYPE &  data  ) 

Definition at line 246 of file lllinkedqueue.h.

References FALSE, LLLinkedQueueNode< DATA_TYPE >::mData, LLLinkedQueue< DATA_TYPE >::mHead, LLLinkedQueue< DATA_TYPE >::mLength, LLLinkedQueueNode< DATA_TYPE >::mNextp, LLLinkedQueueNode< DATA_TYPE >::mPrevp, LLLinkedQueue< DATA_TYPE >::mTail, and TRUE.

Referenced by LLAudioDecodeMgr::Impl::processQueue(), and LLXferManager::retransmitUnackedPackets().

template<class DATA_TYPE>
void LLLinkedQueue< DATA_TYPE >::push ( const DATA_TYPE  data  ) 

Definition at line 136 of file lllinkedqueue.h.

References LLLinkedQueue< DATA_TYPE >::addNodeAtEnd().

Referenced by LLAudioDecodeMgr::addDecodeRequest(), and LLXferManager::processReceiveData().

template<class DATA_TYPE>
BOOL LLLinkedQueue< DATA_TYPE >::remove ( const DATA_TYPE  data  ) 

Definition at line 149 of file lllinkedqueue.h.

References FALSE, LLLinkedQueueNode< DATA_TYPE >::mData, LLLinkedQueue< DATA_TYPE >::mHead, LLLinkedQueue< DATA_TYPE >::mLength, LLLinkedQueueNode< DATA_TYPE >::mNextp, LLLinkedQueueNode< DATA_TYPE >::mPrevp, LLLinkedQueue< DATA_TYPE >::mTail, and TRUE.

template<class DATA_TYPE>
void LLLinkedQueue< DATA_TYPE >::reset (  ) 

Definition at line 195 of file lllinkedqueue.h.

References LLLinkedQueue< DATA_TYPE >::mHead, LLLinkedQueue< DATA_TYPE >::mLength, LLLinkedQueueNode< DATA_TYPE >::mNextp, LLLinkedQueue< DATA_TYPE >::mTail, and NULL.

Referenced by LLLinkedQueue< DATA_TYPE >::~LLLinkedQueue().


Member Data Documentation

template<class DATA_TYPE>
LLLinkedQueueNode<DATA_TYPE> LLLinkedQueue< DATA_TYPE >::mHead [private]

Definition at line 89 of file lllinkedqueue.h.

Referenced by LLLinkedQueue< DATA_TYPE >::addNodeAtEnd(), LLLinkedQueue< DATA_TYPE >::checkData(), LLLinkedQueue< DATA_TYPE >::peek(), LLLinkedQueue< DATA_TYPE >::pop(), LLLinkedQueue< DATA_TYPE >::remove(), and LLLinkedQueue< DATA_TYPE >::reset().

template<class DATA_TYPE>
S32 LLLinkedQueue< DATA_TYPE >::mLength [private]

Definition at line 91 of file lllinkedqueue.h.

Referenced by LLLinkedQueue< DATA_TYPE >::addNodeAtEnd(), LLLinkedQueue< DATA_TYPE >::getLength(), LLLinkedQueue< DATA_TYPE >::isEmpty(), LLLinkedQueue< DATA_TYPE >::pop(), LLLinkedQueue< DATA_TYPE >::remove(), and LLLinkedQueue< DATA_TYPE >::reset().

template<class DATA_TYPE>
LLLinkedQueueNode<DATA_TYPE> LLLinkedQueue< DATA_TYPE >::mTail [private]

Definition at line 90 of file lllinkedqueue.h.

Referenced by LLLinkedQueue< DATA_TYPE >::addNodeAtEnd(), LLLinkedQueue< DATA_TYPE >::pop(), LLLinkedQueue< DATA_TYPE >::remove(), and LLLinkedQueue< DATA_TYPE >::reset().


The documentation for this class was generated from the following file:
Generated on Thu Jul 1 06:11:27 2010 for Second Life Viewer by  doxygen 1.4.7