SsmCommandFactory Class Reference
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) |
Constructor & Destructor Documentation
SsmCommandFactory()
SsmCommandFactory | ( | ) | [private] |
Member Functions Documentation
ConstructAMAStarterCommandLC(TCmdErrorSeverity, TSsmExecutionBehaviour, const TUid &)
Constructs and returns a new AMA starter command.
KDefaultSymbianDsc
Parameters
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. |
ConstructAMAStarterCommandLC(TCmdErrorSeverity, TSsmExecutionBehaviour, const TUid &, const TUint16)
Constructs and returns a new AMA starter command.
KDefaultSymbianDsc
Parameters
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 |
ConstructCommandFromCommandLC(const MSsmCommand &, TArray< MSsmCommand * > &, CSsmCommandUtilProvider *)
Factory function to create a command from a
MSsmCommand object.
- panic
- ECmdBadCommand if the command type is invalid
TSsmCommandType
Parameters
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 | |
ConstructCommandFromResourceLC(TSsmCommandType, TSsmCommandParameters &)
ConstructCommandFromStreamLC(TSsmCommandType, RReadStream &, TArray< MSsmCommand * > &)
Factory function to create a command from a stream.
- panic
- ECmdBadCommand if the command type is invalid
TSsmCommandType RReadStream
Parameters
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. |
ConstructCreateSwpCommandLC(TCmdErrorSeverity, const TSsmSwp &, TDesC &)
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.
Parameters
TCmdErrorSeverity aSeverity | The severity to use for the returned command. |
const TSsmSwp & aSwp | |
TDesC & aFilename | |
ConstructCreateSwpCommandLC(TCmdErrorSeverity, const TSsmSwp &, TDesC &, const TUint16)
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.
Parameters
TCmdErrorSeverity aSeverity | The severity to use for the returned command. |
const TSsmSwp & aSwp | |
TDesC & aFilename | |
const TUint16 aPriority | The priority of the command in the list |
ConstructCustomCommandCommandLC(TCmdErrorSeverity, TSsmExecutionBehaviour, CSsmCustomCommandInfo &)
Constructs and returns a new custom command.
ConstructCustomCommandCommandLC(TCmdErrorSeverity, TSsmExecutionBehaviour, CSsmCustomCommandInfo &, const TUint16)
Constructs and returns a new custom command.
ConstructFinaliseDrivesCommandLC(TCmdErrorSeverity)
Constructs and returns a new finalise drives command.
ConstructLoadSupCommandLC(TCmdErrorSeverity, TSsmExecutionBehaviour, TInt, const TSsmSupInfo &)
Constructs and returns a load SSM Utility Plugin command.
Parameters
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. |
ConstructLoadSupCommandLC(TCmdErrorSeverity, TSsmExecutionBehaviour, TInt, const TSsmSupInfo &, const TUint16)
Constructs and returns a load SSM Utility Plugin command.
Parameters
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 |
ConstructMultipleWaitCommandLC(TInt32)
Constructs and returns a new multiple wait command.
Parameters
TInt32 aTimeout | Timeout in milliseconds for the multiple wait command to wait for. |
ConstructMultipleWaitCommandLC(TInt32, const TUint16)
Constructs and returns a new multiple wait command.
Parameters
TInt32 aTimeout | Timeout in milliseconds for the multiple wait command to wait for. |
const TUint16 aPriority | The priority of the command in the list |
ConstructPersistHalAttributesCommandLC(TCmdErrorSeverity)
ConstructPowerOffCommandLC(TCmdErrorSeverity, TPowerState)
Constructs and returns a new power off command.
Parameters
TCmdErrorSeverity aSeverity | The severity to use for the returned command. |
TPowerState aPowerEvent | The type of power off event represented by the returned command. |
ConstructPublishSwpCommandLC(TCmdErrorSeverity, TSsmExecutionBehaviour, const TSsmSwp &)
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.
ConstructPublishSwpCommandLC(TCmdErrorSeverity, TSsmExecutionBehaviour, const TSsmSwp &, const TUint16)
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.
Parameters
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 |
ConstructPublishSystemStateCommandLC(TCmdErrorSeverity, TSsmExecutionBehaviour, TSsmPublishSystemStateInfo &)
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.
Parameters
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. |
ConstructPublishSystemStateCommandLC(TCmdErrorSeverity, TSsmExecutionBehaviour, TSsmPublishSystemStateInfo &, const TUint16)
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.
Parameters
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 |
ConstructReqSwpChangeCommandLC(TCmdErrorSeverity, TSsmExecutionBehaviour, const TSsmSwp &)
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().
Parameters
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. |
ConstructReqSwpChangeCommandLC(TCmdErrorSeverity, TSsmExecutionBehaviour, const TSsmSwp &, const TUint16)
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().
Parameters
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 |
ConstructSetPAndSKeyCommandLC(TCmdErrorSeverity, const TUid &, TUint, TInt)
Constructs and returns a new set publish and subscribe key command.
Parameters
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. |
ConstructSetPAndSKeyCommandLC(TCmdErrorSeverity, const TUid &, TUint, TInt, const TUint16)
Constructs and returns a new set publish and subscribe key command.
Parameters
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 |
ConstructStartApplicationCommandLC(TCmdErrorSeverity, CSsmStartupProperties *)
Constructs and returns a new start application command.
Parameters
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. |
ConstructStartApplicationCommandLC(TCmdErrorSeverity, CSsmStartupProperties *, const TUint16)
Constructs and returns a new start application command.
Parameters
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 |
ConstructStartProcessCommandLC(TCmdErrorSeverity, CSsmStartupProperties *)
Constructs and returns a new start process command.
Parameters
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. |
ConstructStartProcessCommandLC(TCmdErrorSeverity, CSsmStartupProperties *, const TUint16)
Constructs and returns a new start process command.
Parameters
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 |
ConstructWaitForApparcInitCommandLC(TCmdErrorSeverity)
Constructs and returns a new wait for app-arc init command.
ConstructWaitForApparcInitCommandLC(TCmdErrorSeverity, const TUint16)
Constructs and returns a new wait for app-arc init command.
Parameters
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.