A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
itu-r-1411-los-propagation-loss-model.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2011, 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC)
3 *
4 * SPDX-License-Identifier: GPL-2.0-only
5 *
6 * Author: Marco Miozzo <marco.miozzo@cttc.es>
7 * Nicola Baldo <nbaldo@cttc.es>
8 *
9 */
10
11#ifndef ITU_R_1411_LOS_PROPAGATION_LOSS_MODEL_H
12#define ITU_R_1411_LOS_PROPAGATION_LOSS_MODEL_H
13
15
16namespace ns3
17{
18
19/**
20 * \ingroup propagation
21 *
22 * \brief the ITU-R 1411 LOS propagation model
23 *
24 * This class implements the ITU-R 1411 LOS propagation model for
25 * Line-of-Sight (LoS) short range outdoor communication in the
26 * frequency range 300 MHz to 100 GHz.
27 * For more information about the model, please see
28 * the propagation module documentation in .rst format.
29 */
31{
32 public:
33 /**
34 * \brief Get the type ID.
35 * \return the object TypeId
36 */
37 static TypeId GetTypeId();
38
41
42 // Delete copy constructor and assignment operator to avoid misuse
45
46 /**
47 * Set the operating frequency
48 *
49 * \param freq the frequency in Hz
50 */
51 void SetFrequency(double freq);
52
53 /**
54 *
55 *
56 * \param a the first mobility model
57 * \param b the second mobility model
58 *
59 * \return the loss in dBm for the propagation between
60 * the two given mobility models
61 */
63
64 private:
65 double DoCalcRxPower(double txPowerDbm,
67 Ptr<MobilityModel> b) const override;
68
69 int64_t DoAssignStreams(int64_t stream) override;
70
71 double m_lambda; //!< wavelength
72};
73
74} // namespace ns3
75
76#endif // ITU_R_1411_LOS_PROPAGATION_LOSS_MODEL_H
ItuR1411LosPropagationLossModel & operator=(const ItuR1411LosPropagationLossModel &)=delete
int64_t DoAssignStreams(int64_t stream) override
Assign a fixed random variable stream number to the random variables used by this model.
void SetFrequency(double freq)
Set the operating frequency.
ItuR1411LosPropagationLossModel(const ItuR1411LosPropagationLossModel &)=delete
double GetLoss(Ptr< MobilityModel > a, Ptr< MobilityModel > b) const
double DoCalcRxPower(double txPowerDbm, Ptr< MobilityModel > a, Ptr< MobilityModel > b) const override
PropagationLossModel.
Models the propagation loss through a transmission medium.
Smart pointer class similar to boost::intrusive_ptr.
a unique identifier for an interface.
Definition type-id.h:48
Every class exported by the ns3 library is enclosed in the ns3 namespace.