RCommsBufPond Class Reference

class RCommsBufPond

The RCommsBufPond represents a collection of RShPools. Each pool in the pond has a different size of buffer. The pond is responsible for creating, allocating and freeing these pools.

Public Member Functions
RCommsBufPond()
IMPORT_C RCommsBuf *Alloc(TInt, TInt, TInt)
IMPORT_C TCommsBufAllocatorAllocator()
IMPORT_C TIntBytesAvailable()
IMPORT_C TIntBytesAvailable(TInt)
IMPORT_C RCommsBuf *FromHandle(TInt)
TBool IsNull()
IMPORT_C TIntLargestBufSize()
IMPORT_C TIntNextBufSize(TInt)
IMPORT_C TIntStore(TPondTransferBuf &)
Private Member Functions
RCommsBufPond(MCommsBufPondIntf *)
IMPORT_C voidCancelRequest(RCommsBufAsyncRequest &)
CSystemSharedBufPond &Pond()
IMPORT_C voidStartRequest(RCommsBufAsyncRequest &)
Protected Attributes
MCommsBufPondIntf *iPondImpl

Constructor & Destructor Documentation

RCommsBufPond()

IMPORT_CRCommsBufPond()

RCommsBufPond(MCommsBufPondIntf *)

RCommsBufPond(MCommsBufPondIntf *aPondImpl)[private, inline]

Parameters

MCommsBufPondIntf * aPondImpl

Member Functions Documentation

Alloc(TInt, TInt, TInt)

IMPORT_C RCommsBuf *Alloc(TIntaSize,
TIntaMinBufSize,
TIntaMaxBufSize
)

Parameters

TInt aSize
TInt aMinBufSize
TInt aMaxBufSize

Allocator()

IMPORT_C TCommsBufAllocatorAllocator()

BytesAvailable()

IMPORT_C TIntBytesAvailable()const

BytesAvailable(TInt)

IMPORT_C TIntBytesAvailable(TIntaSize)const

Parameters

TInt aSize

CancelRequest(RCommsBufAsyncRequest &)

IMPORT_C voidCancelRequest(RCommsBufAsyncRequest &aRequest)[private]

Parameters

RCommsBufAsyncRequest & aRequest

FromHandle(TInt)

IMPORT_C RCommsBuf *FromHandle(TIntaHandle)

Parameters

TInt aHandle

IsNull()

TBool IsNull()const [inline]

Check whether the pond is opened and is valid

LargestBufSize()

IMPORT_C TIntLargestBufSize()const

NextBufSize(TInt)

IMPORT_C TIntNextBufSize(TIntaSize)const

Parameters

TInt aSize

Pond()

CSystemSharedBufPond &Pond()const [private]

StartRequest(RCommsBufAsyncRequest &)

IMPORT_C voidStartRequest(RCommsBufAsyncRequest &aRequest)[private]

Parameters

RCommsBufAsyncRequest & aRequest

Store(TPondTransferBuf &)

IMPORT_C TIntStore(TPondTransferBuf &aStore)const

Parameters

TPondTransferBuf & aStore

Member Data Documentation

MCommsBufPondIntf * iPondImpl

MCommsBufPondIntf *iPondImpl[protected]