|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuchicago.src.sim.engine.HomeController
public class HomeController
Created by IntelliJ IDEA. User: thowe Date: Feb 13, 2003 Time: 7:49:51 PM To change this template use Options | File Templates.
| Field Summary | |
|---|---|
protected java.util.ArrayList |
dynNameList
|
protected boolean |
finished
|
protected java.lang.String |
modelClass
|
protected java.util.ArrayList |
nameList
|
protected java.util.Hashtable |
nameParam
|
protected java.util.Vector |
params
|
| Constructor Summary | |
|---|---|
HomeController()
No-arg constructor for Active Object |
|
HomeController(java.lang.String fileName,
java.lang.String modelClass)
create the controller using the parameter file name |
|
| Method Summary | |
|---|---|
void |
begin()
|
java.util.ArrayList |
getDynamicParameterNames()
Gets a list of the Dynamic (non-constant) Parameter names. |
java.util.ArrayList |
getParameterNames()
Gets a list of the parameter names. |
java.lang.Object |
getPersistentObj(java.lang.Object key)
Get an object that has been stored between runs |
boolean |
getPutPersistenceObject(java.lang.Object key,
java.lang.Object value)
|
long |
getRunCount()
Gets the current Tick count |
protected void |
incrementParameters(Introspector is)
|
long |
nextModel(Introspector i)
This is the synchronized method that does all of the work for the remote controllers. |
void |
putPersistentObj(java.lang.Object key,
java.lang.Object value)
Put an object that needs to be stored between runs |
void |
setControllers(RemoteBatchController c)
|
protected void |
setModelParameters(Introspector i)
Set the parameters in the remote model. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.ArrayList dynNameList
protected java.util.Hashtable nameParam
protected java.util.Vector params
protected boolean finished
protected java.util.ArrayList nameList
protected java.lang.String modelClass
| Constructor Detail |
|---|
public HomeController()
public HomeController(java.lang.String fileName,
java.lang.String modelClass)
fileName - | Method Detail |
|---|
public void setControllers(RemoteBatchController c)
public long getRunCount()
protected void setModelParameters(Introspector i)
i - The model introspector used to set the parameters in the model.protected void incrementParameters(Introspector is)
public java.util.ArrayList getParameterNames()
public java.util.ArrayList getDynamicParameterNames()
public long nextModel(Introspector i)
i - The remote (Active) introspector used to set the remote model's parameters
public boolean getPutPersistenceObject(java.lang.Object key,
java.lang.Object value)
public void putPersistentObj(java.lang.Object key,
java.lang.Object value)
key - value - public java.lang.Object getPersistentObj(java.lang.Object key)
key -
public void begin()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||