RMBufPktQ Class Reference

class RMBufPktQ

MBUF PACKET QUEUE

Public Member Functions
IMPORT_C voidAppend(RMBufChain &)
IMPORT_C voidAppend(RMBufPktQ &)
IMPORT_C voidAssign(RMBufPktQ &)
const RMBufChain &First()
IMPORT_C voidFree()
IMPORT_C voidInit()
TBool IsEmpty()
const RMBufChain &Last()
IMPORT_C voidPrepend(RMBufChain &)
IMPORT_C TBoolRemove(RMBufChain &)
Private Member Functions
voidInsert(RMBufChain &, RMBufChain &)
voidRemove(RMBufChain &, RMBufChain &)
Protected Attributes
RMBufChain iLast
RMBufChain iNext

Member Functions Documentation

Append(RMBufChain &)

IMPORT_C voidAppend(RMBufChain &aChain)

Appends a MBuf chain to the queue

Parameters

RMBufChain & aChain

Append(RMBufPktQ &)

IMPORT_C voidAppend(RMBufPktQ &aQueue)

Appends a queue to the queue

Parameters

RMBufPktQ & aQueuea BMuf Paket Queue

Assign(RMBufPktQ &)

IMPORT_C voidAssign(RMBufPktQ &aQueue)

Parameters

RMBufPktQ & aQueue

First()

const RMBufChain &First()const [inline]

Returns the first in the queue

Free()

IMPORT_C voidFree()

Frees the RMBuf Paket Queue, delets all objects

Init()

IMPORT_C voidInit()

Insert(RMBufChain &, RMBufChain &)

voidInsert(RMBufChain &aNew,
RMBufChain &aPrev
)[private]

Inserts a MBuf chain next to a member in the queue

Parameters

RMBufChain & aNewA MBuf chain to be inserted
RMBufChain & aPrevthe member (a RMBufChain object) of the chain next to which the chain in inserted into

IsEmpty()

TBool IsEmpty()const [inline]

Check if the queue is empty

Last()

const RMBufChain &Last()const [inline]

Returns the last in the queue

Prepend(RMBufChain &)

IMPORT_C voidPrepend(RMBufChain &aChain)

Prepends a MBuf chain to the queue

Parameters

RMBufChain & aChain

Remove(RMBufChain &)

IMPORT_C TBoolRemove(RMBufChain &aChain)

Prepends a queue to the queue

Parameters

RMBufChain & aChain

Remove(RMBufChain &, RMBufChain &)

voidRemove(RMBufChain &aNew,
RMBufChain &aPrev
)[private]

Removes the part after a member from the queue

Parameters

RMBufChain & aNewthe resulted removed part
RMBufChain & aPrev

Member Data Documentation

RMBufChain iLast

RMBufChain iLast[protected]

RMBufChain iNext

RMBufChain iNext[protected]