Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## avrora.monitors
Class EnergyMonitor.Monitor

    java.lang.Object
      avrora.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 java.util.LinkedList` | `consumer`
`protected EnergyControl` | `energyControl`
`protected Simulator` | `simulator`
`protected State` | `state`

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

### energyControl

    protected EnergyControl energyControl

### consumer

    protected java.util.LinkedList consumer

### state

    protected State state

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()`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD