Base class for fading models such as Markov-based fading or fading trace. More...
#include "satellite-base-fading.h"
Public Types | |
typedef Callback< double > | ElevationCallback |
Gets elevation angle in degrees. More... | |
typedef Callback< double > | VelocityCallback |
Gets velocity in m/s. More... | |
Public Member Functions | |
SatBaseFading () | |
Constructor. More... | |
virtual | ~SatBaseFading () |
Destructor. More... | |
virtual double | DoGetFading (Address macAddress, SatEnums::ChannelType_t channelType)=0 |
Function for getting the fading value. More... | |
double | GetFading (Address macAddress, SatEnums::ChannelType_t channelType) |
Function for getting the fading value. More... | |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
NS-3 type id function. More... | |
Base class for fading models such as Markov-based fading or fading trace.
This class defines the functions which all the different fading models must implement for the fading interface. This base class itself is abstract and will not implement any real functionality.
Definition at line 42 of file satellite-base-fading.h.
typedef Callback<double> ns3::SatBaseFading::ElevationCallback |
Gets elevation angle in degrees.
Definition at line 48 of file satellite-base-fading.h.
typedef Callback<double> ns3::SatBaseFading::VelocityCallback |
Gets velocity in m/s.
Definition at line 53 of file satellite-base-fading.h.
ns3::SatBaseFading::SatBaseFading | ( | ) |
Constructor.
Definition at line 41 of file satellite-base-fading.cc.
|
virtual |
Destructor.
Definition at line 46 of file satellite-base-fading.cc.
|
pure virtual |
Function for getting the fading value.
This is an abstract method, thus it is implemented in the inherited fading classes.
macAddress | |
channelType | channel type |
Implemented in ns3::SatMarkovContainer, and ns3::SatFadingInputTrace.
Referenced by GetFading().
double ns3::SatBaseFading::GetFading | ( | Address | macAddress, |
SatEnums::ChannelType_t | channelType | ||
) |
Function for getting the fading value.
macAddress | |
channelType | channel type |
Definition at line 52 of file satellite-base-fading.cc.
References DoGetFading().
|
static |