CGOomMonitorPlugin Class Reference

class CGOomMonitorPlugin : public CGOomMonitorPluginBase

Inherits from

Constructor & Destructor Documentation

CGOomMonitorPlugin()

CGOomMonitorPlugin()[inline]

Member Functions Documentation

FreeRam(TInt, TInt)

voidFreeRam(TIntaBytesToFree,
TIntaFlags
)[pure virtual]

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

this version of the function should not need to be implemented. The definition of this function should change once the alf plugin is stable and finetuned

Parameters

TInt aBytesToFreeThe minimum number of bytes of free memory that the plugin should try to free.
TInt aFlags

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