RMBufAllocator Class Reference

class RMBufAllocator : public TCommsBufAllocator

RMBufAllocator provides a handle that can be used to speed RMBufChain allocation. Without this handle every allocation internally accesses thread local storage. Creation of the RMBufAllocator handle uses thread local storage but subsequent RMBufChain allocations using this handle don't.

RMBufAllocator also provides information about the state of the RMBuf free pools, each size of RMBuf has a different free pool.

Inherits from

Public Member Functions
RMBufAllocator()
IMPORT_C TIntBytesAvailable()
IMPORT_C TIntBytesAvailable(TInt)
IMPORT_C TIntLargestMBufSize()
IMPORT_C TIntNextMBufSize(TInt)

Constructor & Destructor Documentation

RMBufAllocator()

IMPORT_CRMBufAllocator()

Member Functions Documentation

BytesAvailable()

IMPORT_C TIntBytesAvailable()const

BytesAvailable(TInt)

IMPORT_C TIntBytesAvailable(TIntaSize)const

Parameters

TInt aSize

LargestMBufSize()

IMPORT_C TIntLargestMBufSize()const

NextMBufSize(TInt)

IMPORT_C TIntNextMBufSize(TIntaSize)const

Parameters

TInt aSize