ControlPanel -- Class to control the top level SwarmProcess
ControlPanel keeps track of the users requests to run, stop, quit, or time step the simulation. It cooperates with the GUISwarm to control the execution of activities in Swarm.
Saves the objects that are registered for archiving.
Stop the running activity, and then set state to `ControlStateNextTime'.
Terminate activities, and set state to `ControlStateQuit'.
Stop the running activity, and then set state to `ControlStateStepping'.
The -setStateStopped message is particularly useful since it will cause the simulation to stop until the user interactively sets it back in motion (in other words, this method is useful in generating a software-triggered pause).
Sets the state to `running'.
- (id <Symbol>)getState
Get the current button state of the controlpanel. Is one of ControlStateRunning, ControlStateStopped, ControlStateStepping, ControlStateNextTime, or ControlStateQuit.