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_C TAlfVisualCommand ( CAlfVisual & aVisual,
TAlfOp aOperation,
TInt aSetFlags = 0,
TInt aClearFlags = 0
)

Constructs a new visual command.

Parameters

CAlfVisual & aVisual Visual.
TAlfOp aOperation Operation to do on the visual.
TInt aSetFlags = 0
TInt aClearFlags = 0

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]

Executes the command.

Parameters

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

FlagsToClear()

IMPORT_C TInt FlagsToClear ( ) const

Returns the flags that will be cleared by the command.

FlagsToSet()

IMPORT_C TInt FlagsToSet ( ) const

Returns the flags that will be set by the command.

Size()

IMPORT_C TInt Size ( ) 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]