12 #ifndef _TLinkedList_h 13 #define _TLinkedList_h 16 #include "os/OsTask.h" 43 template <
class TENTRY>
111 virtual unsigned long GetCount(
void);
174 virtual bool AddEntry(TENTRY tEntry);
312 virtual TENTRY
GetEntry(TENTRY tEntry);
335 virtual TENTRY
GetEntry(
bool (*Comparitor)(TENTRY,
void *),
void *);
381 virtual TENTRY
RemoveEntry(
bool (*Comparitor)(TENTRY,
void *),
void *);
608 template <
class TENTRY>
640 template <
class TENTRY>
690 template <
class TENTRY>
715 template <
class TENTRY>
739 template <
class TENTRY>
762 template <
class TENTRY>
809 template <
class TENTRY>
815 TENTRY retVal = NULL;
846 template <
class TENTRY>
852 TENTRY retVal = NULL;
883 template <
class TENTRY>
889 TENTRY retVal = NULL;
920 template <
class TENTRY>
926 TENTRY retVal = NULL;
959 template <
class TENTRY>
1007 template <
class TENTRY>
1009 bool (*Comparitor)(TENTRY,
void *),
void *pvLookupKey)
1025 if((*Comparitor)(tEntry, pvLookupKey))
1060 template <
class TENTRY>
1113 template <
class TENTRY>
1115 bool (*Comparitor)(TENTRY,
void *),
void *pvLookupKey)
1131 if((*Comparitor)(tEntry, pvLookupKey))
1169 template <
class TENTRY>
1171 bool (*Comparitor)(TENTRY,
void *),
void *pvLookupKey)
1187 if((*Comparitor)(tEntry, pvLookupKey))
1191 ptLink = ptNextLink;
1223 template <
class TENTRY>
1265 template <
class TENTRY>
1316 template <
class TENTRY>
1346 template <
class TENTRY>
CRITICAL_SECTION m_csSynchronized
Definition: TLinkedList.h:587
void SetNext(CTLink< TENTRY > *ptLink)
Definition: TLink.h:376
CTLinkedList(void)
Definition: TLinkedList.h:609
void SetPrevious(CTLink< TENTRY > *ptLink)
Definition: TLink.h:398
virtual TENTRY RemoveEntry(TENTRY tEntry)
Definition: TLinkedList.h:1061
virtual void TakeLock(void)
Definition: TLinkedList.h:716
CTLink< TENTRY > * m_ptHead
Definition: TLinkedList.h:544
CTLink< TENTRY > * GetPrevious(void)
Definition: TLink.h:354
CTLink< TENTRY > * GetNext(void)
Definition: TLink.h:332
virtual bool AddEntry(TENTRY tEntry)
Definition: TLinkedList.h:763
virtual TENTRY GetNextEntry(void)
Definition: TLinkedList.h:847
virtual void RemoveAllEntries(bool(*Comparitor)(TENTRY, void *), void *)
Definition: TLinkedList.h:1170
virtual unsigned long GetCount(void)
Definition: TLinkedList.h:691
virtual TENTRY GetFirstEntry(void)
Definition: TLinkedList.h:810
void EnterCriticalSection(CRITICAL_SECTION *csSynchronized)
void DeleteCriticalSection(CRITICAL_SECTION *csSynchronized)
TENTRY GetEntry(void)
Definition: TLink.h:310
void LeaveCriticalSection(CRITICAL_SECTION *csSynchronized)
TENTRY RemoveLink(CTLink< TENTRY > *ptLink)
Definition: TLinkedList.h:1266
virtual TENTRY GetEntry(TENTRY tEntry)
Definition: TLinkedList.h:960
CTLink< TENTRY > * ResetIterator(void)
Definition: TLinkedList.h:1317
CTLink< TENTRY > * m_ptIterator
Definition: TLinkedList.h:573
CTLink< TENTRY > * AdvanceIterator(void)
Definition: TLinkedList.h:1347
virtual ~CTLinkedList(void)
Definition: TLinkedList.h:641
virtual TENTRY RemoveFirstEntry(void)
Definition: TLinkedList.h:884
void InitializeCriticalSection(CRITICAL_SECTION *csSynchronized)
unsigned long m_dwCount
Definition: TLinkedList.h:531
CTLink< TENTRY > * m_ptTail
Definition: TLinkedList.h:557
#define TRUE
Definition: PlgDefsV1.h:41
#define FALSE
Definition: PlgDefsV1.h:37
Definition: TLinkedList.h:44
void AddLink(CTLink< TENTRY > *ptLink)
Definition: TLinkedList.h:1224
virtual void ReleaseLock(void)
Definition: TLinkedList.h:740
virtual TENTRY RemoveNextEntry(void)
Definition: TLinkedList.h:921