COomMonitorPlugin Class Reference

class COomMonitorPlugin : public CBase

Inherits from

Constructor & Destructor Documentation

COomMonitorPlugin()

IMPORT_C COomMonitorPlugin ( )

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

~COomMonitorPlugin()

IMPORT_C ~COomMonitorPlugin ( )

Destructor

Member Functions Documentation

ConstructL()

IMPORT_C void ConstructL ( )

2nd stage constructor

ExtensionInterface(TUid, TAny *&)

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

Parameters

TUid aInterfaceId
TAny *& aImplementaion

FreeRam()

void FreeRam ( ) [pure virtual]

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

FsSession()

IMPORT_C RFs & FsSession ( )

Get a handle to the file server.

MemoryGood()

void MemoryGood ( ) [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.

WsSession()

IMPORT_C RWsSession & WsSession ( )

Get a handle to the window server.

Member Data Documentation

CMemoryMonitor * iMemoryMonitor

CMemoryMonitor * iMemoryMonitor [private]