A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
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
28namespace ns3
29{
30
31class PacketBurst;
32class LteControlMessage;
33
34/**
35 * \ingroup lte
36 *
37 * Signal parameters for Lte
38 */
40{
41 Ptr<SpectrumSignalParameters> Copy() const override;
42
43 /**
44 * default constructor
45 */
47
48 /**
49 * copy constructor
50 * \param p the LteSpectrumSignalParameters to copy
51 */
53
54 /**
55 * The packet burst being transmitted with this signal
56 */
58};
59
60/**
61 * \ingroup lte
62 *
63 * Signal parameters for Lte Data Frame (PDSCH), and eventually after some
64 * control messages through other control channel embedded in PDSCH
65 * (i.e. PBCH)
66 */
68{
69 Ptr<SpectrumSignalParameters> Copy() const override;
70
71 /**
72 * default constructor
73 */
75
76 /**
77 * copy constructor
78 * \param p the LteSpectrumSignalParametersDataFrame to copy
79 */
81
82 /**
83 * The packet burst being transmitted with this signal
84 */
86
87 std::list<Ptr<LteControlMessage>> ctrlMsgList; ///< the control message list
88
89 uint16_t cellId; ///< cell ID
90};
91
92/**
93 * \ingroup lte
94 *
95 * Signal parameters for Lte DL Ctrl Frame (RS, PCFICH and PDCCH)
96 */
98{
99 Ptr<SpectrumSignalParameters> Copy() const override;
100
101 /**
102 * default constructor
103 */
105
106 /**
107 * copy constructor
108 * \param p the LteSpectrumSignalParametersDlCtrlFrame to copy
109 */
111
112 std::list<Ptr<LteControlMessage>> ctrlMsgList; ///< control message list
113
114 uint16_t cellId; ///< cell ID
115 bool pss; ///< primary synchronization signal
116};
117
118/**
119 * \ingroup lte
120 *
121 * Signal parameters for Lte SRS Frame
122 */
124{
125 Ptr<SpectrumSignalParameters> Copy() const override;
126
127 /**
128 * default constructor
129 */
131
132 /**
133 * copy constructor
134 * \param p the LteSpectrumSignalParametersUlSrsFrame to copy
135 */
137
138 uint16_t cellId; ///< cell ID
139};
140
141} // namespace ns3
142
143#endif /* LTE_SPECTRUM_SIGNAL_PARAMETERS_H */
Smart pointer class similar to boost::intrusive_ptr.
Definition: ptr.h:77
Every class exported by the ns3 library is enclosed in the ns3 namespace.
Signal parameters for Lte Data Frame (PDSCH), and eventually after some control messages through othe...
Ptr< SpectrumSignalParameters > Copy() const override
make a "virtual" copy of this class, where "virtual" refers to the fact that if the actual object is ...
std::list< Ptr< LteControlMessage > > ctrlMsgList
the control message list
Ptr< PacketBurst > packetBurst
The packet burst being transmitted with this signal.
Signal parameters for Lte DL Ctrl Frame (RS, PCFICH and PDCCH)
Ptr< SpectrumSignalParameters > Copy() const override
make a "virtual" copy of this class, where "virtual" refers to the fact that if the actual object is ...
std::list< Ptr< LteControlMessage > > ctrlMsgList
control message list
Ptr< PacketBurst > packetBurst
The packet burst being transmitted with this signal.
Ptr< SpectrumSignalParameters > Copy() const override
make a "virtual" copy of this class, where "virtual" refers to the fact that if the actual object is ...
Ptr< SpectrumSignalParameters > Copy() const override
make a "virtual" copy of this class, where "virtual" refers to the fact that if the actual object is ...
This struct provides the generic signal representation to be used by all wireless technologies.