INET Framework for OMNeT++/OMNEST
IReceptionModel Class Reference

#include <IReceptionModel.h>

Inheritance diagram for IReceptionModel:
PathLossReceptionModel

List of all members.

Public Member Functions

virtual void initializeFrom (cModule *radioModule)=0
virtual double calculateReceivedPower (double pSend, double carrierFrequency, double distance)=0
virtual ~IReceptionModel ()

Detailed Description

Abstract class to encapsulate the calculation of received power of a radio transmission. The calculation may include the effects of path loss, antenna gain, etc.


Constructor & Destructor Documentation

virtual IReceptionModel::~IReceptionModel ( ) [inline, virtual]

Virtual destructor.

{}

Member Function Documentation

virtual double IReceptionModel::calculateReceivedPower ( double  pSend,
double  carrierFrequency,
double  distance 
) [pure virtual]

To be redefined to calculate the received power of a transmission.

Implemented in PathLossReceptionModel.

Referenced by AbstractRadio::handleLowerMsgStart().

virtual void IReceptionModel::initializeFrom ( cModule *  radioModule) [pure virtual]

Allows parameters to be read from the module parameters of a module that contains this object.

Implemented in PathLossReceptionModel.

Referenced by AbstractRadio::initialize().


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