GreenCloud Simulator
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SwitchEnergyTimer Class Reference

#include <switchenergymodel.h>

Inheritance diagram for SwitchEnergyTimer:
Inheritance graph
[legend]
Collaboration diagram for SwitchEnergyTimer:
Collaboration graph
[legend]

Public Member Functions

 SwitchEnergyTimer (SwitchEnergyModel *em)
 

Protected Member Functions

void expire (Event *)
 

Protected Attributes

SwitchEnergyModelem_
 

Detailed Description

Definition at line 17 of file switchenergymodel.h.

Constructor & Destructor Documentation

SwitchEnergyTimer::SwitchEnergyTimer ( SwitchEnergyModel em)
inline

Definition at line 19 of file switchenergymodel.h.

19 : em_(em) {}
SwitchEnergyModel * em_

Member Function Documentation

void SwitchEnergyTimer::expire ( Event *  )
protected

Definition at line 94 of file switchenergymodel.cc.

95 {
96  em_->timeout();
97 }
virtual void timeout()
SwitchEnergyModel * em_

Member Data Documentation

SwitchEnergyModel* SwitchEnergyTimer::em_
protected

Definition at line 22 of file switchenergymodel.h.


The documentation for this class was generated from the following files: