#include <minterference.h>
Inheritance diagram for MInterference:

Public Member Functions | |
| MInterference () | |
| virtual void | addToInterference (Packet *p)=0 |
| virtual double | getInterferencePower (Packet *p)=0 |
| virtual double | getCurrentTotalPower ()=0 |
It needs to be designed to handle all transmissions through addToInterference(), and to be able to separate interferers from signal in getInterferencePower()
Definition at line 46 of file minterference.h.
| virtual void MInterference::addToInterference | ( | Packet * | p | ) | [pure virtual] |
Add the transmission of this packet to the iterference perceived by the PHY layer.
| p | this packet |
Implemented in MInterferenceMIV, and UmtsMInterferenceMIV.
Referenced by MPhy::recv().
| virtual double MInterference::getInterferencePower | ( | Packet * | p | ) | [pure virtual] |
Computes the interference power that a given packet is subject to.
| p | the given packet |
Implemented in MInterferenceMIV, and UmtsMInterferenceMIV.
Referenced by MPhyRxTimer::handle().
| virtual double MInterference::getCurrentTotalPower | ( | ) | [pure virtual] |
Returns the total power on the channel at time NOW
Implemented in MInterferenceMIV.
1.5.2