ns2 Network Simulator      C++ Class Hierarchy of version ns-snapshot-20040722
Home |  Source Code |  Manual |  FAQ |  Mailing List Archive |  Search |  Download | 

Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

AdaptiveFidelityEntity Class Reference

#include <energy-model.h>

Inheritance diagram for AdaptiveFidelityEntity:

Handler List of all members.

Public Member Functions

 AdaptiveFidelityEntity (EnergyModel *nid)
virtual void start ()
virtual void handle (Event *e)
virtual void adapt_it ()
void set_sleeptime (float t)
void set_sleepseed (float t)

Protected Attributes

Event intr
float sleep_time_
float sleep_seed_
float idle_time_

Constructor & Destructor Documentation

AdaptiveFidelityEntity::AdaptiveFidelityEntity EnergyModel   nid [inline]

Member Function Documentation

void AdaptiveFidelityEntity::adapt_it   [virtual]

void AdaptiveFidelityEntity::handle Event   e [virtual]

Implements Handler.

void AdaptiveFidelityEntity::set_sleepseed float    t [inline]

void AdaptiveFidelityEntity::set_sleeptime float    t [inline]

void AdaptiveFidelityEntity::start   [virtual]

Member Data Documentation

float AdaptiveFidelityEntity::idle_time_ [protected]

Event AdaptiveFidelityEntity::intr [protected]

EnergyModel* AdaptiveFidelityEntity::nid_ [protected]

float AdaptiveFidelityEntity::sleep_seed_ [protected]

float AdaptiveFidelityEntity::sleep_time_ [protected]

The documentation for this class was generated from the following files:
This document is generated by doxygen.