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
uan-prop-model-ideal.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2009 University of Washington
3
*
4
* SPDX-License-Identifier: GPL-2.0-only
5
*
6
* Author: Leonard Tracy <lentracy@gmail.com>
7
*/
8
9
#ifndef UAN_PROP_MODEL_IDEAL_H
10
#define UAN_PROP_MODEL_IDEAL_H
11
12
#include "
uan-prop-model.h
"
13
14
#include "ns3/mobility-model.h"
15
#include "ns3/nstime.h"
16
17
namespace
ns3
18
{
19
20
/**
21
* \ingroup uan
22
*
23
* Ideal propagation model (no pathloss, impulse PDP).
24
*/
25
class
UanPropModelIdeal
:
public
UanPropModel
26
{
27
public
:
28
/** Default constructor. */
29
UanPropModelIdeal
();
30
/** Destructor */
31
~UanPropModelIdeal
()
override
;
32
33
/**
34
* Register this type.
35
* \return The object TypeId.
36
*/
37
static
TypeId
GetTypeId
();
38
39
// Inherited methods
40
double
GetPathLossDb
(
Ptr<MobilityModel>
a,
Ptr<MobilityModel>
b,
UanTxMode
mode)
override
;
41
UanPdp
GetPdp
(
Ptr<MobilityModel>
a,
Ptr<MobilityModel>
b,
UanTxMode
mode)
override
;
42
Time
GetDelay
(
Ptr<MobilityModel>
a,
Ptr<MobilityModel>
b,
UanTxMode
mode)
override
;
43
44
};
// class UanPropModelIdeal
45
46
}
// namespace ns3
47
48
#endif
/* UAN_PROP_MODEL_IDEAL_H */
ns3::Ptr
Smart pointer class similar to boost::intrusive_ptr.
Definition
mpi-test-fixtures.h:37
ns3::Time
Simulation virtual time values and global simulation resolution.
Definition
nstime.h:94
ns3::TypeId
a unique identifier for an interface.
Definition
type-id.h:48
ns3::UanPdp
The power delay profile returned by propagation models.
Definition
uan-prop-model.h:79
ns3::UanPropModel
Base class for implemented underwater propagation models.
Definition
uan-prop-model.h:272
ns3::UanPropModelIdeal
Ideal propagation model (no pathloss, impulse PDP).
Definition
uan-prop-model-ideal.h:26
ns3::UanPropModelIdeal::GetDelay
Time GetDelay(Ptr< MobilityModel > a, Ptr< MobilityModel > b, UanTxMode mode) override
Finds propagation delay between nodes a and b.
Definition
uan-prop-model-ideal.cc:51
ns3::UanPropModelIdeal::UanPropModelIdeal
UanPropModelIdeal()
Default constructor.
Definition
uan-prop-model-ideal.cc:20
ns3::UanPropModelIdeal::GetPdp
UanPdp GetPdp(Ptr< MobilityModel > a, Ptr< MobilityModel > b, UanTxMode mode) override
Get the PDP for the path between two nodes.
Definition
uan-prop-model-ideal.cc:45
ns3::UanPropModelIdeal::~UanPropModelIdeal
~UanPropModelIdeal() override
Destructor.
Definition
uan-prop-model-ideal.cc:24
ns3::UanPropModelIdeal::GetTypeId
static TypeId GetTypeId()
Register this type.
Definition
uan-prop-model-ideal.cc:29
ns3::UanPropModelIdeal::GetPathLossDb
double GetPathLossDb(Ptr< MobilityModel > a, Ptr< MobilityModel > b, UanTxMode mode) override
Computes pathloss between nodes a and b.
Definition
uan-prop-model-ideal.cc:39
ns3::UanTxMode
Abstraction of packet modulation information.
Definition
uan-tx-mode.h:32
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
uan-prop-model.h
src
uan
model
uan-prop-model-ideal.h
Generated on Fri Nov 8 2024 13:59:07 for ns-3 by
1.11.0