TAlfVisualCommand Class Reference

class TAlfVisualCommand : public TAlfObjectCommand

TAlfVisualCommand is an object command that operates on a visual. Usage:

  //Create Visual command to move visual to front
   TAlfVisualCommand command( *iVisual, EAlfOpEnableTransformation );
  
  //Send command , visual will be moved to front
   iEnv->Send( command, 1 );

Inherits from

Constructor & Destructor Documentation

TAlfVisualCommand(CAlfVisual &, TAlfOp, TInt, TInt)

IMPORT_CTAlfVisualCommand(CAlfVisual &aVisual,
TAlfOpaOperation,
TIntaSetFlags = 0,
TIntaClearFlags = 0
)

Constructs a new visual command.

Parameters

CAlfVisual & aVisualVisual.
TAlfOp aOperationOperation to do on the visual.
TInt aSetFlags = 0
TInt aClearFlags = 0

Member Functions Documentation

CommandExtension(const TUid &, TAny **)

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

Parameters

const TUid & aExtensionUid
TAny ** aExtensionParams

ExecuteL(CAlfEnv &)

IMPORT_C voidExecuteL(CAlfEnv &aEnv)const [virtual]

Executes the command.

Parameters

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

FlagsToClear()

IMPORT_C TIntFlagsToClear()const

Returns the flags that will be cleared by the command.

FlagsToSet()

IMPORT_C TIntFlagsToSet()const

Returns the flags that will be set by the command.

Size()

IMPORT_C TIntSize()const [virtual]

Returns the size of the command.

Visual()

IMPORT_C CAlfVisual &Visual()const

Returns the visual that the command operates on.

Member Data Documentation

TInt iClearFlags

TInt iClearFlags[private]

Flags to clear.

TInt iSetFlags

TInt iSetFlags[private]

Flags to set.

TInt iSpare1

TInt iSpare1[private]

TInt iSpare2

TInt iSpare2[private]