|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.ntnu.ecosim.communication.EcoSim
public class EcoSim
The Class EcoSim. This is the interface toward the simulator, and is used to setup, start, stop and reset the simulation.
Constructor Summary | |
---|---|
EcoSim(ResultReceiver rr)
The Constructor. |
|
EcoSim(ResultReceiver rr,
java.lang.String configpath)
The Constructor to be used by external applications that need to define the file path of the configuration file |
Method Summary | |
---|---|
void |
resetSim()
Reset the simulator. |
void |
setupSim(org.w3c.dom.Document setup)
Setup the simulator. |
void |
startSim()
Start the simulator. |
void |
stopSim()
Stop the simulator. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EcoSim(ResultReceiver rr)
rr
- the ResultReceiver to respond topublic EcoSim(ResultReceiver rr, java.lang.String configpath)
rr
- the ResultReceiver to respond toconfigpath
- the file path to the configuration fileMethod Detail |
---|
public void setupSim(org.w3c.dom.Document setup)
setup
- the Document containing setup informationpublic void startSim()
public void stopSim()
public void resetSim()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |