A Discrete-Event Network Simulator
ns3::BuildingsPropagationLossModel::ShadowingLoss Class Reference

This model allows the computation of shadowing loss. More...

#include "buildings-propagation-loss-model.h"

+ Collaboration diagram for ns3::BuildingsPropagationLossModel::ShadowingLoss:

Public Member Functions

 ShadowingLoss ()
 ShadowingLoss (double shadowingValue, Ptr< MobilityModel > receiver)
 Constructor. More...
double GetLoss () const
Ptr< MobilityModelGetReceiver (void) const

Protected Attributes

Ptr< MobilityModelm_receiver
 The receiver mobility model. More...
double m_shadowingValue
 Shadowing value. More...

Detailed Description

This model allows the computation of shadowing loss.

Definition at line 114 of file buildings-propagation-loss-model.h.

Constructor & Destructor Documentation

◆ ShadowingLoss() [1/2]

ns3::BuildingsPropagationLossModel::ShadowingLoss::ShadowingLoss ( )

Definition at line 40 of file buildings-propagation-loss-model.cc.

◆ ShadowingLoss() [2/2]

ns3::BuildingsPropagationLossModel::ShadowingLoss::ShadowingLoss ( double  shadowingValue,
Ptr< MobilityModel receiver 


shadowingValueValue for shadowing
receiverReceiver position

Definition at line 44 of file buildings-propagation-loss-model.cc.

References m_shadowingValue, and NS_LOG_INFO.

Member Function Documentation

◆ GetLoss()

double ns3::BuildingsPropagationLossModel::ShadowingLoss::GetLoss ( ) const
the loss (in dBm)

Definition at line 51 of file buildings-propagation-loss-model.cc.

◆ GetReceiver()

Ptr< MobilityModel > ns3::BuildingsPropagationLossModel::ShadowingLoss::GetReceiver ( void  ) const
the receiver mobility model

Definition at line 57 of file buildings-propagation-loss-model.cc.

Member Data Documentation

◆ m_receiver

Ptr<MobilityModel> ns3::BuildingsPropagationLossModel::ShadowingLoss::m_receiver

The receiver mobility model.

Definition at line 134 of file buildings-propagation-loss-model.h.

◆ m_shadowingValue

double ns3::BuildingsPropagationLossModel::ShadowingLoss::m_shadowingValue

Shadowing value.

Definition at line 133 of file buildings-propagation-loss-model.h.

Referenced by ShadowingLoss().

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