class SsmCommandFactory |
Public Member Functions | |
---|---|
IMPORT_C MSsmCommand * | ConstructAMAStarterCommandLC ( TCmdErrorSeverity , TSsmExecutionBehaviour , const TUid &) |
IMPORT_C MSsmCommand * | ConstructAMAStarterCommandLC ( TCmdErrorSeverity , TSsmExecutionBehaviour , const TUid &, const TUint16 ) |
CSsmCommandBase * | ConstructCommandFromCommandLC (const MSsmCommand &, TArray < MSsmCommand * > &, CSsmCommandUtilProvider *) |
CSsmCommandBase * | ConstructCommandFromResourceLC ( TSsmCommandType , TSsmCommandParameters &) |
CSsmCommandBase * | ConstructCommandFromStreamLC ( TSsmCommandType , RReadStream &, TArray < MSsmCommand * > &) |
IMPORT_C MSsmCommand * | ConstructCreateSwpCommandLC ( TCmdErrorSeverity , const TSsmSwp &, TDesC &) |
IMPORT_C MSsmCommand * | ConstructCreateSwpCommandLC ( TCmdErrorSeverity , const TSsmSwp &, TDesC &, const TUint16 ) |
IMPORT_C MSsmCommand * | ConstructCustomCommandCommandLC ( TCmdErrorSeverity , TSsmExecutionBehaviour , CSsmCustomCommandInfo &) |
IMPORT_C MSsmCommand * | ConstructCustomCommandCommandLC ( TCmdErrorSeverity , TSsmExecutionBehaviour , CSsmCustomCommandInfo &, const TUint16 ) |
IMPORT_C MSsmCommand * | ConstructFinaliseDrivesCommandLC ( TCmdErrorSeverity ) |
IMPORT_C MSsmCommand * | ConstructLoadSupCommandLC ( TCmdErrorSeverity , TSsmExecutionBehaviour , TInt , const TSsmSupInfo &) |
IMPORT_C MSsmCommand * | ConstructLoadSupCommandLC ( TCmdErrorSeverity , TSsmExecutionBehaviour , TInt , const TSsmSupInfo &, const TUint16 ) |
IMPORT_C MSsmCommand * | ConstructMultipleWaitCommandLC ( TInt32 ) |
IMPORT_C MSsmCommand * | ConstructMultipleWaitCommandLC ( TInt32 , const TUint16 ) |
IMPORT_C MSsmCommand * | ConstructPersistHalAttributesCommandLC ( TCmdErrorSeverity ) |
IMPORT_C MSsmCommand * | ConstructPowerOffCommandLC ( TCmdErrorSeverity , TPowerState ) |
IMPORT_C MSsmCommand * | ConstructPublishSwpCommandLC ( TCmdErrorSeverity , TSsmExecutionBehaviour , const TSsmSwp &) |
IMPORT_C MSsmCommand * | ConstructPublishSwpCommandLC ( TCmdErrorSeverity , TSsmExecutionBehaviour , const TSsmSwp &, const TUint16 ) |
IMPORT_C MSsmCommand * | ConstructPublishSystemStateCommandLC ( TCmdErrorSeverity , TSsmExecutionBehaviour , TSsmPublishSystemStateInfo &) |
IMPORT_C MSsmCommand * | ConstructPublishSystemStateCommandLC ( TCmdErrorSeverity , TSsmExecutionBehaviour , TSsmPublishSystemStateInfo &, const TUint16 ) |
IMPORT_C MSsmCommand * | ConstructReqSwpChangeCommandLC ( TCmdErrorSeverity , TSsmExecutionBehaviour , const TSsmSwp &) |
IMPORT_C MSsmCommand * | ConstructReqSwpChangeCommandLC ( TCmdErrorSeverity , TSsmExecutionBehaviour , const TSsmSwp &, const TUint16 ) |
IMPORT_C MSsmCommand * | ConstructSetPAndSKeyCommandLC ( TCmdErrorSeverity , const TUid &, TUint , TInt ) |
IMPORT_C MSsmCommand * | ConstructSetPAndSKeyCommandLC ( TCmdErrorSeverity , const TUid &, TUint , TInt , const TUint16 ) |
IMPORT_C MSsmCommand * | ConstructStartApplicationCommandLC ( TCmdErrorSeverity , CSsmStartupProperties *) |
IMPORT_C MSsmCommand * | ConstructStartApplicationCommandLC ( TCmdErrorSeverity , CSsmStartupProperties *, const TUint16 ) |
IMPORT_C MSsmCommand * | ConstructStartProcessCommandLC ( TCmdErrorSeverity , CSsmStartupProperties *) |
IMPORT_C MSsmCommand * | ConstructStartProcessCommandLC ( TCmdErrorSeverity , CSsmStartupProperties *, const TUint16 ) |
IMPORT_C MSsmCommand * | ConstructWaitForApparcInitCommandLC ( TCmdErrorSeverity ) |
IMPORT_C MSsmCommand * | ConstructWaitForApparcInitCommandLC ( TCmdErrorSeverity , const TUint16 ) |
Private Member Functions | |
---|---|
SsmCommandFactory () |
IMPORT_C MSsmCommand * | ConstructAMAStarterCommandLC | ( | TCmdErrorSeverity | aSeverity, |
TSsmExecutionBehaviour | aExecutionBehaviour, | |||
const TUid & | aDscId | |||
) | [static] |
Constructs and returns a new AMA starter command.
KDefaultSymbianDsc
TCmdErrorSeverity aSeverity | The severity to use for the returned command. |
TSsmExecutionBehaviour aExecutionBehaviour | The execution behaviour of the command. |
const TUid & aDscId | The UID of the DSC that this command should start. |
IMPORT_C MSsmCommand * | ConstructAMAStarterCommandLC | ( | TCmdErrorSeverity | aSeverity, |
TSsmExecutionBehaviour | aExecutionBehaviour, | |||
const TUid & | aDscId, | |||
const TUint16 | aPriority | |||
) | [static] |
Constructs and returns a new AMA starter command.
KDefaultSymbianDsc
TCmdErrorSeverity aSeverity | The severity to use for the returned command. |
TSsmExecutionBehaviour aExecutionBehaviour | The execution behaviour of the command. |
const TUid & aDscId | The UID of the DSC that this command should start. |
const TUint16 aPriority | The priority of the command in the list |
CSsmCommandBase * | ConstructCommandFromCommandLC | ( | const MSsmCommand & | aSsmCommand, |
TArray < MSsmCommand * > & | aDeferredList, | |||
CSsmCommandUtilProvider * | aUtilProvider | |||
) | [static] |
const MSsmCommand & aSsmCommand | is reference of MSsmCommand which needs to be created. |
TArray < MSsmCommand * > & aDeferredList | List of commands which has execution behaviour as ESsmDeferredWaitForSignal in command list. @param aUtilProvider CSsmCommandUtilProvider reference. Only few commands require CSsmCommandUtilProvider reference |
CSsmCommandUtilProvider * aUtilProvider |
CSsmCommandBase * | ConstructCommandFromResourceLC | ( | TSsmCommandType | aType, |
TSsmCommandParameters & | aCommandParameters | |||
) | [static] |
TSsmCommandType aType | Type of the command which needs to be created. |
TSsmCommandParameters & aCommandParameters | Object data from a resource file |
CSsmCommandBase * | ConstructCommandFromStreamLC | ( | TSsmCommandType | aType, |
RReadStream & | aReadStream, | |||
TArray < MSsmCommand * > & | aDeferredList | |||
) | [static] |
TSsmCommandType aType | Type of the command which needs to be created. |
RReadStream & aReadStream | Stream containing the data for the command. |
TArray < MSsmCommand * > & aDeferredList | List of commands which has execution behaviour as ESsmDeferredWaitForSignal in command list. |
IMPORT_C MSsmCommand * | ConstructCreateSwpCommandLC | ( | TCmdErrorSeverity | aSeverity, |
const TSsmSwp & | aSwp, | |||
TDesC & | aFilename | |||
) | [static] |
Constructs and returns a new publish system state command.
This command should only be used by the current system state policy to publish a change in system state value.
TCmdErrorSeverity aSeverity | The severity to use for the returned command. |
const TSsmSwp & aSwp | |
TDesC & aFilename |
IMPORT_C MSsmCommand * | ConstructCreateSwpCommandLC | ( | TCmdErrorSeverity | aSeverity, |
const TSsmSwp & | aSwp, | |||
TDesC & | aFilename, | |||
const TUint16 | aPriority | |||
) | [static] |
Constructs and returns a new publish system state command.
This command should only be used by the current system state policy to publish a change in system state value.
IMPORT_C MSsmCommand * | ConstructCustomCommandCommandLC | ( | TCmdErrorSeverity | aSeverity, |
TSsmExecutionBehaviour | aExecutionBehaviour, | |||
CSsmCustomCommandInfo & | aCustomInfo | |||
) | [static] |
Constructs and returns a new custom command.
TCmdErrorSeverity aSeverity | The severity to use for the returned command. |
TSsmExecutionBehaviour aExecutionBehaviour | The execution behaviour of the command. |
CSsmCustomCommandInfo & aCustomInfo | The properties of the custom command. |
IMPORT_C MSsmCommand * | ConstructCustomCommandCommandLC | ( | TCmdErrorSeverity | aSeverity, |
TSsmExecutionBehaviour | aExecutionBehaviour, | |||
CSsmCustomCommandInfo & | aCustomInfo, | |||
const TUint16 | aPriority | |||
) | [static] |
Constructs and returns a new custom command.
TCmdErrorSeverity aSeverity | The severity to use for the returned command. |
TSsmExecutionBehaviour aExecutionBehaviour | The execution behaviour of the command. |
CSsmCustomCommandInfo & aCustomInfo | The properties of the custom command. |
const TUint16 aPriority | The priority of the command in the list |
IMPORT_C MSsmCommand * | ConstructFinaliseDrivesCommandLC | ( | TCmdErrorSeverity | aSeverity | ) | [static] |
Constructs and returns a new finalise drives command.
TCmdErrorSeverity aSeverity | The severity to use for the returned command. |
IMPORT_C MSsmCommand * | ConstructLoadSupCommandLC | ( | TCmdErrorSeverity | aSeverity, |
TSsmExecutionBehaviour | aExecutionBehaviour, | |||
TInt | aRetries, | |||
const TSsmSupInfo & | aInfo | |||
) | [static] |
Constructs and returns a load SSM Utility Plugin command.
TCmdErrorSeverity aSeverity | The severity to use for the returned command. |
TSsmExecutionBehaviour aExecutionBehaviour | The execution behaviour of the command. |
TInt aRetries | The number of times to attempt to load the specified SSM Utility Plugin. |
const TSsmSupInfo & aInfo | The properties of the SSM Utility Plugin to load. |
IMPORT_C MSsmCommand * | ConstructLoadSupCommandLC | ( | TCmdErrorSeverity | aSeverity, |
TSsmExecutionBehaviour | aExecutionBehaviour, | |||
TInt | aRetries, | |||
const TSsmSupInfo & | aInfo, | |||
const TUint16 | aPriority | |||
) | [static] |
Constructs and returns a load SSM Utility Plugin command.
TCmdErrorSeverity aSeverity | The severity to use for the returned command. |
TSsmExecutionBehaviour aExecutionBehaviour | The execution behaviour of the command. |
TInt aRetries | The number of times to attempt to load the specified SSM Utility Plugin. |
const TSsmSupInfo & aInfo | The properties of the SSM Utility Plugin to load. |
const TUint16 aPriority | The priority of the command in the list |
IMPORT_C MSsmCommand * | ConstructMultipleWaitCommandLC | ( | TInt32 | aTimeout | ) | [static] |
Constructs and returns a new multiple wait command.
TInt32 aTimeout | Timeout in milliseconds for the multiple wait command to wait for. |
IMPORT_C MSsmCommand * | ConstructMultipleWaitCommandLC | ( | TInt32 | aTimeout, |
const TUint16 | aPriority | |||
) | [static] |
Constructs and returns a new multiple wait command.
IMPORT_C MSsmCommand * | ConstructPersistHalAttributesCommandLC | ( | TCmdErrorSeverity | aSeverity | ) | [static] |
TCmdErrorSeverity aSeverity | The severity to use for the returned command. |
IMPORT_C MSsmCommand * | ConstructPowerOffCommandLC | ( | TCmdErrorSeverity | aSeverity, |
TPowerState | aPowerEvent | |||
) | [static] |
Constructs and returns a new power off command.
TCmdErrorSeverity aSeverity | The severity to use for the returned command. |
TPowerState aPowerEvent | The type of power off event represented by the returned command. |
IMPORT_C MSsmCommand * | ConstructPublishSwpCommandLC | ( | TCmdErrorSeverity | aSeverity, |
TSsmExecutionBehaviour | aExecutionBehaviour, | |||
const TSsmSwp & | aSwp | |||
) | [static] |
Constructs and returns a new publish System-wide Property command.
This command should only be used by a System-wide Property policy to publish the System-wide Property value or values controlled by that policy.
TCmdErrorSeverity aSeverity | The severity to use for the returned command. |
TSsmExecutionBehaviour aExecutionBehaviour | |
const TSsmSwp & aSwp | The System-wide Property information. |
IMPORT_C MSsmCommand * | ConstructPublishSwpCommandLC | ( | TCmdErrorSeverity | aSeverity, |
TSsmExecutionBehaviour | aExecutionBehaviour, | |||
const TSsmSwp & | aSwp, | |||
const TUint16 | aPriority | |||
) | [static] |
Constructs and returns a new publish System-wide Property command.
This command should only be used by a System-wide Property policy to publish the System-wide Property value or values controlled by that policy.
TCmdErrorSeverity aSeverity | The severity to use for the returned command. |
TSsmExecutionBehaviour aExecutionBehaviour | |
const TSsmSwp & aSwp | The System-wide Property information. |
const TUint16 aPriority | The priority of the command in the list |
IMPORT_C MSsmCommand * | ConstructPublishSystemStateCommandLC | ( | TCmdErrorSeverity | aSeverity, |
TSsmExecutionBehaviour | aExecutionBehaviour, | |||
TSsmPublishSystemStateInfo & | aInfo | |||
) | [static] |
Constructs and returns a new publish system state command.
This command should only be used by the current system state policy to publish a change in system state value.
TCmdErrorSeverity aSeverity | The severity to use for the returned command. |
TSsmExecutionBehaviour aExecutionBehaviour | The execution behaviour of the returned command. |
TSsmPublishSystemStateInfo & aInfo | The system state information used in the returned command. |
IMPORT_C MSsmCommand * | ConstructPublishSystemStateCommandLC | ( | TCmdErrorSeverity | aSeverity, |
TSsmExecutionBehaviour | aExecutionBehaviour, | |||
TSsmPublishSystemStateInfo & | aInfo, | |||
const TUint16 | aPriority | |||
) | [static] |
Constructs and returns a new publish system state command.
This command should only be used by the current system state policy to publish a change in system state value.
TCmdErrorSeverity aSeverity | The severity to use for the returned command. |
TSsmExecutionBehaviour aExecutionBehaviour | The execution behaviour of the returned command. |
TSsmPublishSystemStateInfo & aInfo | The system state information used in the returned command. |
const TUint16 aPriority | The priority of the command in the list |
IMPORT_C MSsmCommand * | ConstructReqSwpChangeCommandLC | ( | TCmdErrorSeverity | aSeverity, |
TSsmExecutionBehaviour | aExecutionBehaviour, | |||
const TSsmSwp & | aSwp | |||
) | [static] |
Constructs and returns a new request System-wide Property change command.
This command will request a change to a System-wide Property, using the appropriate policy for the System-wide Property to determine required actions.
This is equivalent to calling RSsmStateManger::RequestSwpChange().
TCmdErrorSeverity aSeverity | The severity to use for the returned command. |
TSsmExecutionBehaviour aExecutionBehaviour | The execution behaviour of the returned command. |
const TSsmSwp & aSwp | The System-wide Property information used in the returned command. |
IMPORT_C MSsmCommand * | ConstructReqSwpChangeCommandLC | ( | TCmdErrorSeverity | aSeverity, |
TSsmExecutionBehaviour | aExecutionBehaviour, | |||
const TSsmSwp & | aSwp, | |||
const TUint16 | aPriority | |||
) | [static] |
Constructs and returns a new request System-wide Property change command.
This command will request a change to a System-wide Property, using the appropriate policy for the System-wide Property to determine required actions.
This is equivalent to calling RSsmStateManger::RequestSwpChange().
TCmdErrorSeverity aSeverity | The severity to use for the returned command. |
TSsmExecutionBehaviour aExecutionBehaviour | The execution behaviour of the returned command. |
const TSsmSwp & aSwp | The System-wide Property information used in the returned command. |
const TUint16 aPriority | The priority of the command in the list |
IMPORT_C MSsmCommand * | ConstructSetPAndSKeyCommandLC | ( | TCmdErrorSeverity | aSeverity, |
const TUid & | aCategory, | |||
TUint | aKey, | |||
TInt | aValue | |||
) | [static] |
Constructs and returns a new set publish and subscribe key command.
IMPORT_C MSsmCommand * | ConstructSetPAndSKeyCommandLC | ( | TCmdErrorSeverity | aSeverity, |
const TUid & | aCategory, | |||
TUint | aKey, | |||
TInt | aValue, | |||
const TUint16 | aPriority | |||
) | [static] |
Constructs and returns a new set publish and subscribe key command.
TCmdErrorSeverity aSeverity | The severity to use for the returned command. |
const TUid & aCategory | The category of the P+S key to be set. |
TUint aKey | The key value of the P+S key to be set. |
TInt aValue | The value to set the P+S key to. |
const TUint16 aPriority | The priority of the command in the list |
IMPORT_C MSsmCommand * | ConstructStartApplicationCommandLC | ( | TCmdErrorSeverity | aSeverity, |
CSsmStartupProperties * | aStartupProperties | |||
) | [static] |
Constructs and returns a new start application command.
TCmdErrorSeverity aSeverity | The severity to use for the returned command. |
CSsmStartupProperties * aStartupProperties | The properties of the started application. Ownership of this object is not transferred to the returned command. |
IMPORT_C MSsmCommand * | ConstructStartApplicationCommandLC | ( | TCmdErrorSeverity | aSeverity, |
CSsmStartupProperties * | aStartupProperties, | |||
const TUint16 | aPriority | |||
) | [static] |
Constructs and returns a new start application command.
TCmdErrorSeverity aSeverity | The severity to use for the returned command. |
CSsmStartupProperties * aStartupProperties | The properties of the started application. Ownership of this object is not transferred to the returned command. |
const TUint16 aPriority | The priority of the command in the list |
IMPORT_C MSsmCommand * | ConstructStartProcessCommandLC | ( | TCmdErrorSeverity | aSeverity, |
CSsmStartupProperties * | aStartupProperties | |||
) | [static] |
Constructs and returns a new start process command.
TCmdErrorSeverity aSeverity | The severity to use for the returned command. |
CSsmStartupProperties * aStartupProperties | The properties of the started process. Ownership of this object is not transferred to the returned command. |
IMPORT_C MSsmCommand * | ConstructStartProcessCommandLC | ( | TCmdErrorSeverity | aSeverity, |
CSsmStartupProperties * | aStartupProperties, | |||
const TUint16 | aPriority | |||
) | [static] |
Constructs and returns a new start process command.
TCmdErrorSeverity aSeverity | The severity to use for the returned command. |
CSsmStartupProperties * aStartupProperties | The properties of the started process. Ownership of this object is not transferred to the returned command. |
const TUint16 aPriority | The priority of the command in the list |
IMPORT_C MSsmCommand * | ConstructWaitForApparcInitCommandLC | ( | TCmdErrorSeverity | aSeverity | ) | [static] |
Constructs and returns a new wait for app-arc init command.
TCmdErrorSeverity aSeverity | The severity to use for the returned command. |
IMPORT_C MSsmCommand * | ConstructWaitForApparcInitCommandLC | ( | TCmdErrorSeverity | aSeverity, |
const TUint16 | aPriority | |||
) | [static] |
Constructs and returns a new wait for app-arc init command.
TCmdErrorSeverity aSeverity | The severity to use for the returned command. |
const TUint16 aPriority | The priority of the command in the list |
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.