A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Installation
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
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
14
#include "
propagation-loss-model.h
"
15
16
namespace
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
*/
30
class
ItuR1411LosPropagationLossModel
:
public
PropagationLossModel
31
{
32
public
:
33
/**
34
* \brief Get the type ID.
35
* \return the object TypeId
36
*/
37
static
TypeId
GetTypeId
();
38
39
ItuR1411LosPropagationLossModel
();
40
~ItuR1411LosPropagationLossModel
()
override
;
41
42
// Delete copy constructor and assignment operator to avoid misuse
43
ItuR1411LosPropagationLossModel
(
const
ItuR1411LosPropagationLossModel
&) =
delete
;
44
ItuR1411LosPropagationLossModel
&
operator=
(
const
ItuR1411LosPropagationLossModel
&) =
delete
;
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
*/
62
double
GetLoss
(
Ptr<MobilityModel>
a,
Ptr<MobilityModel>
b)
const
;
63
64
private
:
65
double
DoCalcRxPower
(
double
txPowerDbm,
66
Ptr<MobilityModel>
a,
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
ns3::ItuR1411LosPropagationLossModel
the ITU-R 1411 LOS propagation model
Definition
itu-r-1411-los-propagation-loss-model.h:31
ns3::ItuR1411LosPropagationLossModel::ItuR1411LosPropagationLossModel
ItuR1411LosPropagationLossModel()
Definition
itu-r-1411-los-propagation-loss-model.cc:43
ns3::ItuR1411LosPropagationLossModel::operator=
ItuR1411LosPropagationLossModel & operator=(const ItuR1411LosPropagationLossModel &)=delete
ns3::ItuR1411LosPropagationLossModel::DoAssignStreams
int64_t DoAssignStreams(int64_t stream) override
Assign a fixed random variable stream number to the random variables used by this model.
Definition
itu-r-1411-los-propagation-loss-model.cc:97
ns3::ItuR1411LosPropagationLossModel::SetFrequency
void SetFrequency(double freq)
Set the operating frequency.
Definition
itu-r-1411-los-propagation-loss-model.cc:82
ns3::ItuR1411LosPropagationLossModel::~ItuR1411LosPropagationLossModel
~ItuR1411LosPropagationLossModel() override
Definition
itu-r-1411-los-propagation-loss-model.cc:48
ns3::ItuR1411LosPropagationLossModel::ItuR1411LosPropagationLossModel
ItuR1411LosPropagationLossModel(const ItuR1411LosPropagationLossModel &)=delete
ns3::ItuR1411LosPropagationLossModel::m_lambda
double m_lambda
wavelength
Definition
itu-r-1411-los-propagation-loss-model.h:71
ns3::ItuR1411LosPropagationLossModel::GetLoss
double GetLoss(Ptr< MobilityModel > a, Ptr< MobilityModel > b) const
Definition
itu-r-1411-los-propagation-loss-model.cc:53
ns3::ItuR1411LosPropagationLossModel::GetTypeId
static TypeId GetTypeId()
Get the type ID.
Definition
itu-r-1411-los-propagation-loss-model.cc:27
ns3::ItuR1411LosPropagationLossModel::DoCalcRxPower
double DoCalcRxPower(double txPowerDbm, Ptr< MobilityModel > a, Ptr< MobilityModel > b) const override
PropagationLossModel.
Definition
itu-r-1411-los-propagation-loss-model.cc:89
ns3::PropagationLossModel
Models the propagation loss through a transmission medium.
Definition
propagation-loss-model.h:45
ns3::Ptr
Smart pointer class similar to boost::intrusive_ptr.
Definition
mpi-test-fixtures.h:37
ns3::TypeId
a unique identifier for an interface.
Definition
type-id.h:48
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
propagation-loss-model.h
src
propagation
model
itu-r-1411-los-propagation-loss-model.h
Generated on Fri Nov 8 2024 13:59:05 for ns-3 by
1.11.0