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