TAlfGroupCommand Class Reference

class TAlfGroupCommand : public TAlfObjectCommand

TAlfGroupCommand is an object command that operates on a control group. Usage:

  //Create control group command to show contro group on display
  TAlfGroupCommand command( *iControlGroup, EAlfOpShow, &display );
  
  //Send command , control group will be shown
   iEnv->Send( command, 1 );
 
 //Create control group command to hide control group on display
  TAlfGroupCommand command1( *iControlGroup, EAlfOpHide, &display );
  
  //Send command , control group will be hidden
   iEnv->Send( command, 1 );

Inherits from

Public Member Functions
TAlfGroupCommand(CAlfControlGroup &, TAlfOp, CAlfDisplay *)
IMPORT_C CAlfControlGroup &ControlGroup()
IMPORT_C CAlfDisplay *Display()
IMPORT_C voidExecuteL(CAlfEnv &)
IMPORT_C TIntSize()
Protected Member Functions
IMPORT_C voidCommandExtension(const TUid &, TAny **)
Inherited Functions
TAlfCommand::TAlfCommand(TAlfCommandType)
TAlfCommand::Type()const
TAlfCommand::~TAlfCommand()
TAlfObjectCommand::Object()const
TAlfObjectCommand::ObjectCommand()const
TAlfObjectCommand::Operation()const
TAlfObjectCommand::TAlfObjectCommand(TAlfCommandType,TAny *,TAlfOp)
Private Attributes
CAlfDisplay *iDisplay
TInt iSpare1
TInt iSpare2

Constructor & Destructor Documentation

TAlfGroupCommand(CAlfControlGroup &, TAlfOp, CAlfDisplay *)

IMPORT_CTAlfGroupCommand(CAlfControlGroup &aGroup,
TAlfOpaOperation,
CAlfDisplay *aDisplay = NULL
)

Constructs a new control group command.

Parameters

CAlfControlGroup & aGroupControl group.
TAlfOp aOperationOperation to do on the group.
CAlfDisplay * aDisplay = NULLDisplay associated with the command.

Member Functions Documentation

CommandExtension(const TUid &, TAny **)

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

Parameters

const TUid & aExtensionUid
TAny ** aExtensionParams

ControlGroup()

IMPORT_C CAlfControlGroup &ControlGroup()const

Returns the control group that the command operates on.

Display()

IMPORT_C CAlfDisplay *Display()const

Returns the display associated with the command.

ExecuteL(CAlfEnv &)

IMPORT_C voidExecuteL(CAlfEnv &aEnv)const [virtual]

Executes the command.

Parameters

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

Size()

IMPORT_C TIntSize()const [virtual]

Returns the size of the command.

Member Data Documentation

CAlfDisplay * iDisplay

CAlfDisplay *iDisplay[private]

Display associated with the command.

TInt iSpare1

TInt iSpare1[private]

TInt iSpare2

TInt iSpare2[private]