THuiCommand Class Reference
THuiCommand is the base class of all commands. A command is an instruction to some class that can be set to occur some time in the future. Each command stores information about an operation. Each command is also responsible for the execution of the command. Commands are processed by the class's OfferEventL() method.
Constructor & Destructor Documentation
THuiCommand(THuiCommandType)
~THuiCommand()
IMPORT_C | ~THuiCommand | ( | ) | [virtual] |
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 &)
void | ExecuteL | ( | CHuiEnv & | aEnv | ) | const [pure virtual] |
Parameters
CHuiEnv & aEnv | The environment in which the command is being executed. |
Sender()
IMPORT_C TAny * | Sender | ( | ) | const |
Returns the sender object. This is the object which issued the command originally.
SenderControl()
Returns the sender control. Returns NULL if the sender is not a control.
Sender()
SenderControlGroup()
IMPORT_C CHuiControlGroup * | SenderControlGroup | ( | ) | const |
Returns the sender control group. Returns NULL if the sender is not a control group.
Sender()
SenderType()
Determines the type of the object that sent the command.
SenderVisual()
Returns the sender visual. Returns NULL if the sender is not a visual.
Sender()
SetSender(THuiCommandObjectType, TAny *)
Sets the sender object of the command. The sender must not be deleted while the command is pending execution in a scheduler.
Size()
TInt
| Size | ( | ) | const [pure virtual] |
Returns the size of the command.
Type()
Determines the type of the command.
Member Data Documentation
TAny * iSender
Object that sent this command. Must exist.
THuiCommandObjectType
iSenderType
Type of the object that sent the command.
THuiCommandType
iType
Type of the command. Depends on the command class.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.