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
half-duplex-ideal-phy-signal-parameters.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2009 CTTC
3
*
4
* SPDX-License-Identifier: GPL-2.0-only
5
*
6
* Author: Nicola Baldo <nbaldo@cttc.es>
7
*/
8
9
#ifndef HALF_DUPLEX_IDEAL_PHY_SPECTRUM_PARAMETERS_H
10
#define HALF_DUPLEX_IDEAL_PHY_SPECTRUM_PARAMETERS_H
11
12
#include "
spectrum-signal-parameters.h
"
13
14
namespace
ns3
15
{
16
17
class
Packet;
18
19
/**
20
* \ingroup spectrum
21
*
22
* Signal parameters for HalfDuplexIdealPhy
23
*/
24
struct
HalfDuplexIdealPhySignalParameters
:
public
SpectrumSignalParameters
25
{
26
Ptr<SpectrumSignalParameters>
Copy
()
const override
;
27
28
/**
29
* default constructor
30
*/
31
HalfDuplexIdealPhySignalParameters
();
32
33
/**
34
* copy constructor
35
* \param p object to copy
36
*/
37
HalfDuplexIdealPhySignalParameters
(
const
HalfDuplexIdealPhySignalParameters
& p);
38
39
/**
40
* The data packet being transmitted with this signal
41
*/
42
Ptr<Packet>
data
;
43
};
44
45
}
// namespace ns3
46
47
#endif
/* HALF_DUPLEX_IDEAL_PHY_SPECTRUM_PARAMETERS_H */
ns3::Ptr
Smart pointer class similar to boost::intrusive_ptr.
Definition
mpi-test-fixtures.h:37
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
spectrum-signal-parameters.h
ns3::HalfDuplexIdealPhySignalParameters
Signal parameters for HalfDuplexIdealPhy.
Definition
half-duplex-ideal-phy-signal-parameters.h:25
ns3::HalfDuplexIdealPhySignalParameters::Copy
Ptr< SpectrumSignalParameters > Copy() const override
make a "virtual" copy of this class, where "virtual" refers to the fact that if the actual object is ...
Definition
half-duplex-ideal-phy-signal-parameters.cc:33
ns3::HalfDuplexIdealPhySignalParameters::data
Ptr< Packet > data
The data packet being transmitted with this signal.
Definition
half-duplex-ideal-phy-signal-parameters.h:42
ns3::HalfDuplexIdealPhySignalParameters::HalfDuplexIdealPhySignalParameters
HalfDuplexIdealPhySignalParameters()
default constructor
Definition
half-duplex-ideal-phy-signal-parameters.cc:19
ns3::SpectrumSignalParameters
This struct provides the generic signal representation to be used by all wireless technologies.
Definition
spectrum-signal-parameters.h:42
src
spectrum
model
half-duplex-ideal-phy-signal-parameters.h
Generated on Fri Nov 8 2024 13:59:06 for ns-3 by
1.11.0