#include <energy-model.h>
Inheritance diagram for SoftNeighborHandler:


Public Member Functions | |
| SoftNeighborHandler (EnergyModel *nid) | |
| virtual void | start () |
| virtual void | handle (Event *e) |
Protected Attributes | |
| EnergyModel * | nid_ |
| Event | intr |
|
|
Definition at line 77 of file energy-model.h. References nid_.
00077 {
00078 nid_ = nid;
00079 }
|
|
|
Implements Handler. Definition at line 216 of file energy-model.cc. References CHECKFREQ, Scheduler::instance(), intr, nid_, EnergyModel::scan_neighbor(), and Scheduler::schedule().
00217 {
00218 Scheduler &s = Scheduler::instance();
00219 nid_->scan_neighbor();
00220 s.schedule(this, &intr, CHECKFREQ);
00221 }
|
Here is the call graph for this function:

|
|
Definition at line 211 of file energy-model.cc. References CHECKFREQ, Scheduler::instance(), intr, and Scheduler::schedule(). Referenced by EnergyModel::start_powersaving().
00212 {
00213 Scheduler::instance().schedule(this, &intr, CHECKFREQ);
00214 }
|
Here is the call graph for this function:

|
|
Definition at line 84 of file energy-model.h. |
|
|
Definition at line 83 of file energy-model.h. Referenced by handle(), and SoftNeighborHandler(). |
1.3.3