EASE.Sensing.Engine
Class Engine
java.lang.Object
|
+--EASE.Sensing.Engine.Engine
- public class Engine
- extends java.lang.Object
Top level of Sensing Engine
Client objects requiring the use of the sensing engine can safely
create Engine objects at will. Use of a singleton pattern ensures
that only one ActualEngine exsists.
Constructor Summary |
Engine()
Constructor for objects wanting access to the engines information |
Engine(Interface simulatorInt)
This constructor should be used only once. |
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
debugger
private static Debugger debugger
actual
private static ActualEngine actual
Engine
public Engine(Interface simulatorInt)
- This constructor should be used only once. At the top
level a copy of the interface is passed to the engine. Any
objects wanting access to to the engine should use the other
constructor. Idea enforced by writing to debugger if the
rules are broken . . Good SE!!
Engine
public Engine()
- Constructor for objects wanting access to the engines information
getCalculation
public Calculation getCalculation(CellReference cr)
- Gets the requested calculation opening new files if necessary.
getNode
public Node getNode(CellReference name)
- Get the Node for some primitive Cell
getCell
public Cell getCell(CellReference name)
- Get a cell for some cell reference