Classes
The following classes are available globally.
-
Creates and registers a StateMachine described in XML.
This allows reconfiguration of the StateMachine without changing any code, as well as making it easier than creating all the
State
instances and registering them with theStateMachine
at startup time.@see State
See more@see StateMachine
Declaration
Swift
public class FSMInjector: Notifier, FSMParserDelegate
-
A parser for the Finite State Machine XML representation.
See moreDeclaration
Swift
public class FSMParser: NSObject, NSXMLParserDelegate
-
A Finite State Machine implimentation.
Handles regisistration and removal of state definitions, which include optional entry and exit commands for each state.
See moreDeclaration
Swift
public class StateMachine: Mediator