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
oh-buildings-propagation-loss-model.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2011 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
*
8
*/
9
10
#ifndef OH_BUILDINGS_PROPAGATION_LOSS_MODEL_H_
11
#define OH_BUILDINGS_PROPAGATION_LOSS_MODEL_H_
12
13
#include "
buildings-propagation-loss-model.h
"
14
15
namespace
ns3
16
{
17
18
class
OkumuraHataPropagationLossModel;
19
20
/**
21
* \ingroup buildings
22
* \ingroup propagation
23
*
24
* this model combines the OkumuraHata model with the BuildingsPropagationLossModel
25
*
26
* \warning This model works with MobilityBuildingInfo only
27
*
28
*/
29
class
OhBuildingsPropagationLossModel
:
public
BuildingsPropagationLossModel
30
{
31
public
:
32
/**
33
* \brief Get the type ID.
34
* \return The object TypeId.
35
*/
36
static
TypeId
GetTypeId
();
37
OhBuildingsPropagationLossModel
();
38
~OhBuildingsPropagationLossModel
()
override
;
39
40
/**
41
* \param a the mobility model of the source
42
* \param b the mobility model of the destination
43
* \returns the propagation loss (in dBm)
44
*/
45
double
GetLoss
(
Ptr<MobilityModel>
a,
Ptr<MobilityModel>
b)
const override
;
46
47
private
:
48
Ptr<OkumuraHataPropagationLossModel>
m_okumuraHata
;
//!< OkumuraHata Propagation Loss Model
49
};
50
51
}
// namespace ns3
52
53
#endif
/* OH_BUILDINGS_PROPAGATION_LOSS_MODEL_H_ */
buildings-propagation-loss-model.h
ns3::BuildingsPropagationLossModel
This model provides means for simulating the following propagation phenomena in the presence of build...
Definition
buildings-propagation-loss-model.h:47
ns3::OhBuildingsPropagationLossModel
this model combines the OkumuraHata model with the BuildingsPropagationLossModel
Definition
oh-buildings-propagation-loss-model.h:30
ns3::OhBuildingsPropagationLossModel::m_okumuraHata
Ptr< OkumuraHataPropagationLossModel > m_okumuraHata
OkumuraHata Propagation Loss Model.
Definition
oh-buildings-propagation-loss-model.h:48
ns3::OhBuildingsPropagationLossModel::~OhBuildingsPropagationLossModel
~OhBuildingsPropagationLossModel() override
Definition
oh-buildings-propagation-loss-model.cc:36
ns3::OhBuildingsPropagationLossModel::GetTypeId
static TypeId GetTypeId()
Get the type ID.
Definition
oh-buildings-propagation-loss-model.cc:41
ns3::OhBuildingsPropagationLossModel::GetLoss
double GetLoss(Ptr< MobilityModel > a, Ptr< MobilityModel > b) const override
Definition
oh-buildings-propagation-loss-model.cc:54
ns3::OhBuildingsPropagationLossModel::OhBuildingsPropagationLossModel
OhBuildingsPropagationLossModel()
Definition
oh-buildings-propagation-loss-model.cc:31
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
oh-buildings-propagation-loss-model.h
Generated on Fri Nov 8 2024 13:58:59 for ns-3 by
1.11.0