MInterference Class Reference

#include <minterference.h>

Inheritance diagram for MInterference:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 MInterference ()
virtual void addToInterference (Packet *p)=0
virtual double getInterferencePower (Packet *p)=0
virtual double getCurrentTotalPower ()=0

Detailed Description

Class handling interference calculation.

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.


Member Function Documentation

virtual void MInterference::addToInterference ( Packet *  p  )  [pure virtual]

Add the transmission of this packet to the iterference perceived by the PHY layer.

Parameters:
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.

Parameters:
p the given packet
Returns:
interference power in W

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

Returns:
total power in W

Implemented in MInterferenceMIV.


The documentation for this class was generated from the following file:
Generated on Wed Nov 26 15:49:00 2008 for NS-MIRACLE library by  doxygen 1.5.2