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 * SPDX-License-Identifier: GPL-2.0-only
5 *
6 * Author: Nicola Baldo <nbaldo@cttc.es>
7 * Modified by Marco Miozzo <mmiozzo@cttc.es> (add data and ctrl diversity)
8 */
9
10#ifndef LTE_SPECTRUM_SIGNAL_PARAMETERS_H
11#define LTE_SPECTRUM_SIGNAL_PARAMETERS_H
12
13#include "ns3/spectrum-signal-parameters.h"
14
15#include <list>
16
17namespace ns3
18{
19
20class PacketBurst;
22
23/**
24 * @ingroup lte
25 *
26 * Signal parameters for Lte
27 */
29{
30 Ptr<SpectrumSignalParameters> Copy() const override;
31
32 /**
33 * default constructor
34 */
36
37 /**
38 * copy constructor
39 * @param p the LteSpectrumSignalParameters to copy
40 */
42
43 /**
44 * The packet burst being transmitted with this signal
45 */
47};
48
49/**
50 * @ingroup lte
51 *
52 * Signal parameters for Lte Data Frame (PDSCH), and eventually after some
53 * control messages through other control channel embedded in PDSCH
54 * (i.e. PBCH)
55 */
57{
58 Ptr<SpectrumSignalParameters> Copy() const override;
59
60 /**
61 * default constructor
62 */
64
65 /**
66 * copy constructor
67 * @param p the LteSpectrumSignalParametersDataFrame to copy
68 */
70
71 /**
72 * The packet burst being transmitted with this signal
73 */
75
76 std::list<Ptr<LteControlMessage>> ctrlMsgList; ///< the control message list
77
78 uint16_t cellId; ///< cell ID
79};
80
81/**
82 * @ingroup lte
83 *
84 * Signal parameters for Lte DL Ctrl Frame (RS, PCFICH and PDCCH)
85 */
87{
88 Ptr<SpectrumSignalParameters> Copy() const override;
89
90 /**
91 * default constructor
92 */
94
95 /**
96 * copy constructor
97 * @param p the LteSpectrumSignalParametersDlCtrlFrame to copy
98 */
100
101 std::list<Ptr<LteControlMessage>> ctrlMsgList; ///< control message list
102
103 uint16_t cellId; ///< cell ID
104 bool pss; ///< primary synchronization signal
105};
106
107/**
108 * @ingroup lte
109 *
110 * Signal parameters for Lte SRS Frame
111 */
113{
114 Ptr<SpectrumSignalParameters> Copy() const override;
115
116 /**
117 * default constructor
118 */
120
121 /**
122 * copy constructor
123 * @param p the LteSpectrumSignalParametersUlSrsFrame to copy
124 */
126
127 uint16_t cellId; ///< cell ID
128};
129
130} // namespace ns3
131
132#endif /* LTE_SPECTRUM_SIGNAL_PARAMETERS_H */
The LteControlMessage provides a basic implementations for control messages (such as PDCCH allocation...
this class implement a burst as a list of packets
Smart pointer class similar to boost::intrusive_ptr.
Definition ptr.h:66
Every class exported by the ns3 library is enclosed in the ns3 namespace.
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.
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 ...