A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Installation
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
lte-spectrum-signal-parameters.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2011 CTTC
3
*
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License version 2 as
6
* published by the Free Software Foundation;
7
*
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
12
*
13
* You should have received a copy of the GNU General Public License
14
* along with this program; if not, write to the Free Software
15
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16
*
17
* Author: Nicola Baldo <nbaldo@cttc.es>
18
* Modified by Marco Miozzo <mmiozzo@cttc.es> (add data and ctrl diversity)
19
*/
20
21
#ifndef LTE_SPECTRUM_SIGNAL_PARAMETERS_H
22
#define LTE_SPECTRUM_SIGNAL_PARAMETERS_H
23
24
#include <ns3/spectrum-signal-parameters.h>
25
26
#include <list>
27
28
namespace
ns3
29
{
30
31
class
PacketBurst;
32
class
LteControlMessage;
33
39
struct
LteSpectrumSignalParameters
:
public
SpectrumSignalParameters
40
{
41
Ptr<SpectrumSignalParameters>
Copy
()
const override
;
42
46
LteSpectrumSignalParameters
();
47
52
LteSpectrumSignalParameters
(
const
LteSpectrumSignalParameters
& p);
53
57
Ptr<PacketBurst>
packetBurst
;
58
};
59
67
struct
LteSpectrumSignalParametersDataFrame
:
public
SpectrumSignalParameters
68
{
69
Ptr<SpectrumSignalParameters>
Copy
()
const override
;
70
74
LteSpectrumSignalParametersDataFrame
();
75
80
LteSpectrumSignalParametersDataFrame
(
const
LteSpectrumSignalParametersDataFrame
& p);
81
85
Ptr<PacketBurst>
packetBurst
;
86
87
std::list<Ptr<LteControlMessage>>
ctrlMsgList
;
88
89
uint16_t
cellId
;
90
};
91
97
struct
LteSpectrumSignalParametersDlCtrlFrame
:
public
SpectrumSignalParameters
98
{
99
Ptr<SpectrumSignalParameters>
Copy
()
const override
;
100
104
LteSpectrumSignalParametersDlCtrlFrame
();
105
110
LteSpectrumSignalParametersDlCtrlFrame
(
const
LteSpectrumSignalParametersDlCtrlFrame
& p);
111
112
std::list<Ptr<LteControlMessage>>
ctrlMsgList
;
113
114
uint16_t
cellId
;
115
bool
pss
;
116
};
117
123
struct
LteSpectrumSignalParametersUlSrsFrame
:
public
SpectrumSignalParameters
124
{
125
Ptr<SpectrumSignalParameters>
Copy
()
const override
;
126
130
LteSpectrumSignalParametersUlSrsFrame
();
131
136
LteSpectrumSignalParametersUlSrsFrame
(
const
LteSpectrumSignalParametersUlSrsFrame
& p);
137
138
uint16_t
cellId
;
139
};
140
141
}
// namespace ns3
142
143
#endif
/* LTE_SPECTRUM_SIGNAL_PARAMETERS_H */
ns3::Ptr< SpectrumSignalParameters >
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
ns3::LteSpectrumSignalParametersDataFrame
Signal parameters for Lte Data Frame (PDSCH), and eventually after some control messages through othe...
Definition:
lte-spectrum-signal-parameters.h:68
ns3::LteSpectrumSignalParametersDataFrame::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:
lte-spectrum-signal-parameters.cc:72
ns3::LteSpectrumSignalParametersDataFrame::LteSpectrumSignalParametersDataFrame
LteSpectrumSignalParametersDataFrame()
default constructor
Definition:
lte-spectrum-signal-parameters.cc:53
ns3::LteSpectrumSignalParametersDataFrame::ctrlMsgList
std::list< Ptr< LteControlMessage > > ctrlMsgList
the control message list
Definition:
lte-spectrum-signal-parameters.h:87
ns3::LteSpectrumSignalParametersDataFrame::packetBurst
Ptr< PacketBurst > packetBurst
The packet burst being transmitted with this signal.
Definition:
lte-spectrum-signal-parameters.h:85
ns3::LteSpectrumSignalParametersDataFrame::cellId
uint16_t cellId
cell ID
Definition:
lte-spectrum-signal-parameters.h:89
ns3::LteSpectrumSignalParametersDlCtrlFrame
Signal parameters for Lte DL Ctrl Frame (RS, PCFICH and PDCCH)
Definition:
lte-spectrum-signal-parameters.h:98
ns3::LteSpectrumSignalParametersDlCtrlFrame::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:
lte-spectrum-signal-parameters.cc:94
ns3::LteSpectrumSignalParametersDlCtrlFrame::ctrlMsgList
std::list< Ptr< LteControlMessage > > ctrlMsgList
control message list
Definition:
lte-spectrum-signal-parameters.h:112
ns3::LteSpectrumSignalParametersDlCtrlFrame::pss
bool pss
primary synchronization signal
Definition:
lte-spectrum-signal-parameters.h:115
ns3::LteSpectrumSignalParametersDlCtrlFrame::cellId
uint16_t cellId
cell ID
Definition:
lte-spectrum-signal-parameters.h:114
ns3::LteSpectrumSignalParametersDlCtrlFrame::LteSpectrumSignalParametersDlCtrlFrame
LteSpectrumSignalParametersDlCtrlFrame()
default constructor
Definition:
lte-spectrum-signal-parameters.cc:78
ns3::LteSpectrumSignalParameters
Signal parameters for Lte.
Definition:
lte-spectrum-signal-parameters.h:40
ns3::LteSpectrumSignalParameters::packetBurst
Ptr< PacketBurst > packetBurst
The packet burst being transmitted with this signal.
Definition:
lte-spectrum-signal-parameters.h:57
ns3::LteSpectrumSignalParameters::LteSpectrumSignalParameters
LteSpectrumSignalParameters()
default constructor
Definition:
lte-spectrum-signal-parameters.cc:34
ns3::LteSpectrumSignalParameters::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:
lte-spectrum-signal-parameters.cc:47
ns3::LteSpectrumSignalParametersUlSrsFrame
Signal parameters for Lte SRS Frame.
Definition:
lte-spectrum-signal-parameters.h:124
ns3::LteSpectrumSignalParametersUlSrsFrame::cellId
uint16_t cellId
cell ID
Definition:
lte-spectrum-signal-parameters.h:138
ns3::LteSpectrumSignalParametersUlSrsFrame::LteSpectrumSignalParametersUlSrsFrame
LteSpectrumSignalParametersUlSrsFrame()
default constructor
Definition:
lte-spectrum-signal-parameters.cc:100
ns3::LteSpectrumSignalParametersUlSrsFrame::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:
lte-spectrum-signal-parameters.cc:114
ns3::SpectrumSignalParameters
This struct provides the generic signal representation to be used by all wireless technologies.
Definition:
spectrum-signal-parameters.h:53
src
lte
model
lte-spectrum-signal-parameters.h
Generated on Sun Mar 3 2024 17:11:03 for ns-3 by
1.9.1