public class DebugObserver extends Object implements IStatusObserver
Constructor and Description |
---|
DebugObserver(org.osgi.service.event.EventAdmin eventAdmin,
SimulationDockService myDock) |
Modifier and Type | Method and Description |
---|---|
void |
resume() |
void |
step() |
void |
suspend() |
void |
updateStatus(int percentDone,
double currentSimTime,
long measurementsTaken)
Notification call informing the observer about the simulation progess in percent done
|
public DebugObserver(org.osgi.service.event.EventAdmin eventAdmin, SimulationDockService myDock)
public void suspend()
public void resume()
public void step()
public void updateStatus(int percentDone, double currentSimTime, long measurementsTaken)
IStatusObserver
updateStatus
in interface IStatusObserver
percentDone
- Percentage of the maximum simulation time which has passed