ns-3
ns3::JakesFadingLossModel Class Reference

JakesFadingLossModel class implements a loss model due to the fast fading. In particular, the fast fading is modeled using a Jakes Model. More...

#include <jakes-fading-loss-model.h>

Inheritance diagram for ns3::JakesFadingLossModel:
Collaboration diagram for ns3::JakesFadingLossModel:

List of all members.

Public Types

typedef std::vector< double > MultipathForTimeDomain
typedef std::vector
< MultipathForTimeDomain
MultipathForFrequencyDomain

Public Member Functions

void SetValue (void)
 Set the value of the considered loss model.
double GetValue (int subChannel)
 Get the value for a particular sub channel.
void SetPhy (Ptr< LtePhy > phy)
 Set the physical layer.
Ptr< LtePhyGetPhy (void)
 Get the physical layer.

Static Public Member Functions

static TypeId GetTypeId (void)
 This method returns the TypeId associated to ns3::JakesFadingLossModel.

Detailed Description

JakesFadingLossModel class implements a loss model due to the fast fading. In particular, the fast fading is modeled using a Jakes Model.


Member Typedef Documentation

brief a list of multipath values for the frequency domain

brief a list of multipath values for the time domain


Member Function Documentation

Get the physical layer.

Returns:
the pointer to the physical layer

References NS_LOG_FUNCTION.

Referenced by SetValue().

This method returns the TypeId associated to ns3::JakesFadingLossModel.

This object is accessible through the following paths with Config::Set and Config::Connect:

  • /NodeList/[i]/DeviceList/[i]/$ns3::AlohaNoackNetDevice/Phy/$ns3::DiscreteTimeLossModel/$ns3::JakesFadingLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::AlohaNoackNetDevice/Phy/$ns3::JakesFadingLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::NonCommunicatingNetDevice/Phy/$ns3::DiscreteTimeLossModel/$ns3::JakesFadingLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::NonCommunicatingNetDevice/Phy/$ns3::JakesFadingLossModel

No Attributes defined for this type.
No TraceSources defined for this type.

Reimplemented from ns3::DiscreteTimeLossModel.

References ns3::TypeId::SetParent().

double ns3::JakesFadingLossModel::GetValue ( int  subChannel)

Get the value for a particular sub channel.

Parameters:
subChannelthe sub channel for which a value is requested
Returns:
the loss for a particular sub channel

References ns3::DiscreteTimeLossModel::GetLastUpdate(), ns3::Time::GetSeconds(), ns3::DiscreteTimeLossModel::NeedForUpdate(), ns3::Now(), NS_LOG_FUNCTION, ns3::DiscreteTimeLossModel::SetLastUpdate(), and SetValue().

Set the physical layer.

Parameters:
phythe physical layer

References NS_LOG_FUNCTION, and SetValue().

Referenced by ns3::LteHelper::AddDownlinkChannelRealization().


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