THuiPointCommand Class Reference

class THuiPointCommand : public THuiObjectCommand

THuiPointCommand is a command that operates on a timed point.

Inherits from

Constructor & Destructor Documentation

THuiPointCommand(TAny *, THuiTimedPoint &, THuiOp)

IMPORT_CTHuiPointCommand(TAny *aOwner,
THuiTimedPoint &aPoint,
THuiOpaOperation
)

Constructs a new timed point command.

Parameters

TAny * aOwnerOwner of the timed point. Allowed to be NULL.
THuiTimedPoint & aPointPoint to execute the command on.
THuiOp aOperationOperation to perform.

THuiPointCommand(TAny *, THuiTimedPoint &, THuiRealPoint, TInt)

IMPORT_CTHuiPointCommand(TAny *aOwner,
THuiTimedPoint &aPoint,
THuiRealPointaTarget,
TIntaTransitionTime = 0
)

Constructs a new timed point command.

Parameters

TAny * aOwnerOwner of the timed value. Allowed to be NULL.
THuiTimedPoint & aPointPoint to execute the command on.
THuiRealPoint aTargetTarget value
TInt aTransitionTime = 0Time (in milliseconds) for the transition to occur.

THuiPointCommand(TAny *, THuiTimedPoint &, THuiOp, THuiRealPoint, TReal32)

IMPORT_CTHuiPointCommand(TAny *aOwner,
THuiTimedPoint &aPoint,
THuiOpaOperation,
THuiRealPointaTarget,
TReal32aTiming = 0.0
)

Constructs a new timed point command. This constructor takes an operation parameter in addition to the target and timing values.

Parameters

TAny * aOwnerOwner of the timed value. Allowed to be NULL.
THuiTimedPoint & aPointPoint to execute the command on.
THuiOp aOperationOperation to perform.
THuiRealPoint aTargetTarget value.
TReal32 aTiming = 0.0Time (in milliseconds) for the transition to occur.

Member Functions Documentation

CommandExtension(const TUid &, TAny **)

IMPORT_C voidCommandExtension(const TUid &aExtensionUid,
TAny **aExtensionParams
)[protected, virtual]

Parameters

const TUid & aExtensionUid
TAny ** aExtensionParams

ExecuteL(CHuiEnv &)

IMPORT_C voidExecuteL(CHuiEnv &aEnv)const [virtual]

Executes the command.

Parameters

CHuiEnv & aEnvThe environment in which the command is being executed.

Size()

IMPORT_C TIntSize()const [virtual]

Returns the size of the command.

Speed()

IMPORT_C TReal32Speed()const

Returns the transition speed of this point command.

Target()

IMPORT_C THuiRealPointTarget()const

Returns the target value.

TimedPoint()

IMPORT_C THuiTimedPoint &TimedPoint()const

Returns the timed point that the command operates on.

TransitionTime()

IMPORT_C TIntTransitionTime()const

Returns the transition time of this point command.

Member Data Documentation

TInt iSpare1

TInt iSpare1[private]

TInt iSpare2

TInt iSpare2[private]

TReal32 iSpeed

TReal32 iSpeed[private]

Optionally, transition speed in units/second.

THuiRealPoint iTarget

THuiRealPoint iTarget[private]

Target value.

THuiTimedPoint & iTimedPoint

THuiTimedPoint &iTimedPoint[private]

Timed value being operated on.

TInt iTransitionTime

TInt iTransitionTime[private]

Transition time in milliseconds.