RMBuf Class Reference

class RMBuf : public RCommsBuf

RMBuf is a thin wrapper over RCommsBuf providing compatibility for existing code.

Inherits from

Public Member Functions
voidAdjustEnd(TInt)
voidAdjustStart(TInt)
IMPORT_C RMBuf *Alloc()
IMPORT_C RMBuf *Alloc(TUint)
IMPORT_C RMBuf *Alloc(RMBufAllocator &)
IMPORT_C RMBuf *Alloc(TUint, RMBufAllocator &)
IMPORT_C RMBuf *AllocL()
IMPORT_C RMBuf *AllocL(TUint)
IMPORT_C RMBuf *AllocL(RMBufAllocator &)
IMPORT_C RMBuf *AllocL(TUint, RMBufAllocator &)
TUint8 *Buffer()
const TUint8 *Buffer()
TInt End()
TUint8 *EndPtr()
const TUint8 *EndPtr()
voidFillZ()
IMPORT_C voidFree()
TUint8 Get(TInt)
IMPORT_C voidInit(TMBufType)
IMPORT_C RMBuf *Last()
TInt Length()
voidLink(RMBuf *)
voidLinkPkt(RMBufChain &)
RMBuf *Next()
const RMBuf *Next()
RMBufChain &NextPkt()
const RMBufChain &NextPkt()
TInt Offset()
TUint8 *Ptr()
const TUint8 *Ptr()
voidPut(TUint8, TInt)
voidSetData(TInt, TInt)
voidSetLength(TInt)
voidSetOffset(TInt)
voidSetType(TMBufType)
TInt Size()
TMBufType Type()
voidUnlink()
voidUnlinkPkt()
Private Member Functions
RMBuf()
RMBuf(const RMBuf &)
IMPORT_C TUint8__DbgGet(TInt)
IMPORT_C void__DbgPut(TUint8, TInt)
voidoperator delete(TAny *, TUint8 *)
TAny *operator new(TUint, TUint8 *)
RMBuf &operator=(const RMBuf &)
Inherited Functions
RCommsBuf::AdjustDataEnd(TInt)
RCommsBuf::AdjustDataStart(TInt)
RCommsBuf::Alloc(TUint,TCommsBufAllocator &)
RCommsBuf::Append(const TDesC8 &)
RCommsBuf::AppendLimit()const
RCommsBuf::DesC8()const
RCommsBuf::Prepend(const TDesC8 &)
RCommsBuf::PrependLimit()const
RCommsBuf::RCommsBuf()
RCommsBuf::RCommsBuf(TInt,TUint,TInt)
RCommsBuf::RCommsBuf(TInt,TUint,TInt,TInt)
RCommsBuf::RawBase()
RCommsBuf::RawBase()const
RCommsBuf::RawSize()const
RCommsBuf::Read(TDes8 &,TInt)const
RCommsBuf::Reset()
RCommsBuf::SetDataRange(TInt,TInt)
RCommsBuf::SetNext(RCommsBuf *)
RCommsBuf::Write(const TDesC8 &,TInt)
RCommsBuf::operator[](TInt)
RCommsBuf::operator[](TInt)const
Inherited Attributes
RCommsBuf::iCommsBufMetaData

Constructor & Destructor Documentation

RMBuf()

RMBuf()[private]

RMBuf(const RMBuf &)

RMBuf(const RMBuf &)[private]

Parameters

const RMBuf &

Member Functions Documentation

AdjustEnd(TInt)

voidAdjustEnd(TIntaLen)[inline]

Parameters

TInt aLen

AdjustStart(TInt)

voidAdjustStart(TIntaLen)[inline]

Parameters

TInt aLen

Alloc()

IMPORT_C RMBuf *Alloc()[static]

Alloc(TUint)

IMPORT_C RMBuf *Alloc(TUintaSize)[static]

Parameters

TUint aSize

Alloc(RMBufAllocator &)

IMPORT_C RMBuf *Alloc(RMBufAllocator &aRMBufAllocator)[static]

Parameters

RMBufAllocator & aRMBufAllocator

Alloc(TUint, RMBufAllocator &)

IMPORT_C RMBuf *Alloc(TUintaSize,
RMBufAllocator &aRMBufAllocator
)[static]

