#include <Simulator.h>
Inheritance diagram for Simulator::

Public Slots | |
| void | reset () |
| Resets the simulator. | |
| void | next () |
| Proceeds with the next step in the simulation. More... | |
| void | stopSimulation () |
| Stops the running simulation. | |
| void | closeDlg () |
| Closes the simulator dialog. | |
Public Methods | |
| Simulator (MainWindow *) | |
| Constructor. More... | |
| ~Simulator () | |
| Destructor. | |
| bool | startSimulation (Machine *) |
| Starts simulation. More... | |
| void | enableButtons () |
| Enables the respective number of the bit buttons. | |
Private Methods | |
| GState * | next (IOInfo *, QString &) |
| Proceeds with the next step. More... | |
| void | setCurrentState (GState *) |
| Sets s the current state of the simulation. | |
Private Attributes | |
| MainWindow * | main |
| Pointer to the main windows. | |
| SimulatorDlgImpl * | simdlg |
| Simulator dialog. | |
| Machine * | machine |
| Pointer to the machine to simulate. | |
| GState * | current_state |
| Current state (during simulation). | |
|
|
Constructor.
|
|
|
Proceeds with the next step in the simulation. Reads the inputs from the inputs field and sends them to the machine. |
|
|||||||||||||||
|
Proceeds with the next step.
|
|
|
Starts simulation. Opens the simulation dialog and resets the machine m.
|
1.2.9.1 written by Dimitri van Heesch,
© 1997-2001