 |
AJA NTV2 SDK
17.6.0.2675
NTV2 SDK 17.6.0.2675
|
Go to the documentation of this file.
114 __out
void *
GetData()
const {
return m_pObject; };
118 void SetData(__in
void *p) { m_pObject = p; };
129 CNode *pNode = m_pHead;
131 CNode *pCurrent = pNode;
132 pNode = pNode->
Next();
138 if (m_iUsed < m_iCacheSize) {
139 pNode->SetNext(m_pHead);
148 CNode *pNode = m_pHead;
150 m_pHead = pNode->
Next();
482 #define TRAVERSELIST(list, cursor) \
483 for ( cursor = (list).GetHeadPosition() \
485 ; cursor = (list).Next(cursor) \
492 #define REVERSETRAVERSELIST(list, cursor) \
493 for ( cursor = (list).GetTailPosition() \
495 ; cursor = (list).Prev(cursor) \
506 BOOL bAlert = FALSE) :
508 UNREFERENCED_PARAMETER(bAlert);
509 UNREFERENCED_PARAMETER(bLock);
523 __out_opt OBJECT *
GetHead()
const {
return Get(GetHeadPosition()); }
void AddToCache(__inout CNode *pNode)
BOOL AddBefore(__in_opt POSITION p, __in CBaseList *pList)
__out_opt POSITION AddHeadI(__in void *pObj)
__out_opt OBJECT * Remove(__in_opt POSITION p)
__out OBJECT * GetNext(__inout POSITION &rp) const
CNode * RemoveFromCache()
__out_opt POSITION AddBefore(__in_opt POSITION p, __in OBJECT *pObj)
void SetNext(__in_opt CNode *p)
__out CNode * Next() const
CGenericList< CBaseObject > CBaseObjectList
CGenericList(__in_opt LPCTSTR pName)
__out_opt POSITION GetHeadPositionI() const
__out_opt POSITION FindI(__in void *pObj) const
__out_opt POSITION Prev(__in_opt POSITION pos) const
BOOL AddTail(__in CBaseList *pList)
BOOL AddTail(__in CGenericList< OBJECT > *pList)
CNodeCache(INT iCacheSize)
__out_opt POSITION AddAfter(__in_opt POSITION p, __in OBJECT *pObj)
CGenericList(__in_opt LPCTSTR pName, INT iItems, BOOL bLock=TRUE, BOOL bAlert=FALSE)
BOOL MoveToTail(__in_opt POSITION pos, __in CBaseList *pList)
void SetPrev(__in_opt CNode *p)
__out CNode * Prev() const
BOOL AddBefore(__in_opt POSITION p, __in CGenericList< OBJECT > *pList)
BOOL AddAfter(__in_opt POSITION p, __in CBaseList *pList)
BOOL MoveToHead(__in_opt POSITION pos, __in CBaseList *pList)
__out void * GetData() const
__out OBJECT * GetValid(__in POSITION p) const
__out_opt OBJECT * Get(__in_opt POSITION p) const
__out_opt POSITION AddTailI(__in void *pObj)
__out_opt void * RemoveI(__in_opt POSITION p)
__out_opt POSITION Next(__in_opt POSITION pos) const
CGenericList< IUnknown > CBaseInterfaceList
__out_opt void * RemoveHeadI()
__out_opt void * GetI(__in_opt POSITION p) const
__out_opt OBJECT * RemoveTail()
__out_opt POSITION AddTail(__in OBJECT *pObj)
BOOL AddHead(__in CBaseList *pList)
__out void * GetValidI(__in POSITION p) const
BOOL AddHead(__in CGenericList< OBJECT > *pList)
__out_opt POSITION Find(__in OBJECT *pObj) const
__out_opt POSITION AddBeforeI(__in_opt POSITION p, __in void *pObj)
void SetData(__in void *p)
__out_opt POSITION AddHead(__in OBJECT *pObj)
__out_opt POSITION GetTailPosition() const
__out_opt OBJECT * GetHead() const
__out_opt OBJECT * RemoveHead()
__out_opt POSITION AddAfterI(__in_opt POSITION p, __in void *pObj)
__out_opt void * RemoveTailI()
__out void * GetNextI(__inout POSITION &rp) const
BOOL AddAfter(__in_opt POSITION p, __in CGenericList< OBJECT > *pList)
__out_opt POSITION GetHeadPosition() const
__out_opt POSITION GetTailPositionI() const