RMBufQ Class Reference
class RMBufQ : public RCommsBufQ
|
Constructor & Destructor Documentation
RMBufQ(RMBuf *)
IMPORT_C
|
RMBufQ
|
(
|
RMBuf
*
|
aChain
|
)
|
|
Member Functions Documentation
Append(RMBuf *)
IMPORT_C void
|
Append
|
(
|
RMBuf
*
|
aBuf
|
)
|
|
Appends a MBuf to the queue
Parameters
RMBuf
* aBuf
|
the buffer to be prepended
|
Append(RMBufQ &)
IMPORT_C void
|
Append
|
(
|
RMBufQ
&
|
aQueue
|
)
|
|
Appends a MBuf queue to this queue
Parameters
RMBufQ
& aQueue
|
the queue to be appended
|
Append(RMBufChain &)
Appends a MBuf chain to this queue
Assign(RMBufQ &)
IMPORT_C void
|
Assign
|
(
|
RMBufQ
&
|
aQueue
|
)
|
|
Assign this queue to a MBuf queue
Assign(RMBufChain &)
Assign this a MBuf chain to this queue
First()
RMBuf
*
|
First
|
(
|
)
|
[inline]
|
Returns the first in the queue
Free()
Frees the queue making it empty
IsEmpty()
TBool
|
IsEmpty
|
(
|
)
|
[inline]
|
Check if the queue is empty
Last()
RMBuf
*
|
Last
|
(
|
)
|
[inline]
|
Returns the last in the queue
Prepend(RMBuf *)
IMPORT_C void
|
Prepend
|
(
|
RMBuf
*
|
aBuf
|
)
|
|
Prepends one MBuf to this queue. aBuf must not point to any further Mbufs.
Parameters
RMBuf
* aBuf
|
the buffer to be appended
|
Prepend(RMBufQ &)
IMPORT_C void
|
Prepend
|
(
|
RMBufQ
&
|
aQueue
|
)
|
|
Prepends a MBuf queue to this queue
Parameters
RMBufQ
& aQueue
|
the queue to be prepended
|
Prepend(RMBufChain &)
Prepends a MBuf chain to this queue
Remove()
IMPORT_C
RMBuf
*
|
Remove
|
(
|
)
|
|
Removes the first MBuf from the queue
RemoveLast()
IMPORT_C
RMBuf
*
|
RemoveLast
|
(
|
)
|
[private]
|
Removes and returns the last
RMBuf
from the queu
Transfer(RMBufQ &, TInt, TInt)
For the benefit of the MBuf allocator Grab as many buffer as possible, as quickly as possible.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.