|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object avrora.sim.energy.EnergyControl
implementation of energy control handles subsrciption of monitors and consumers
Nested Class Summary | |
static class |
EnergyControl.Instance
|
Constructor Summary | |
EnergyControl()
|
Method Summary | |
static void |
activate()
activate the energy model, called by monitors who are interested in energy information |
static void |
addConsumer(Energy energy)
add consumer |
static EnergyControl.Instance |
getCurrentInstance()
|
static void |
nextInstance()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EnergyControl()
Method Detail |
public static void addConsumer(Energy energy)
energy
- consumerpublic static void activate()
public static EnergyControl.Instance getCurrentInstance()
public static void nextInstance()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |