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-1238-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_1238_PROPAGATION_LOSS_MODEL_H
12
#define ITU_R_1238_PROPAGATION_LOSS_MODEL_H
13
14
#include <ns3/propagation-environment.h>
15
#include <ns3/propagation-loss-model.h>
16
17
namespace
ns3
18
{
19
20
/**
21
* \ingroup buildings
22
* \ingroup propagation
23
*
24
* This class implements the ITU-R 1238 propagation loss model.
25
*
26
*/
27
class
ItuR1238PropagationLossModel
:
public
PropagationLossModel
28
{
29
public
:
30
/**
31
* \brief Get the type ID.
32
* \return The object TypeId.
33
*/
34
static
TypeId
GetTypeId
();
35
36
/**
37
*
38
*
39
* \param a the first mobility model
40
* \param b the second mobility model
41
*
42
* \return the loss in dBm for the propagation between
43
* the two given mobility models
44
*/
45
double
GetLoss
(
Ptr<MobilityModel>
a,
Ptr<MobilityModel>
b)
const
;
46
47
private
:
48
// inherited from PropagationLossModel
49
double
DoCalcRxPower
(
double
txPowerDbm,
50
Ptr<MobilityModel>
a,
51
Ptr<MobilityModel>
b)
const override
;
52
int64_t
DoAssignStreams
(int64_t stream)
override
;
53
54
double
m_frequency
;
///< frequency in MHz
55
};
56
57
}
// namespace ns3
58
59
#endif
// ITU_R_1238_PROPAGATION_LOSS_MODEL_H
ns3::ItuR1238PropagationLossModel
This class implements the ITU-R 1238 propagation loss model.
Definition
itu-r-1238-propagation-loss-model.h:28
ns3::ItuR1238PropagationLossModel::GetLoss
double GetLoss(Ptr< MobilityModel > a, Ptr< MobilityModel > b) const
Definition
itu-r-1238-propagation-loss-model.cc:47
ns3::ItuR1238PropagationLossModel::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-1238-propagation-loss-model.cc:109
ns3::ItuR1238PropagationLossModel::DoCalcRxPower
double DoCalcRxPower(double txPowerDbm, Ptr< MobilityModel > a, Ptr< MobilityModel > b) const override
PropagationLossModel.
Definition
itu-r-1238-propagation-loss-model.cc:101
ns3::ItuR1238PropagationLossModel::GetTypeId
static TypeId GetTypeId()
Get the type ID.
Definition
itu-r-1238-propagation-loss-model.cc:29
ns3::ItuR1238PropagationLossModel::m_frequency
double m_frequency
frequency in MHz
Definition
itu-r-1238-propagation-loss-model.h:54
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.
src
buildings
model
itu-r-1238-propagation-loss-model.h
Generated on Fri Nov 8 2024 13:58:59 for ns-3 by
1.11.0