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
Collaboration diagram for SwitchEnergyTimer:
Collaboration graph

Public Member Functions

 SwitchEnergyTimer (SwitchEnergyModel *em)

Protected Member Functions

void expire (Event *)

Protected Attributes


Detailed Description

Definition at line 17 of file switchenergymodel.h.

Constructor & Destructor Documentation

SwitchEnergyTimer::SwitchEnergyTimer ( SwitchEnergyModel em)

Definition at line 19 of file switchenergymodel.h.

19 : em_(em) {}
SwitchEnergyModel * em_

Member Function Documentation

void SwitchEnergyTimer::expire ( Event *  )

Definition at line 94 of file

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

Member Data Documentation

SwitchEnergyModel* SwitchEnergyTimer::em_

Definition at line 22 of file switchenergymodel.h.

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