CGOomMonitorPluginBase Class Reference

class CGOomMonitorPluginBase : public CBase

Inherits from

  • CGOomMonitorPluginBase

Constructor & Destructor Documentation

CGOomMonitorPluginBase()

IMPORT_CCGOomMonitorPluginBase()

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 voidConstructL()

2nd stage constructor

ExtensionInterface(TUid, TAny *&)

IMPORT_C voidExtensionInterface(TUidaInterfaceId,
TAny *&aImplementaion
)[virtual]

Parameters

TUid aInterfaceId
TAny *& aImplementaion

FreeRam(TInt, TInt)

voidFreeRam(TIntaBytesToFree,
TIntaFlags
)[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)

voidMemoryGood(TIntaFlags)[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]