RMBufPktQ Class Reference

class RMBufPktQ

MBUF PACKET QUEUE

Public Member Functions
IMPORT_C void Append ( RMBufChain &)
IMPORT_C void Append ( RMBufPktQ &)
IMPORT_C void Assign ( RMBufPktQ &)
const RMBufChain & First ()
IMPORT_C void Free ()
IMPORT_C void Init ()
TBool IsEmpty ()
const RMBufChain & Last ()
IMPORT_C void Prepend ( RMBufChain &)
IMPORT_C TBool Remove ( RMBufChain &)
Private Member Functions
void Insert ( RMBufChain &, RMBufChain &)
void Remove ( RMBufChain &, RMBufChain &)
Protected Attributes
RMBufChain iLast
RMBufChain iNext

Member Functions Documentation

Append(RMBufChain &)

IMPORT_C void Append ( RMBufChain & aChain )

Appends a MBuf chain to the queue

Parameters

RMBufChain & aChain

Append(RMBufPktQ &)

IMPORT_C void Append ( RMBufPktQ & aQueue )

Appends a queue to the queue

Parameters

RMBufPktQ & aQueue a BMuf Paket Queue

Assign(RMBufPktQ &)

IMPORT_C void Assign ( RMBufPktQ & aQueue )

Parameters

RMBufPktQ & aQueue

First()

const RMBufChain & First ( ) const [inline]

Returns the first in the queue

Free()

IMPORT_C void Free ( )

Frees the RMBuf Paket Queue, delets all objects

Init()

IMPORT_C void Init ( )

Insert(RMBufChain &, RMBufChain &)

void Insert ( RMBufChain & aNew,
RMBufChain & aPrev
) [private]

Inserts a MBuf chain next to a member in the queue

Parameters

RMBufChain & aNew A MBuf chain to be inserted
RMBufChain & aPrev the 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 void Prepend ( RMBufChain & aChain )

Prepends a MBuf chain to the queue

Parameters

RMBufChain & aChain

Remove(RMBufChain &)

IMPORT_C TBool Remove ( RMBufChain & aChain )

Prepends a queue to the queue

Parameters

RMBufChain & aChain

Remove(RMBufChain &, RMBufChain &)

void Remove ( RMBufChain & aNew,
RMBufChain & aPrev
) [private]

Removes the part after a member from the queue

Parameters

RMBufChain & aNew the resulted removed part
RMBufChain & aPrev

Member Data Documentation

RMBufChain iLast

RMBufChain iLast [protected]

RMBufChain iNext

RMBufChain iNext [protected]