A Discrete-Event Network Simulator
API
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 () 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 42 of file buildings-propagation-loss-model.cc.

◆ ShadowingLoss() [2/2]

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

Constructor.

Parameters
shadowingValueValue for shadowing
receiverReceiver position

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

References m_shadowingValue, and NS_LOG_INFO.

Member Function Documentation

◆ GetLoss()

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

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

◆ GetReceiver()

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

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

Member Data Documentation

◆ m_receiver

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

The receiver mobility model.

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

◆ m_shadowingValue

double ns3::BuildingsPropagationLossModel::ShadowingLoss::m_shadowingValue
protected

Shadowing value.

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

Referenced by ShadowingLoss().


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