MCommsBufPondIntf Class Reference
This class defines a interface to communicate with the legacy mbufmanager or with the system wide shared buffer mechanism
Member Functions Documentation
Alloc(TInt, TInt, TInt)
Parameters
TInt
aSize
|
- Requested total size
|
TInt
aMinBufSize
|
- The size that the allocated buffer must atleast have
|
TInt
aMaxBufSize
|
- The size that the allocated buffer "can" have.
|
BytesAvailable()
TInt
|
BytesAvailable
|
(
|
)
|
const [pure virtual]
|
Total bytes available in the mbufmgr or shared buffer system
BytesAvailable(TInt)
TInt
|
BytesAvailable
|
(
|
TInt
|
aSize
|
)
|
const [pure virtual]
|
Total bytes available in a pool with a given size.
CancelRequest(CCommsBufAsyncRequest &)
Cance the request to allocate a
RCommsBuf
asynchronously
Free(RCommsBuf *)
void
|
Free
|
(
|
RCommsBuf
*
|
aBuf
|
)
|
[pure virtual]
|
LargestBufSize()
TInt
|
LargestBufSize
|
(
|
)
|
const [pure virtual]
|
Larget buffer size available in the mbufmgr or shared buffer system
NextBufSize(TInt)
TInt
|
NextBufSize
|
(
|
TInt
|
aSize
|
)
|
const [pure virtual]
|
Returns the buffer size that is greater than the given size.
Release(RLibrary &)
void
|
Release
|
(
|
RLibrary
&
|
aLib
|
)
|
[pure virtual]
|
SetContext()
void
|
SetContext
|
(
|
)
|
[pure virtual]
|
Set the conext. In the case of system shared buffer manager this function is not having any implmentation as the context will be set by the
RCommsBufPond
. For mbufmgr which is another DLL needs to set the context for the usage of global timers etc...
StartRequest(CCommsBufAsyncRequest &)
Request to allocate a
RCommsBuf
asynchronously
Store(TDes8 &)
TInt
|
Store
|
(
|
TDes8
&
|
aStore
|
)
|
const [pure virtual]
|
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.