CGOomMonitorPluginBase Class Reference

class CGOomMonitorPluginBase : public CBase

Inherits from

Constructor & Destructor Documentation

CGOomMonitorPluginBase()

IMPORT_C CGOomMonitorPluginBase ( )

Constructor Plugins should assume that the system memory is good when they are created.

~CGOomMonitorPluginBase()

IMPORT_C ~CGOomMonitorPluginBase ( )

Destructor

Member Functions Documentation

ConstructL()

IMPORT_C void ConstructL ( )

2nd stage constructor

ExtensionInterface(TUid, TAny *&)

IMPORT_C void ExtensionInterface ( TUid aInterfaceId,
TAny *& aImplementaion
) [virtual]

Parameters

TUid aInterfaceId
TAny *& aImplementaion

FreeRam(TInt, TInt)

void FreeRam ( TInt aBytesToFree,
TInt aFlags
) [pure virtual]

FreeRam is called when the system RAM level becomes low. This plugin is requested to help free some RAM.

Parameters

TInt aBytesToFree
TInt aFlags

FsSession()

IMPORT_C RFs & FsSession ( )

Get a handle to the file server.

MemoryGood(TInt)

void MemoryGood ( TInt aFlags ) [pure virtual]

MemoryGood is called when the system RAM level becomes good after being low.The plugin may take this opportunity to start using RAM again. Nb It is assumed that the plugin will not immediately cause a large increase in memory use, but that memory may be used over time, otherwise the plugin may cause oscillation between low and good memory states.

Parameters

TInt aFlags

WsSession()

IMPORT_C RWsSession & WsSession ( )

Get a handle to the window server.

Member Data Documentation

CMemoryMonitor * iMemoryMonitor

CMemoryMonitor * iMemoryMonitor [private]