TAlfPointCommand Class Reference
class TAlfPointCommand : public TAlfObjectCommand
|
TAlfPointCommand
is a command that operates on a timed point. Usage:
//Create timed point command to set visual size
TAlfRealPoint p1( 0.1, 0.1 );
TAlfPointCommand command1( iVisual, EAlfValueCommandVisualSize, p1, 1 );
//Send command , Primary image will be set
iEnv->Send( command, 1 );
Public Member Functions
|
|
TAlfPointCommand
(
TAny
*,
TAlfPointCommandTarget
,
TAlfOp
)
|
|
TAlfPointCommand
(
TAny
*,
TAlfPointCommandTarget
,
TAlfRealPoint
,
TInt
,
TParameterTarget
)
|
|
TAlfPointCommand
(
TAny
*,
TAlfPointCommandTarget
,
TAlfOp
,
TAlfRealPoint
,
TReal32
,
TParameterTarget
)
|
IMPORT_C void
|
ExecuteL
(CAlfEnv &)
|
IMPORT_C
TInt
|
Size
()
|
IMPORT_C
TReal32
|
Speed
()
|
IMPORT_C
TAlfRealPoint
|
Target
()
|
IMPORT_C
TAlfPointCommandTarget
|
TimedPoint
()
|
IMPORT_C
TInt
|
TransitionTime
()
|
Constructor & Destructor Documentation
TAlfPointCommand(TAny *, TAlfPointCommandTarget, TAlfOp)
Constructs a new timed point command.
TAlfPointCommand(TAny *, TAlfPointCommandTarget, TAlfRealPoint, TInt, TParameterTarget)
Constructs a new timed point command.
TAlfPointCommand(TAny *, TAlfPointCommandTarget, TAlfOp, TAlfRealPoint, TReal32, TParameterTarget)
Constructs a new timed point command. This constructor takes an operation parameter in addition to the target and timing values.
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.
|
Size()
IMPORT_C
TInt
|
Size
|
(
|
)
|
const [virtual]
|
Returns the size of the command.
Speed()
Returns the transition speed. Zero, if not set.
Target()
Returns the target value.
TimedPoint()
Returns the object type that the command operates on.
TransitionTime()
IMPORT_C
TInt
|
TransitionTime
|
(
|
)
|
const
|
Returns the transition time.
Member Enumerations Documentation
Member Data Documentation
TParameterTarget
iParameterTarget
TReal32
iSpeed
Optionally, transition speed in units/second.
TAlfPointCommandTarget
iTimedPoint
Timed point being operated on.
TInt
iTransitionTime
TInt
|
iTransitionTime
|
[private]
|
Transition time in milliseconds.
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.