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_C THuiPointCommand ( TAny * aOwner,
THuiTimedPoint & aPoint,
THuiOp aOperation
)

Constructs a new timed point command.

Parameters

TAny * aOwner Owner of the timed point. Allowed to be NULL.
THuiTimedPoint & aPoint Point to execute the command on.
THuiOp aOperation Operation to perform.

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

IMPORT_C THuiPointCommand ( TAny * aOwner,
THuiTimedPoint & aPoint,
THuiRealPoint aTarget,
TInt aTransitionTime = 0
)

Constructs a new timed point command.

Parameters

TAny * aOwner Owner of the timed value. Allowed to be NULL.
THuiTimedPoint & aPoint Point to execute the command on.
THuiRealPoint aTarget Target value
TInt aTransitionTime = 0 Time (in milliseconds) for the transition to occur.

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

IMPORT_C THuiPointCommand ( TAny * aOwner,
THuiTimedPoint & aPoint,
THuiOp aOperation,
THuiRealPoint aTarget,
TReal32 aTiming = 0.0
)

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

Parameters

TAny * aOwner Owner of the timed value. Allowed to be NULL.
THuiTimedPoint & aPoint Point to execute the command on.
THuiOp aOperation Operation to perform.
THuiRealPoint aTarget Target value.
TReal32 aTiming = 0.0 Time (in milliseconds) for the transition to occur.

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(CHuiEnv &)

IMPORT_C void ExecuteL ( CHuiEnv & aEnv ) const [virtual]

Executes the command.

Parameters

CHuiEnv & aEnv The environment in which the command is being executed.

Size()

IMPORT_C TInt Size ( ) const [virtual]

Returns the size of the command.

Speed()

IMPORT_C TReal32 Speed ( ) const

Returns the transition speed of this point command.

Target()

IMPORT_C THuiRealPoint Target ( ) const

Returns the target value.

TimedPoint()

IMPORT_C THuiTimedPoint & TimedPoint ( ) const

Returns the timed point that the command operates on.

TransitionTime()

IMPORT_C TInt TransitionTime ( ) 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.