A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Installation
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
simple-ofdm-send-param.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2007,2008, 2009 INRIA, UDcast
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: Mohamed Amine Ismail <amine.ismail@sophia.inria.fr>
18
* <amine.ismail@udcast.com>
19
*/
20
21
#ifndef SIMPLE_OFDM_SEND_PARAM_H
22
#define SIMPLE_OFDM_SEND_PARAM_H
23
24
#include "
bvec.h
"
25
#include "
wimax-channel.h
"
26
#include "
wimax-phy.h
"
27
28
#include "ns3/propagation-loss-model.h"
29
30
#include <list>
31
32
namespace
ns3
33
{
34
39
class
SimpleOfdmSendParam
40
{
41
public
:
42
SimpleOfdmSendParam
();
54
SimpleOfdmSendParam
(
const
Bvec
& fecBlock,
55
uint32_t burstSize,
56
bool
isFirstBlock,
57
uint64_t Frequency,
58
WimaxPhy::ModulationType
modulationType,
59
uint8_t direction,
60
double
rxPowerDbm);
72
SimpleOfdmSendParam
(uint32_t burstSize,
73
bool
isFirstBlock,
74
uint64_t Frequency,
75
WimaxPhy::ModulationType
modulationType,
76
uint8_t direction,
77
double
rxPowerDbm,
78
Ptr<PacketBurst>
burst);
79
~SimpleOfdmSendParam
();
84
void
SetFecBlock
(
const
Bvec
& fecBlock);
89
void
SetBurstSize
(uint32_t burstSize);
94
void
SetIsFirstBlock
(
bool
isFirstBlock);
98
void
SetFrequency
(uint64_t Frequency);
102
void
SetModulationType
(
WimaxPhy::ModulationType
modulationType);
106
void
SetDirection
(uint8_t direction);
110
void
SetRxPowerDbm
(
double
rxPowerDbm);
114
Bvec
GetFecBlock
();
118
uint32_t
GetBurstSize
()
const
;
122
bool
GetIsFirstBlock
()
const
;
126
uint64_t
GetFrequency
()
const
;
130
WimaxPhy::ModulationType
GetModulationType
();
134
uint8_t
GetDirection
()
const
;
138
double
GetRxPowerDbm
()
const
;
142
Ptr<PacketBurst>
GetBurst
();
143
144
private
:
145
Bvec
m_fecBlock
;
146
uint32_t
m_burstSize
;
147
bool
m_isFirstBlock
;
148
uint64_t
m_frequency
;
149
WimaxPhy::ModulationType
m_modulationType
;
150
uint8_t
m_direction
;
151
double
m_rxPowerDbm
;
152
Ptr<PacketBurst>
m_burst
;
153
};
154
}
// namespace ns3
155
156
#endif
/* SIMPLE_OFDM_SEND_PARAM_H */
bvec.h
ns3::Ptr
Smart pointer class similar to boost::intrusive_ptr.
Definition:
ptr.h:77
ns3::SimpleOfdmSendParam
SimpleOfdmSendParam class.
Definition:
simple-ofdm-send-param.h:40
ns3::SimpleOfdmSendParam::GetDirection
uint8_t GetDirection() const
Definition:
simple-ofdm-send-param.cc:150
ns3::SimpleOfdmSendParam::SetFrequency
void SetFrequency(uint64_t Frequency)
Definition:
simple-ofdm-send-param.cc:96
ns3::SimpleOfdmSendParam::m_frequency
uint64_t m_frequency
frequency
Definition:
simple-ofdm-send-param.h:148
ns3::SimpleOfdmSendParam::m_isFirstBlock
bool m_isFirstBlock
is first block
Definition:
simple-ofdm-send-param.h:147
ns3::SimpleOfdmSendParam::GetFecBlock
Bvec GetFecBlock()
Definition:
simple-ofdm-send-param.cc:120
ns3::SimpleOfdmSendParam::m_modulationType
WimaxPhy::ModulationType m_modulationType
modulation type
Definition:
simple-ofdm-send-param.h:149
ns3::SimpleOfdmSendParam::GetModulationType
WimaxPhy::ModulationType GetModulationType()
Definition:
simple-ofdm-send-param.cc:144
ns3::SimpleOfdmSendParam::GetFrequency
uint64_t GetFrequency() const
Definition:
simple-ofdm-send-param.cc:138
ns3::SimpleOfdmSendParam::m_burst
Ptr< PacketBurst > m_burst
burst
Definition:
simple-ofdm-send-param.h:152
ns3::SimpleOfdmSendParam::SetBurstSize
void SetBurstSize(uint32_t burstSize)
set the burst size
Definition:
simple-ofdm-send-param.cc:84
ns3::SimpleOfdmSendParam::GetBurstSize
uint32_t GetBurstSize() const
Definition:
simple-ofdm-send-param.cc:126
ns3::SimpleOfdmSendParam::m_rxPowerDbm
double m_rxPowerDbm
receive power dbM
Definition:
simple-ofdm-send-param.h:151
ns3::SimpleOfdmSendParam::SetFecBlock
void SetFecBlock(const Bvec &fecBlock)
sent the fec block to send
Definition:
simple-ofdm-send-param.cc:78
ns3::SimpleOfdmSendParam::m_fecBlock
Bvec m_fecBlock
FEC block.
Definition:
simple-ofdm-send-param.h:145
ns3::SimpleOfdmSendParam::SimpleOfdmSendParam
SimpleOfdmSendParam()
Definition:
simple-ofdm-send-param.cc:28
ns3::SimpleOfdmSendParam::SetDirection
void SetDirection(uint8_t direction)
Definition:
simple-ofdm-send-param.cc:108
ns3::SimpleOfdmSendParam::SetModulationType
void SetModulationType(WimaxPhy::ModulationType modulationType)
Definition:
simple-ofdm-send-param.cc:102
ns3::SimpleOfdmSendParam::SetIsFirstBlock
void SetIsFirstBlock(bool isFirstBlock)
Definition:
simple-ofdm-send-param.cc:90
ns3::SimpleOfdmSendParam::GetBurst
Ptr< PacketBurst > GetBurst()
Definition:
simple-ofdm-send-param.cc:162
ns3::SimpleOfdmSendParam::GetRxPowerDbm
double GetRxPowerDbm() const
Definition:
simple-ofdm-send-param.cc:156
ns3::SimpleOfdmSendParam::GetIsFirstBlock
bool GetIsFirstBlock() const
Definition:
simple-ofdm-send-param.cc:132
ns3::SimpleOfdmSendParam::~SimpleOfdmSendParam
~SimpleOfdmSendParam()
Definition:
simple-ofdm-send-param.cc:73
ns3::SimpleOfdmSendParam::SetRxPowerDbm
void SetRxPowerDbm(double rxPowerDbm)
Definition:
simple-ofdm-send-param.cc:114
ns3::SimpleOfdmSendParam::m_direction
uint8_t m_direction
direction
Definition:
simple-ofdm-send-param.h:150
ns3::SimpleOfdmSendParam::m_burstSize
uint32_t m_burstSize
burst size
Definition:
simple-ofdm-send-param.h:146
ns3::WimaxPhy::ModulationType
ModulationType
ModulationType enumeration.
Definition:
wimax-phy.h:54
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
ns3::Bvec
std::vector< bool > Bvec
boolean vector typedef
Definition:
bvec.h:29
wimax-channel.h
wimax-phy.h
src
wimax
model
simple-ofdm-send-param.h
Generated on Sun Mar 3 2024 17:11:14 for ns-3 by
1.9.1