TMBufPktQIter Class Reference

class TMBufPktQIter

MBUF PACKET QUEUE ITERATOR

Constructor & Destructor Documentation

TMBufPktQIter(RMBufPktQ &)

TMBufPktQIter ( RMBufPktQ & aQueue ) [inline]

Constructor

Parameters

RMBufPktQ & aQueue

Member Functions Documentation

Current()

const RMBufChain & Current ( ) const [inline]

Returns the element in the current position

Insert(RMBufChain &)

IMPORT_C void Insert ( RMBufChain & aNewChain )

Inserts a chain into the queue to the part after current position

Parameters

RMBufChain & aNewChain the chain to be inserted

More()

TBool More ( ) const [inline]

Checks if there is more in the queue

Remove(RMBufChain &)

IMPORT_C void Remove ( RMBufChain & aNewChain )

Removes the part after the current position

Parameters

RMBufChain & aNewChain the resulted removed queue

Set(RMBufPktQ &)

void Set ( RMBufPktQ & aQueue ) [inline]

Iterates to a a position of an element in the queue

Parameters

RMBufPktQ & aQueue the elemet to iterate to

SetToFirst()

void SetToFirst ( ) [inline]

Sets to first position

TidyAfterUpdate()

IMPORT_C void TidyAfterUpdate ( )

Update the current position, after update if the current position becomes empty after update - the current position will be the first in the queue, else the next in the queue

operator++(TInt)

IMPORT_C const RMBufChain & operator++ ( TInt )

Operator ++ move to the next position in the queue

Parameters

TInt

Member Data Documentation

RMBufChain iCurrent

RMBufChain iCurrent [protected]

RMBufChain iPrev

RMBufChain iPrev [protected]

RMBufPktQ * iQueue

RMBufPktQ * iQueue [protected]