CBitMapAllocator Class Reference

class CBitMapAllocator : public CBase

Inherits from

Constructor & Destructor Documentation

CBitMapAllocator(TInt, TInt)

IMPORT_C CBitMapAllocator ( TInt aSize,
TInt aLength
) [protected]

Parameters

TInt aSize
TInt aLength

~CBitMapAllocator()

IMPORT_C ~CBitMapAllocator ( )

Member Functions Documentation

Alloc()

IMPORT_C TInt Alloc ( )

Alloc(TInt, TInt &)

IMPORT_C TInt Alloc ( TInt aCount,
TInt & aConsecutive
)

Parameters

TInt aCount
TInt & aConsecutive

AllocAligned(TInt)

IMPORT_C TInt AllocAligned ( TInt anAlignment )

Parameters

TInt anAlignment

AllocAlignedBlock(TInt)

IMPORT_C TInt AllocAlignedBlock ( TInt anAlignment )

Parameters

TInt anAlignment

AllocAt(TInt)

IMPORT_C void AllocAt ( TInt aPos )

Parameters

TInt aPos

AllocAt(TInt, TInt)

IMPORT_C void AllocAt ( TInt aPos,
TInt aCount
)

Parameters

TInt aPos
TInt aCount

AllocFrom(TInt)

IMPORT_C TInt AllocFrom ( TInt aPos )

Parameters

TInt aPos

AllocFromTop()

IMPORT_C TInt AllocFromTop ( )

AllocFromTopFrom(TInt)

IMPORT_C TInt AllocFromTopFrom ( TInt aPos )

Parameters

TInt aPos

Avail()

IMPORT_C TInt Avail ( )

ExtractRamPages(TInt, TInt &)

IMPORT_C TInt ExtractRamPages ( TInt aConsecutive,
TInt & aPageNo
)

Parameters

TInt aConsecutive
TInt & aPageNo

Free(TInt)

IMPORT_C void Free ( TInt aPos )

Parameters

TInt aPos

Free(TInt, TInt)

IMPORT_C void Free ( TInt aPos,
TInt aCount
)

Parameters

TInt aPos
TInt aCount

IsFree(TInt)

IMPORT_C TBool IsFree ( TInt aPos )

Parameters

TInt aPos

IsFree(TInt, TInt)

IMPORT_C TBool IsFree ( TInt aPos,
TInt aCount
)

Parameters

TInt aPos
TInt aCount

New(TInt)

IMPORT_C CBitMapAllocator * New ( TInt aSize ) [static]

Parameters

TInt aSize

NewL(TInt)

IMPORT_C CBitMapAllocator * NewL ( TInt aSize ) [static]

Parameters

TInt aSize

Size()

IMPORT_C TInt Size ( )

Member Data Documentation

TInt iAvail

TInt iAvail [protected]

TInt iLength

TInt iLength [protected]

TUint iMap

TUint iMap [protected]

TInt iSize

TInt iSize [protected]