A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Installation
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
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
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License version 2 as
6
* published by the Free Software Foundation;
7
*
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
12
*
13
* You should have received a copy of the GNU General Public License
14
* along with this program; if not, write to the Free Software
15
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16
*
17
* Author: Marco Miozzo <marco.miozzo@cttc.es>
18
* Nicola Baldo <nbaldo@cttc.es>
19
*
20
*/
21
22
#ifndef ITU_R_1411_LOS_PROPAGATION_LOSS_MODEL_H
23
#define ITU_R_1411_LOS_PROPAGATION_LOSS_MODEL_H
24
25
#include "
propagation-loss-model.h
"
26
27
namespace
ns3
28
{
29
41
class
ItuR1411LosPropagationLossModel
:
public
PropagationLossModel
42
{
43
public
:
48
static
TypeId
GetTypeId
();
49
50
ItuR1411LosPropagationLossModel
();
51
~ItuR1411LosPropagationLossModel
()
override
;
52
53
// Delete copy constructor and assignment operator to avoid misuse
54
ItuR1411LosPropagationLossModel
(
const
ItuR1411LosPropagationLossModel
&) =
delete
;
55
ItuR1411LosPropagationLossModel
&
operator=
(
const
ItuR1411LosPropagationLossModel
&) =
delete
;
56
62
void
SetFrequency
(
double
freq);
63
73
double
GetLoss
(
Ptr<MobilityModel>
a,
Ptr<MobilityModel>
b)
const
;
74
75
private
:
76
double
DoCalcRxPower
(
double
txPowerDbm,
77
Ptr<MobilityModel>
a,
78
Ptr<MobilityModel>
b)
const override
;
79
80
int64_t
DoAssignStreams
(int64_t stream)
override
;
81
82
double
m_lambda
;
83
};
84
85
}
// namespace ns3
86
87
#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:42
ns3::ItuR1411LosPropagationLossModel::ItuR1411LosPropagationLossModel
ItuR1411LosPropagationLossModel()
Definition:
itu-r-1411-los-propagation-loss-model.cc:54
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:108
ns3::ItuR1411LosPropagationLossModel::SetFrequency
void SetFrequency(double freq)
Set the operating frequency.
Definition:
itu-r-1411-los-propagation-loss-model.cc:93
ns3::ItuR1411LosPropagationLossModel::~ItuR1411LosPropagationLossModel
~ItuR1411LosPropagationLossModel() override
Definition:
itu-r-1411-los-propagation-loss-model.cc:59
ns3::ItuR1411LosPropagationLossModel::ItuR1411LosPropagationLossModel
ItuR1411LosPropagationLossModel(const ItuR1411LosPropagationLossModel &)=delete
ns3::ItuR1411LosPropagationLossModel::m_lambda
double m_lambda
wavelength
Definition:
itu-r-1411-los-propagation-loss-model.h:82
ns3::ItuR1411LosPropagationLossModel::GetLoss
double GetLoss(Ptr< MobilityModel > a, Ptr< MobilityModel > b) const
Definition:
itu-r-1411-los-propagation-loss-model.cc:64
ns3::ItuR1411LosPropagationLossModel::GetTypeId
static TypeId GetTypeId()
Get the type ID.
Definition:
itu-r-1411-los-propagation-loss-model.cc:38
ns3::ItuR1411LosPropagationLossModel::operator=
ItuR1411LosPropagationLossModel & operator=(const ItuR1411LosPropagationLossModel &)=delete
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:100
ns3::PropagationLossModel
Models the propagation loss through a transmission medium.
Definition:
propagation-loss-model.h:56
ns3::Ptr< MobilityModel >
ns3::TypeId
a unique identifier for an interface.
Definition:
type-id.h:59
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 Sun Mar 3 2024 17:11:07 for ns-3 by
1.9.1