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


Definition at line 75 of file energy-model.h.
Public Member Functions | |
| virtual void | handle (Event *e) |
| SoftNeighborHandler (EnergyModel *nid) | |
| virtual void | start () |
Protected Attributes | |
| Event | intr |
| EnergyModel * | nid_ |
|
|
Definition at line 77 of file energy-model.h. References nid_. 00077 { 00078 nid_ = nid; 00079 }
|
|
|
Implements Handler. Definition at line 255 of file energy-model.cc. References CHECKFREQ, Scheduler::instance(), intr, nid_, EnergyModel::scan_neighbor(), and Scheduler::schedule(). 00256 { 00257 Scheduler &s = Scheduler::instance(); 00258 nid_->scan_neighbor(); 00259 s.schedule(this, &intr, CHECKFREQ); 00260 }
Here is the call graph for this function: ![]() |
|
|
Definition at line 250 of file energy-model.cc. References CHECKFREQ, Scheduler::instance(), intr, and Scheduler::schedule(). Referenced by EnergyModel::start_powersaving(). 00251 { 00252 Scheduler::instance().schedule(this, &intr, CHECKFREQ); 00253 }
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.4.6