MStateAdaptation Class Reference

class MStateAdaptation

Member Functions Documentation

NotifyCancel()

void NotifyCancel ( ) [pure virtual]

This cancels the outstanding request for notification of events. Only one request for notification of fatal events is allowed for each connected session.

NotifyCoopSysEvent(TDes8 &, TRequestStatus &)

void NotifyCoopSysEvent ( TDes8 & aEvent,
TRequestStatus & aStatus
) [pure virtual]

Requests notification from the Cooperating system of any events that occur. TSsmCoopSysEventType TRequestStatus

Parameters

TDes8 & aEvent one of TSsmCoopSysEventType event's for which notification is requested, packaged in a descriptor
TRequestStatus & aStatus to complete when the notification request has occurred

Release()

void Release ( ) [pure virtual]

It is expected that Release will usually just call "delete this" on the object, but this will depend on the implementation of each policy.

RequestCancel()

void RequestCancel ( ) [pure virtual]

This cancels a previous request from one of the other five Request methods in this class. Only one request is allowed to be outstanding on each connection session.

RequestCoopSysPerformRestartActions(TInt, TRequestStatus &)

void RequestCoopSysPerformRestartActions ( TInt aReason,
TRequestStatus & aStatus
) [pure virtual]

Request the Cooperating System to perform any required restart actions, since a device restart is about to be performed. TRequestStatus

Parameters

TInt aReason reason used by Cooperating System
TRequestStatus & aStatus to complete when the operation has finished

RequestCoopSysPerformRfsActions(TSsmRfsType, TRequestStatus &)

void RequestCoopSysPerformRfsActions ( TSsmRfsType aRfsType,
TRequestStatus & aStatus
) [pure virtual]

Request the Cooperating System to Restore Factory Settings. TSsmRfsType TRequestStatus

Parameters

TSsmRfsType aRfsType type of factory settings to be restored
TRequestStatus & aStatus to complete when the operation has finished

RequestCoopSysPerformShutdownActions(TInt, TRequestStatus &)

void RequestCoopSysPerformShutdownActions ( TInt aReason,
TRequestStatus & aStatus
) [pure virtual]

Request the Cooperating System to perform any required shutdown actions, since a device shutdown is about to be performed. TRequestStatus

Parameters

TInt aReason reason used by Cooperating System
TRequestStatus & aStatus to complete when the operation has finished

RequestCoopSysSelfTest(TRequestStatus &)

void RequestCoopSysSelfTest ( TRequestStatus & aStatus ) [pure virtual]

Request the Cooperating System to perform a self test. TRequestStatus

Parameters

TRequestStatus & aStatus to complete when the operation has finished

RequestCoopSysStateChange(TSsmState, TRequestStatus &)

void RequestCoopSysStateChange ( TSsmState aState,
TRequestStatus & aStatus
) [pure virtual]

Request a Cooperating System to change system state. TSsmState TRequestStatus

Parameters

TSsmState aState contains the new System State
TRequestStatus & aStatus to complete when the operation has finished