Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: e32std.h
Link against: Not applicable

Class RHeapBase

RHeapBase

Support

Supported from 5.0

Description

Base class for RHeap, which is the class which encapsulates a heap. The only public interface defined in this class is the THeapType enumeration, which is detailed below.

Defined in RHeapBase:
EChunkNormal, EChunkStack, EChunkSupervisor, EFixedAddress, THeapType

See also:


Enumerations


Enum THeapType

THeapType

Description

Describes the type of heap. More specifically, it is descriptive of the chunk which hosts the heap.

EChunkStack

Indicates a heap which shares its hosting chunk with the program stack. This is the type of heap which is created when a thread is created using the RThread::Create() function.

EChunkNormal

Indicates a heap which is the only occupant of its hosting chunk. Such a heap is created using UserHeap::ChunkHeap().

EFixedAddress

The hosting chunk always resides at the same linear address, regardless of whether it is part of the address space of the currently running process or not. The heap is also of fixed length.

EChunkSupervisor

The hosting chunk is part of the Kernel process; not seen by user processes.