|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Controller
Controls a single SVM instance.
Method Summary | |
---|---|
long |
getCurrentTime()
|
void |
pause()
Pause simulation |
void |
registerSimulationInstanceListener(SimulationInstanceListener l)
Listeners for being notified about certain events |
void |
resume()
Continues simulation where (and if) it has been paused |
void |
run(long t)
Start simulation, specifying how long it runs at maximum |
void |
setSteppable(Steppable svm)
Method to set the SVM that is scheduled by this class |
void |
shutdown()
End simulation. |
Method Detail |
---|
void run(long t) throws GSimEngineException
GSimEngineException
void pause() throws GSimEngineException
GSimEngineException
void resume() throws GSimEngineException
GSimEngineException
void shutdown() throws GSimEngineException
GSimEngineException
void setSteppable(Steppable svm) throws GSimEngineException
svm
- ISVM
GSimEngineException
long getCurrentTime() throws GSimEngineException
GSimEngineException
void registerSimulationInstanceListener(SimulationInstanceListener l) throws GSimEngineException, java.lang.Exception
l
- SimulationInstanceListener
GSimEngineException
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |