Public Member Functions | Static Public Member Functions

ns3::MatrixPropagationLossModel Class Reference

The propagation loss is fixed for each pair of nodes and doesn't depend on their actual positions. More...

#include <propagation-loss-model.h>

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

List of all members.

Public Member Functions

void SetLoss (Ptr< Node > a, Ptr< Node > b, double loss, bool symmetric=true)
 Set loss (in dB, positive) between pair of nodes.
void SetDefaultLoss (double)
 Set default loss (in dB, positive) to be used, if not set.

Static Public Member Functions

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

Detailed Description

The propagation loss is fixed for each pair of nodes and doesn't depend on their actual positions.

This is supposed to be used by synthetic tests. Note that by default propagation loss is assumed to be symmetric.


Member Function Documentation

static TypeId ns3::MatrixPropagationLossModel::GetTypeId ( void   )  [static]

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

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

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

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

Reimplemented from ns3::PropagationLossModel.

void ns3::MatrixPropagationLossModel::SetLoss ( Ptr< Node a,
Ptr< Node b,
double  loss,
bool  symmetric = true 
)

Set loss (in dB, positive) between pair of nodes.

Parameters:
a Source node
b Destination node
loss a -> b path loss, positive in dB
symmetric If true (default), both a->b and b->a paths will be affected

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