Public Member Functions | Static Public Member Functions

ns3::TwoRayGroundPropagationLossModel Class Reference

Inheritance diagram for ns3::TwoRayGroundPropagationLossModel:
Inheritance graph
[legend]
Collaboration diagram for ns3::TwoRayGroundPropagationLossModel:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void SetLambda (double frequency, double speed)
void SetLambda (double lambda)
void SetSystemLoss (double systemLoss)
void SetMinDistance (double minDistance)
double GetMinDistance (void) const
double GetLambda (void) const
double GetSystemLoss (void) const
void SetHeightAboveZ (double heightAboveZ)

Static Public Member Functions

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

Member Function Documentation

double ns3::TwoRayGroundPropagationLossModel::GetLambda ( void   )  const
Returns:
the current wavelength (m)
double ns3::TwoRayGroundPropagationLossModel::GetMinDistance ( void   )  const
Returns:
the minimum distance.
double ns3::TwoRayGroundPropagationLossModel::GetSystemLoss ( void   )  const
Returns:
the current system loss (dimension-less)
static TypeId ns3::TwoRayGroundPropagationLossModel::GetTypeId ( void   )  [static]

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

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

  • /NodeList/[i]/DeviceList/[i]/$ns3::BaseStationNetDevice/BsIpcsPacketClassifier/$ns3::PropagationLossModel/$ns3::TwoRayGroundPropagationLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::BaseStationNetDevice/BsIpcsPacketClassifier/$ns3::TwoRayGroundPropagationLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::BaseStationNetDevice/LinkManager/$ns3::PropagationLossModel/$ns3::TwoRayGroundPropagationLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::BaseStationNetDevice/LinkManager/$ns3::TwoRayGroundPropagationLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::BaseStationNetDevice/SSManager/$ns3::PropagationLossModel/$ns3::TwoRayGroundPropagationLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::BaseStationNetDevice/SSManager/$ns3::TwoRayGroundPropagationLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::BaseStationNetDevice/ServiceFlowManager/$ns3::PropagationLossModel/$ns3::TwoRayGroundPropagationLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::BaseStationNetDevice/ServiceFlowManager/$ns3::TwoRayGroundPropagationLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::SubscriberStationNetDevice/Classifier/$ns3::PropagationLossModel/$ns3::TwoRayGroundPropagationLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::SubscriberStationNetDevice/Classifier/$ns3::TwoRayGroundPropagationLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::SubscriberStationNetDevice/LinkManager/$ns3::PropagationLossModel/$ns3::TwoRayGroundPropagationLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::SubscriberStationNetDevice/LinkManager/$ns3::TwoRayGroundPropagationLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::SubscriberStationNetDevice/SSScheduler/$ns3::PropagationLossModel/$ns3::TwoRayGroundPropagationLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::SubscriberStationNetDevice/SSScheduler/$ns3::TwoRayGroundPropagationLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::BaseStationNetDevice/BsIpcsPacketClassifier/$ns3::PropagationLossModel/$ns3::TwoRayGroundPropagationLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::BaseStationNetDevice/BsIpcsPacketClassifier/$ns3::TwoRayGroundPropagationLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::BaseStationNetDevice/LinkManager/$ns3::PropagationLossModel/$ns3::TwoRayGroundPropagationLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::BaseStationNetDevice/LinkManager/$ns3::TwoRayGroundPropagationLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::BaseStationNetDevice/SSManager/$ns3::PropagationLossModel/$ns3::TwoRayGroundPropagationLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::BaseStationNetDevice/SSManager/$ns3::TwoRayGroundPropagationLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::BaseStationNetDevice/ServiceFlowManager/$ns3::PropagationLossModel/$ns3::TwoRayGroundPropagationLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::BaseStationNetDevice/ServiceFlowManager/$ns3::TwoRayGroundPropagationLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::SubscriberStationNetDevice/Classifier/$ns3::PropagationLossModel/$ns3::TwoRayGroundPropagationLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::SubscriberStationNetDevice/Classifier/$ns3::TwoRayGroundPropagationLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::SubscriberStationNetDevice/LinkManager/$ns3::PropagationLossModel/$ns3::TwoRayGroundPropagationLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::SubscriberStationNetDevice/LinkManager/$ns3::TwoRayGroundPropagationLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::SubscriberStationNetDevice/SSScheduler/$ns3::PropagationLossModel/$ns3::TwoRayGroundPropagationLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::SubscriberStationNetDevice/SSScheduler/$ns3::TwoRayGroundPropagationLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/BandwidthManager/$ns3::PropagationLossModel/$ns3::TwoRayGroundPropagationLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/BandwidthManager/$ns3::TwoRayGroundPropagationLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/BurstProfileManager/$ns3::PropagationLossModel/$ns3::TwoRayGroundPropagationLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/BurstProfileManager/$ns3::TwoRayGroundPropagationLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/ConnectionManager/$ns3::PropagationLossModel/$ns3::TwoRayGroundPropagationLossModel
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/ConnectionManager/$ns3::TwoRayGroundPropagationLossModel

Attributes defined for this type:

  • Lambda: The wavelength (default is 5.15 GHz at 300 000 km/s).
    • Set with class: ns3::DoubleValue
    • Underlying type: double -1.79769e+308:1.79769e+308
    • Initial value: 0.0582524
    • Flags: construct write read
  • SystemLoss: The system loss
    • Set with class: ns3::DoubleValue
    • Underlying type: double -1.79769e+308:1.79769e+308
    • Initial value: 1
    • Flags: construct write read
  • MinDistance: The distance under which the propagation model refuses to give results (m)
    • Set with class: ns3::DoubleValue
    • Underlying type: double -1.79769e+308:1.79769e+308
    • Initial value: 0.5
    • Flags: construct write read
  • HeightAboveZ: The height of the antenna (m) above the node's Z coordinate
    • Set with class: ns3::DoubleValue
    • Underlying type: double -1.79769e+308:1.79769e+308
    • Initial value: 0
    • Flags: construct write read

No TraceSources defined for this type.

Reimplemented from ns3::PropagationLossModel.

void ns3::TwoRayGroundPropagationLossModel::SetHeightAboveZ ( double  heightAboveZ  ) 
Parameters:
heightAboveZ the model antenna height above the node's Z coordinate

Set the model antenna height above the node's Z coordinate

void ns3::TwoRayGroundPropagationLossModel::SetLambda ( double  lambda  ) 
Parameters:
lambda (m) the wavelength

Set the main wavelength used in the TwoRayGround model calculation.

void ns3::TwoRayGroundPropagationLossModel::SetLambda ( double  frequency,
double  speed 
)
Parameters:
frequency (Hz)
speed (m/s)

Set the main wavelength used in the TwoRayGround model calculation.

void ns3::TwoRayGroundPropagationLossModel::SetMinDistance ( double  minDistance  ) 
Parameters:
minDistance the minimum distance

Below this distance, the txpower is returned unmodified as the rxpower.

void ns3::TwoRayGroundPropagationLossModel::SetSystemLoss ( double  systemLoss  ) 
Parameters:
systemLoss (dimension-less)

Set the system loss used by the TwoRayGround propagation model.


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