ABOUT MEAboutMe.html

State Diagram Editor forMAC

Remote Execution within the Cocoa Framework

State Diagram Editor can create Objective-C code, which enables the developer, to debug and modify state diagrams while executing them from within the target application. All features of the editor (execution visualization, direct editing) are available while the target system is executed as native, compiled code. When the development of the FSM is finished, changing the template will produce efficient, compact code to be integrated into the target system.

The system uses Distributed Objects for the communication of the target system to the State Diagram Editor. Part of the environment is a code template, which generates for each diagram a subclass of NSResponder offering an interface identical to the interface generated by the Objective-C template. It can be easily integrated into the Responsibility-Chain of the Cocoa Framework.
The connection to the editor is made by NSSocket ports, so editor and target may even reside on different systems.
When the editor has been set up for remote execution, all diagrams opened share one common execution control panel. The user interface of this panel is very similar to the collaborative execution control. One difference is, that the sequence, in which the diagrams process a trigger is under the control of the target system, so neither disabling/enabling of diagrams nor control of their position in the responsibility chain is done from the control panel.
All other functions are identical to the collaborative execution control.
A distinct color is assigned to each diagram, this color is used for the entry in the diagram list, it is used to shade the background of the diagram window and as a background shade for each log entry to to point out the relationships.
Doubleclicking an entry of the diagram list will bring the related diagram in front of all other windows.
When paused, selecting a log line will bring the related diagram in front of all other windows and select the transition and states involved in this line. While paused, the user may modify any diagram; the system will continue with the same state as before the pause (when the state was removed in the edit, it will stop the system).

Previous Page  Back to Overview    Next Page