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.
Public Member Functions | |
---|---|
RMBufAllocator() | |
IMPORT_C TInt | BytesAvailable() |
IMPORT_C TInt | BytesAvailable(TInt) |
IMPORT_C TInt | LargestMBufSize() |
IMPORT_C TInt | NextMBufSize(TInt) |