MMemoryCollector Class Reference

#include <mw/MemoryManager.h>

Link against: memman.lib

class MMemoryCollector
Public Member Functions
pure virtual TUint Collect(TUint)
pure virtual TOOMPriority Priority()
pure virtual voidRestore()

Detailed Description

Since
3.1

Member Function Documentation

Collect ( TUint )

TUint Collect(TUintaRequired)[pure virtual]
Collect free memory, this function is called when allocation from System heap fails
Since
3.1

Returns: amount of memory collected

Priority ( )

TOOMPriority Priority()[pure virtual]
Priority of this collector, 0 - lowest, 10 - highest; the lower the priority, the earlier this collector is executed.
Since
3.1

Restore ( )

voidRestore()[pure virtual]
restore the entity controlled memory collector when there is enough memory System heap fails
Since
3.1