INET Framework for OMNeT++/OMNEST
|
#include <IReceptionModel.h>
Public Member Functions | |
virtual void | initializeFrom (cModule *radioModule)=0 |
virtual double | calculateReceivedPower (double pSend, double carrierFrequency, double distance)=0 |
virtual | ~IReceptionModel () |
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.
virtual IReceptionModel::~IReceptionModel | ( | ) | [inline, virtual] |
Virtual destructor.
{}
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().