avrora.monitors
Class EnergyMonitor.Monitor

java.lang.Object
  extended byavrora.monitors.EnergyMonitor.Monitor
All Implemented Interfaces:
Monitor
Direct Known Subclasses:
EnergyMonitorLog.Monitor
Enclosing class:
EnergyMonitor

public class EnergyMonitor.Monitor
extends java.lang.Object
implements Monitor


Nested Class Summary
 class EnergyMonitor.Monitor.BatteryCheck
           
 
Field Summary
protected  Platform platform
           
protected  Simulator simulator
           
 
Method Summary
 void report()
          implemenation of report of Monitor class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

simulator

protected Simulator simulator

platform

protected Platform platform
Method Detail

report

public void report()
implemenation of report of Monitor class. Called when the simulation ends and reports summaries for the power consumption of all devices to the stdout

Specified by:
report in interface Monitor
See Also:
Monitor.report()