| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectsysModel.SimEngine
public class SimEngine
Simulation engine that contains the observable and manages observers.
| Field Summary | |
|---|---|
| private  java.util.Observable | _observableThe observable. | 
| Constructor Summary | |
|---|---|
| SimEngine() | |
| Method Summary | |
|---|---|
|  void | add(java.util.Observer observer)Add observer to simulation. | 
|  void | clear()Clears all observers. | 
|  void | delete(java.util.Observer observer)Remove observer from simulation. | 
|  void | notify(ILambda lambda)Accept a lambda and pass it to all observers. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
private java.util.Observable _observable
| Constructor Detail | 
|---|
public SimEngine()
| Method Detail | 
|---|
public void add(java.util.Observer observer)
observer - observer to addpublic void delete(java.util.Observer observer)
observer - observer to removepublic void notify(ILambda lambda)
lambda - lambda to executepublic void clear()
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||