CAknsSrvChunkLookup Class Reference
class CAknsSrvChunkLookup : public CBase
|
A class for looking up and creating item definitions stored in the shared memory chunk.
Protected Member Functions
|
|
CAknsSrvChunkLookup
()
|
void
|
ConstructL
()
|
CAknsAnimationItemDef
*
|
CreateAnimationL
(const
TAknsItemID
&, const
TAny
*, const
TAny
*)
|
CAknsEffectItemDef
*
|
CreateEffectL
(const
TUint8
*, const
TBool
, const
TAny
*)
|
TUint32
|
CreateEffectL
(
CAknsEffectItemDef
*&, const
TUint32
, const
TAny
*, const
TAny
*, const
TBool
)
|
CAknsEffectQueueItemDef
*
|
CreateEffectQueueL
(const
TAknsItemID
&, const
TAny
*, const
TAny
*)
|
CAknsEffectParamDef
*
|
CreateParameterL
(const
TUint8
*, const
TAny
*)
|
TUint32
|
CreateParameterL
(
CAknsEffectParamDef
*&, const
TUint32
, const
TAny
*, const
TAny
*)
|
CAknsItemDef
*
|
CreateUnprotectedL
(const
TAknsItemID
&, const
TAny
*, const
TAknsItemType
, const
TAny
*)
|
void
|
LookupAndCreateScalableItemUnprotectedL
(const
TAknsItemID
&, const
TInt
, const
TSize
&,
CFbsBitmap
*&,
CFbsBitmap
*&,
TInt
&)
|
Constructor & Destructor Documentation
CAknsSrvChunkLookup()
CAknsSrvChunkLookup
|
(
|
)
|
[protected]
|
~CAknsSrvChunkLookup()
~CAknsSrvChunkLookup
|
(
|
)
|
[virtual]
|
Member Functions Documentation
BeginRead()
Blocks write access to the shared memory chunk.
BeginRender()
IMPORT_C void
|
BeginRender
|
(
|
)
|
|
ConstructL()
void
|
ConstructL
|
(
|
)
|
[protected]
|
Second-phase constructor.
CreateAnimationL(const TAknsItemID &, const TAny *, const TAny *)
CreateEffectL(const TUint8 *, const TBool, const TAny *)
CreateEffectL(CAknsEffectItemDef *&, const TUint32, const TAny *, const TAny *, const TBool)
CreateEffectQueueL(const TAknsItemID &, const TAny *, const TAny *)
CreateParameterL(const TUint8 *, const TAny *)
CreateParameterL(CAknsEffectParamDef *&, const TUint32, const TAny *, const TAny *)
CreateUnprotectedL(const TAknsItemID &, const TAny *, const TAknsItemType, const TAny *)
Creates an item definition object (or leaves) based on the given item definition structure.
Note that this method does not use the semaphore, and is therefore unprotected.
Parameters
const
TAknsItemID
& aID
|
Item ID of the item.
|
const
TAny
* aDef
|
Pointer to the definition.
|
const
TAknsItemType
aType
|
Type of the definition.
|
const
TAny
* aBasePtr
|
Chunk base pointer.
|
EndRead()
Allows write access to the shared memory chunk.
EndRender()
IMPORT_C void
|
EndRender
|
(
|
)
|
|
LookupAndCreateDefL(const TAknsItemID &)
Returns item definition object matching the given item ID. Performs lookup for the given item ID and returns an instance of one of the subclasses of
CAknsItemDef
matching the given ID. If the call is successfull, ownership of the item definition object is transferred to the caller.
-
Since
-
2.0
-
Exceptions:
-
If construction of the item definition object failed, method leaves with an error code.
LookupAndCreateScalableItemL(const TAknsItemID &, const TInt, const TSize &, CFbsBitmap *&, CFbsBitmap *&, TInt &)
Returns stored scalable bitmaps and optionally its mask if it was stored. The ownership of the returned bitmap (and mask, if any) is transferred to the caller.
Optionally, the caller can give the current copy of the bitmap and mask as aBitmap and aMask parameters. If the currently stored scalable bitmaps have the same handles, they are not re-duplicated. The ownership of the given bitmaps is transferred to chunk lookup.
Parameters
const
TAknsItemID
& aID
|
Item ID to be searched.
|
const
TInt
aLayout
|
The layout id type for the searhed item.
|
const
TSize
& aLayoutSize
|
|
CFbsBitmap
*& aBitmap
|
Current bitmap or NULL. Ownership is transferred. After return, contains the newly duplicated bitmap, or NULL if not found. Ownership is transferred.
|
CFbsBitmap
*& aMask
|
Current mask or NULL. Ownership is transferred. After return, contains the newly duplicated mask, or NULL if not found. Ownership is transferred.
|
TInt
& aMorphing
|
|
LookupAndCreateScalableItemUnprotectedL(const TAknsItemID &, const TInt, const TSize &, CFbsBitmap *&, CFbsBitmap *&, TInt &)
Returns stored scalable bitmaps and optionally its mask if it was stored.
Note that this method does not use the semaphore, and is therefore unprotected.
NewL()
SymbianOS two-phased constructor.
-
Since
-
2.0
-
Exceptions:
-
If the construction fails, the leaves with one of the system wide error codes.
Reserved()
IMPORT_C
TInt
|
Reserved
|
(
|
)
|
[private]
|
Member Data Documentation
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.