struct TChunkCreateInfo |
This structure specifies the type and properties of the chunk to be created. It is passed as a parameter to the RChunk::Create() method.
Public Member Functions | |
---|---|
TChunkCreateInfo() | |
IMPORT_C void | SetCache(TInt) |
IMPORT_C void | SetClearByte(TUint8) |
IMPORT_C void | SetCode(TInt, TInt) |
IMPORT_C void | SetDisconnected(TInt, TInt, TInt) |
IMPORT_C void | SetDoubleEnded(TInt, TInt, TInt) |
IMPORT_C void | SetGlobal(const TDesC &) |
IMPORT_C void | SetNormal(TInt, TInt) |
IMPORT_C void | SetOwner(TOwnerType) |
IMPORT_C void | SetPaging(const TChunkPagingAtt) |
IMPORT_C void | SetReadOnly() |
void | SetThreadHeap(TInt, TInt, const TDesC &) |
Public Member Enumerations | |
---|---|
enum | TChunkCreateVersions { EVersion0, ESupportedVersions } |
enum | TChunkPagingAtt { EUnspecified, EPaged, EUnpaged } |
Protected Attributes | |
---|---|
TUint | iAttributes |
TUint8 | iClearByte |
TBool | iGlobal |
TInt | iInitialBottom |
TInt | iInitialTop |
TInt | iMaxSize |
const TDesC * | iName |
TOwnerType | iOwnerType |
TUint8 | iSpare1 |
TUint | iSpare2 |
TUint | iType |
TUint | iVersionNumber |
IMPORT_C void | SetCache | ( | TInt | aMaxSize | ) |
For use by file server only.
TInt aMaxSize |
IMPORT_C void | SetDisconnected | ( | TInt | aInitialBottom, |
TInt | aInitialTop, | |||
TInt | aMaxSize | |||
) |
IMPORT_C void | SetDoubleEnded | ( | TInt | aInitialBottom, |
TInt | aInitialTop, | |||
TInt | aMaxSize | |||
) |
IMPORT_C void | SetPaging | ( | const TChunkPagingAtt | aPaging | ) |
const TChunkPagingAtt aPaging |
void | SetThreadHeap | ( | TInt | aInitialSize, |
TInt | aMaxSize, | |||
const TDesC & | aName | |||
) |
Currently supported version numbers
EVersion0 | |
ESupportedVersions |
Attributes that specify whether the chunk to be created is data paged or not.
EUnspecified |
The chunk will use the creating process's paging attributes. |
EPaged |
The chunk will be data paged. |
EUnpaged |
The chunk will not be data paged. |
TUint | iAttributes | [protected] |
Attributes to the chunk to be created should have. Should be set from one or more the values in TChunkCreate::TChunkCreateAtt.
TUint8 | iClearByte | [protected] |
The byte to clear all the memory committed to the chunk to.
TInt | iInitialBottom | [protected] |
The offset of the bottom of the region to commit to the chunk on creation from the base of the chunk's reserved region. This is only used for double ended and disconnected chunks.
TInt | iInitialTop | [protected] |
The offset of the top of the region to commit to the chunk on creation from the base of the chunk's reserved region. This is only used for double ended and disconnected chunks.
const TDesC * | iName | [protected] |
A pointer to a descriptor containing the name to be assigned to global chunks. The length of the descriptor must be no greater than that allowed for a TKName type. Must be NULL for local chunks.
TOwnerType | iOwnerType | [protected] |
An enumeration whose enumerators define the ownership of this chunk handle. If not explicitly specified, EOwnerProcess is taken as default.