CMemPagePool Class Reference
class CMemPagePool : public CBase |
Uses memory to implement the MPagePool page pool interface.
The class allocates pages from the default heap, storing them in an array. This pool is not persistent.
Constructor & Destructor Documentation
~CMemPagePool()
Destructor.
On destruction, memory for all pages is freed.
Member Functions Documentation
AcquireL()
For memory-based pools, there is no need to abandon pages, so the function returned does nothing.
AllocL()
Allocates a new unassigned page.
AssignL(const TAny *, TPageReclamation)
DoAbandon(MPagePool &)
void | DoAbandon | ( | MPagePool & | aPool | ) | [private, static] |
DoDeleteL(TPageRef)
IMPORT_C void | DoDeleteL | ( | TPageRef | aRef | ) | [protected] |
LockL(TPageRef)
Returns a pointer to a specified page.
Parameters
TPageRef aRef | Reference to the page to get |
NewLC()
Allocates and constructs a new CMemPagePool object, and leaves it on the cleanup stack.
Unlock(const TAny *, TPageChange)
IMPORT_C void | Unlock | ( | const TAny * | aPage, |
| TPageChange | aChange = EPageNoChange |
| ) | |
UpdateL(const TAny *)
IMPORT_C void | UpdateL | ( | const TAny * | aPage | ) | |
Member Data Documentation
CArrayFixSeg< TAny * > iPages
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.