The System State Manager will have policy associated with a transition in system state or a system-wide property. The transition from one state to another is implicit. The SSM policy is defined by a system state policy plug-in and an associated command list resource file.
SSM policies implements MSsmStatePolicy interface to initialize, prepare and return a commandlist using CSsmCommandListResourceReader. It also implements MSsmConditionalCallback function to decide whether to include a command in a commandlist or not.
The system state manager policies derived are normal, start-up, fail and shutdown. All these policies are created using the MSsmStatePolicy interface.
Follow the steps given below to create a normal policy plug-in:
The normal state policy plug-in is created.
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.