java.lang.Object
BaseController
org.mrd.control.ThinController
- public class ThinController
- extends BaseController
|
Constructor Summary |
ThinController()
|
ThinController(boolean isGui)
Creates a ThinController, specifying whether this is a graphical controller
or not. |
|
Method Summary |
void |
exitSim()
Exits a simulation. |
void |
initSim()
|
boolean |
isBatch()
Getter for property batch. |
boolean |
isGui()
Getter for property gui. |
protected void |
onTickCountUpdate()
|
void |
setBatch(boolean batch)
Setter for property batch. |
void |
setGui(boolean gui)
Setter for property gui. |
void |
simEventPerformed(SimEvent evt)
Listens for SimEvents and responds accordingly. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected org.apache.commons.logging.Log log
isGui
protected boolean isGui
- Holds value of property isGui.
batch
private boolean batch
- Holds value of property batch.
finished
protected volatile boolean finished
appMonitor
private java.lang.Object appMonitor
ThinController
public ThinController()
ThinController
public ThinController(boolean isGui)
- Creates a ThinController, specifying whether this is a graphical controller
or not. The isGui parameter only determines what value is returned by the
isGUI method, nothing more.
initSim
public void initSim()
exitSim
public void exitSim()
- Exits a simulation.
onTickCountUpdate
protected void onTickCountUpdate()
simEventPerformed
public void simEventPerformed(SimEvent evt)
- Listens for SimEvents and responds accordingly.
isGui
public boolean isGui()
- Getter for property gui.
setGui
public void setGui(boolean gui)
- Setter for property gui.
isBatch
public boolean isBatch()
- Getter for property batch.
setBatch
public void setBatch(boolean batch)
- Setter for property batch.