Parameters

TUint aSize
RMBufAllocator & aRMBufAllocator

AllocL()

IMPORT_C RMBuf *AllocL()[static]

AllocL(TUint)

IMPORT_C RMBuf *AllocL(TUintaSize)[static]

Parameters

TUint aSize

AllocL(RMBufAllocator &)

IMPORT_C RMBuf *AllocL(RMBufAllocator &aRMBufAllocator)[static]

Parameters

RMBufAllocator & aRMBufAllocator

AllocL(TUint, RMBufAllocator &)

IMPORT_C RMBuf *AllocL(TUintaSize,
RMBufAllocator &aRMBufAllocator
)[static]

Parameters

TUint aSize
RMBufAllocator & aRMBufAllocator

Buffer()

TUint8 *Buffer()[inline]

Buffer()

const TUint8 *Buffer()const [inline]

End()

TInt End()const [inline]

EndPtr()

TUint8 *EndPtr()[inline]

EndPtr()

const TUint8 *EndPtr()const [inline]

FillZ()

voidFillZ()[inline]

Free()

IMPORT_C voidFree()

Get(TInt)

TUint8 Get(TIntaOffset = 0)const [inline]

Parameters

TInt aOffset = 0

Init(TMBufType)

IMPORT_C voidInit(TMBufTypeaType)

Parameters

TMBufType aType

Last()

IMPORT_C RMBuf *Last()

Length()

TInt Length()const [inline]

Returns the length of the RCommsBuf data

the length of the RCommsBuf data

Link(RMBuf *)

voidLink(RMBuf *aBuf)[inline]

Parameters

RMBuf * aBuf

LinkPkt(RMBufChain &)

voidLinkPkt(RMBufChain &aChain)[inline]

Parameters

RMBufChain & aChain

Next()

RMBuf *Next()[inline]

Next()

const RMBuf *Next()const [inline]

NextPkt()

RMBufChain &NextPkt()[inline]

NextPkt()

const RMBufChain &NextPkt()const [inline]

Offset()

TInt Offset()const [inline]

Returns the offset of the RCommsBuf data

the offset of the RCommsBuf data

Ptr()

TUint8 *Ptr()[inline]

Returns a pointer to the actual location of the data start.

RCommsBuf::RawBase

A pointer

Ptr()

const TUint8 *Ptr()const [inline]

Returns a const pointer to the actual location of the data start. Actual data start location may differ from the start of the data

RCommsBuf::RawBase

A const pointer

Put(TUint8, TInt)

voidPut(TUint8aVal,
TIntaOffset = 0
)[inline]

Parameters

TUint8 aVal
TInt aOffset = 0

SetData(TInt, TInt)

voidSetData(TIntaOffset,
TIntaLength
)[inline]

Parameters

TInt aOffset
TInt aLength

SetLength(TInt)

voidSetLength(TIntaLength)[inline]

Parameters

TInt aLength

SetOffset(TInt)

voidSetOffset(TIntaOffset)[inline]

Sets the RCommsBuf data offset

Parameters

TInt aOffsetAn offset

SetType(TMBufType)

voidSetType(TMBufTypeaType)[inline]

Parameters

TMBufType aType

Size()

TInt Size()const [inline]

Type()

TMBufType Type()const [inline]

Unlink()

voidUnlink()[inline]

UnlinkPkt()

voidUnlinkPkt()[inline]

__DbgGet(TInt)

IMPORT_C TUint8__DbgGet(TIntaOffset = 0)const [private]

Parameters

TInt aOffset = 0

__DbgPut(TUint8, TInt)

IMPORT_C void__DbgPut(TUint8aVal,
TIntaOffset = 0
)[private]

Parameters

TUint8 aVal
TInt aOffset = 0

operator delete(TAny *, TUint8 *)

voidoperator delete(TAny *aPtr,
TUint8 *
)[private]

Parameters

TAny * aPtr
TUint8 *

operator new(TUint, TUint8 *)

TAny *operator new(TUintaSize,
TUint8 *aPtr
)[private]

Parameters

TUint aSize
TUint8 * aPtr

operator=(const RMBuf &)

RMBuf &operator=(const RMBuf &)[private]

Parameters

const RMBuf &