资 源 简 介
Overall
I-Machine is aimed to provide a state machine framework that makes the state machine more independent and reusable, and makes the state machine based application more powerful and flexible.
Introduction
State Machine
A state machine can be viewed as:
1. A set of states,
1. A set of transitions,
1. A set of input events,
1. A set of actions,
where states and transitions represent the inherent “model of change” of an object, and actions usually represent user desired behaviors upon the change of the object.
State Machine Engine
In a certain state, a state machine accepts specific input events and triggers corresponding transitions respectively; and when a transition is triggered by one of these input events, corresponding actions are performed respectively. The State Machine Engine (SME) is designed in this framework to implement this mechanism in a unified