|
Original Symbian headers
Selected EUSER, Window Server, networking, graphics and device declarations
|
This structure specifies the type and properties of the user heap to be created. More...
#include <e32std.h>
Public Types | |
| enum | TChunkHeapCreateVersions { EVersion0 , ESupportedVersions } |
| enum | TChunkHeapPagingAtt { EUnspecified , EPaged , EUnpaged } |
| Attributes that specify whether the chunk heap to be created is data paged or not. More... | |
Public Member Functions | |
| IMPORT_C | TChunkHeapCreateInfo (TInt aMinLength, TInt aMaxLength) |
| Constructor where minimum and maximum length of the heap can be defined. | |
| IMPORT_C void | SetCreateChunk (const TDesC *aName) |
| Sets the chunk heap to create a new chunk with the specified name. | |
| IMPORT_C void | SetUseChunk (const RChunk aChunk) |
| Sets the chunk heap to be created to use the chunk specified. | |
| void | SetSingleThread (TBool aSingleThread) |
| Sets single thread property of the chunk heap. | |
| void | SetAlignment (TInt aAlign) |
| Sets alignment of the cells of the chunk heap to be created. | |
| void | SetGrowBy (TInt aGrowBy) |
| Sets the increments to the size of the host chunk. | |
| void | SetOffset (TInt aOffset) |
| Sets the offset from the base of the host chunk to the start of the heap. | |
| void | SetMode (TUint aMode) |
| Sets the mode flags of the chunk heap. | |
| void | SetPaging (const TChunkHeapPagingAtt aPaging) |
| Sets the paging attribute of the chunk heap to be created. | |
Protected Attributes | |
| TUint | iVersionNumber |
| The version number of this TChunkHeapCreateInfo. | |
| TInt | iMinLength |
| The minimum size for the heap. | |
| TInt | iMaxLength |
| The maximum size for the heap. | |
| TInt | iAlign |
| The alignment of the heap. | |
| TInt | iGrowBy |
| The grow by value of the heap. | |
| TBool | iSingleThread |
| The single thread value of the heap. | |
| TInt | iOffset |
| The offset from the base of the chunk to the start of the heap. | |
| TChunkHeapPagingAtt | iPaging |
| The paging attributes of the chunk. | |
| TUint | iMode |
| The mode flags for the heap. | |
| TDesC * | iName |
| The name of the chunk to be created for the heap. | |
| RChunk | iChunk |
| The chunk to use for the heap. | |
| TInt | iSpare [5] |
Friends | |
| class | UserHeap |
This structure specifies the type and properties of the user heap to be created.
It is passed as a parameter to the UserHeap::Create() method.
| IMPORT_C TChunkHeapCreateInfo::TChunkHeapCreateInfo | ( | TInt | aMinLength, |
| TInt | aMaxLength | ||
| ) |
Constructor where minimum and maximum length of the heap can be defined.
It defaults the chunk heap to be created to have use a new local chunk, to have a grow by value of KMinHeapGrowBy, to be unaligned, not to be single threaded and not to have any mode flags set.
| aMinLength | The minimum length of the heap to be created. |
| aMaxLength | The maximum length to which the heap to be created can grow. If the supplied value is less than KMinHeapSize, then it is discarded and the value KMinHeapSize used instead. |
(generated from Symbian Developer Library)
|
inline |
Sets alignment of the cells of the chunk heap to be created.
This overrides any previous call to TChunkHeapCreateInfo::SetAlignment() for this TChunkHeapCreateInfo object.
(generated from Symbian Developer Library)
| IMPORT_C void TChunkHeapCreateInfo::SetCreateChunk | ( | const TDesC * | aName | ) |
Sets the chunk heap to create a new chunk with the specified name.
This overriddes any previous call to TChunkHeapCreateInfo::SetNewChunkHeap() or TChunkHeapCreateInfo::SetExistingChunkHeap() for this TChunkHeapCreateInfo object.
| aName | The name to be given to the chunk heap to be created If NULL, the function constructs a local chunk to host the heap. If not NULL, a pointer to a descriptor containing the name to be assigned to the global chunk hosting the heap. |
(generated from Symbian Developer Library)
|
inline |
Sets the increments to the size of the host chunk.
If the supplied value is less than KMinHeapGrowBy, it is discarded and the value KMinHeapGrowBy is used instead.
This overrides any previous call to TChunkHeapCreateInfo::SetGrowBy() for this TChunkHeapCreateInfo object.
| aGrowBy | The increment to the size of the host chunk. |
(generated from Symbian Developer Library)
|
inline |
Sets the mode flags of the chunk heap.
This overrides any previous call to TChunkHeapCreateInfo::SetMode() for this TChunkHeapCreateInfo object.
| aMode | The mode flags for the chunk heap to be created, this should be one or more of the values from TChunkHeapCreateMode. |
(generated from Symbian Developer Library)
|
inline |
Sets the offset from the base of the host chunk to the start of the heap.
This overrides any previous call to TChunkHeapCreateInfo::SetOffset() for this TChunkHeapCreateInfo object.
| aOffset | The offset in bytes. |
(generated from Symbian Developer Library)
|
inline |
Sets the paging attribute of the chunk heap to be created.
This overrides any previous call to TChunkHeapCreateInfo::SetPaging() for this TChunkHeapCreateInfo object.
| aPaging | The paging attribute for the chunk heap to be created. |
(generated from Symbian Developer Library)
|
inline |
Sets single thread property of the chunk heap.
This overrides any previous call to TChunkHeapCreateInfo::SetSingleThread() for this TChunkHeapCreateInfo object.
| aSingleThread | ETrue when the chunk heap is to be single threaded, EFalse otherwise. |
(generated from Symbian Developer Library)
| IMPORT_C void TChunkHeapCreateInfo::SetUseChunk | ( | const RChunk | aChunk | ) |
Sets the chunk heap to be created to use the chunk specified.
This overriddes any previous call to TChunkHeapCreateInfo::SetNewChunkHeap() or TChunkHeapCreateInfo::SetExistingChunkHeap() for this TChunkHeapCreateInfo object.
| aChunk | A handle to the chunk to use for the heap. |
(generated from Symbian Developer Library)
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
The version number of this TChunkHeapCreateInfo.