|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Environments.ModelManager
The ModelManager class is used to deal with MVC modelling in the graphical version of MACS
Field Summary | |
---|---|
private Environments.Environment |
myEnv
|
protected boolean |
myStoppedFlag
Flag indicating the stop event reception of the Environment |
private MACS.RuleBasedSystem |
mySystem
|
Constructor Summary | |
---|---|
ModelManager()
Constructor |
Method Summary | |
---|---|
protected MACS.RuleBasedSystem |
getRuleBasedSystem()
|
boolean |
isStopped()
Get the Flag indicating the stop event reception of the Environment |
void |
setEnvironment(Environments.Environment env)
|
void |
setRuleBasedSystem(MACS.RuleBasedSystem syst)
|
void |
setStoppedFlag(boolean isStopped)
Set the Flag indicating the stop event reception of the Environment |
void |
takeStepForGUI()
Compute the next step of the Environment for a GUI output |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected boolean myStoppedFlag
private MACS.RuleBasedSystem mySystem
private Environments.Environment myEnv
Constructor Detail |
public ModelManager()
Method Detail |
protected MACS.RuleBasedSystem getRuleBasedSystem()
public final void setStoppedFlag(boolean isStopped)
isStopped
- public final boolean isStopped()
public void setEnvironment(Environments.Environment env)
env
- public void setRuleBasedSystem(MACS.RuleBasedSystem syst)
syst
- public void takeStepForGUI()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |