TAlfObjectCommand Class Reference
class TAlfObjectCommand : public TAlfCommand
|
TAlfObjectCommand
is the base class for commands that modify data owned by an object. If the object gets deleted and the scheduler is notified of this, the command will be automatically canceled.
Deriving class needs to override Clone() and Execute() functions from the Command base class and NOT to call the base class implementation.
Constructor & Destructor Documentation
TAlfObjectCommand(TAlfCommandType, TAny *, TAlfOp)
Parameters
TAlfCommandType
aType
|
Type of the command.
|
TAny
* aDataOwnerObject
|
Object that owns the data this command handles.
|
TAlfOp
aOperation
|
Operation being done on the object.
|
Member Functions Documentation
CommandExtension(const TUid &, TAny **)
IMPORT_C void
|
CommandExtension
|
(
|
const
TUid
&
|
aExtensionUid,
|
|
TAny
**
|
aExtensionParams
|
|
)
|
[protected, virtual]
|
Parameters
const
TUid
& aExtensionUid
|
|
TAny
** aExtensionParams
|
|
ExecuteL(CAlfEnv &)
IMPORT_C void
|
ExecuteL
|
(
|
CAlfEnv &
|
aEnv
|
)
|
const [virtual]
|
Parameters
CAlfEnv & aEnv
|
The environment in which the command is being executed.
|
Object()
IMPORT_C
TAny
*
|
Object
|
(
|
)
|
const
|
Returns the data owner object of the command.
Operation()
IMPORT_C
TAlfOp
|
Operation
|
(
|
)
|
const
|
Returns the operation of the command.
Size()
IMPORT_C
TInt
|
Size
|
(
|
)
|
const [virtual]
|
Returns the size of the command.
Member Data Documentation
TAny * iObject
Object that owns the data this command handles.
TAlfOp
iOperation
Operation being done on the object.
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.