A Discrete-Event Network Simulator
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
14
15namespace ns3
16{
17
18class 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 */
30{
31 public:
32 /**
33 * \brief Get the type ID.
34 * \return The object TypeId.
35 */
36 static TypeId GetTypeId();
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_ */
This model provides means for simulating the following propagation phenomena in the presence of build...
this model combines the OkumuraHata model with the BuildingsPropagationLossModel
Ptr< OkumuraHataPropagationLossModel > m_okumuraHata
OkumuraHata Propagation Loss Model.
double GetLoss(Ptr< MobilityModel > a, Ptr< MobilityModel > b) const override
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.