A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Portuguese
Docs ▼
Wiki
Manual
Models
Develop ▼
API
Bugs
API
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
simple-ofdm-send-param.h
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2
/*
3
* Copyright (c) 2007,2008, 2009 INRIA, UDcast
4
*
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License version 2 as
7
* published by the Free Software Foundation;
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17
*
18
* Author: Mohamed Amine Ismail <amine.ismail@sophia.inria.fr>
19
* <amine.ismail@udcast.com>
20
*/
21
22
#ifndef SIMPLE_OFDM_SEND_PARAM_H
23
#define SIMPLE_OFDM_SEND_PARAM_H
24
25
#include <list>
26
#include "
wimax-channel.h
"
27
#include "
bvec.h
"
28
#include "
wimax-phy.h
"
29
#include "ns3/propagation-loss-model.h"
30
31
namespace
ns3 {
32
36
class
simpleOfdmSendParam
37
{
38
public
:
39
simpleOfdmSendParam
(
void
);
40
simpleOfdmSendParam
(
const
bvec
&fecBlock, uint32_t burstSize,
41
bool
isFirstBlock, uint64_t Frequency,
42
WimaxPhy::ModulationType
modulationType, uint8_t direction,
43
double
rxPowerDbm);
44
simpleOfdmSendParam
(uint32_t burstSize,
45
bool
isFirstBlock, uint64_t Frequency,
46
WimaxPhy::ModulationType
modulationType, uint8_t direction,
47
double
rxPowerDbm,
Ptr<PacketBurst>
burst);
48
~simpleOfdmSendParam
(
void
);
53
void
SetFecBlock
(
const
bvec
&fecBlock);
58
void
SetBurstSize
(uint32_t burstSize);
62
void
SetIsFirstBlock
(
bool
isFirstBlock);
66
void
SetFrequency
(uint64_t Frequency);
70
void
SetModulationType
(
WimaxPhy::ModulationType
modulationType);
74
void
SetDirection
(uint8_t direction);
78
void
SetRxPowerDbm
(
double
rxPowerDbm);
82
bvec
GetFecBlock
(
void
);
86
uint32_t
GetBurstSize
(
void
);
90
bool
GetIsFirstBlock
(
void
);
94
uint64_t
GetFrequency
(
void
);
98
WimaxPhy::ModulationType
GetModulationType
(
void
);
102
uint8_t
GetDirection
(
void
);
106
double
GetRxPowerDbm
(
void
);
110
Ptr<PacketBurst>
GetBurst
(
void
);
111
112
private
:
113
bvec
m_fecBlock
;
114
uint32_t
m_burstSize
;
115
bool
m_isFirstBlock
;
116
uint64_t
m_frequency
;
117
WimaxPhy::ModulationType
m_modulationType
;
118
uint8_t
m_direction
;
119
double
m_rxPowerDbm
;
120
Ptr<PacketBurst>
m_burst
;
121
122
};
123
}
// namespace ns3
124
125
#endif
/* SIMPLE_OFDM_SEND_PARAM_H */
ns3::simpleOfdmSendParam::m_frequency
uint64_t m_frequency
Definition:
simple-ofdm-send-param.h:116
ns3::Ptr
smart pointer class similar to boost::intrusive_ptr
Definition:
ptr.h:59
ns3::simpleOfdmSendParam::GetIsFirstBlock
bool GetIsFirstBlock(void)
Definition:
simple-ofdm-send-param.cc:126
ns3::simpleOfdmSendParam
Definition:
simple-ofdm-send-param.h:36
ns3::simpleOfdmSendParam::m_rxPowerDbm
double m_rxPowerDbm
Definition:
simple-ofdm-send-param.h:119
ns3::simpleOfdmSendParam::SetFrequency
void SetFrequency(uint64_t Frequency)
Definition:
simple-ofdm-send-param.cc:95
ns3::simpleOfdmSendParam::m_isFirstBlock
bool m_isFirstBlock
Definition:
simple-ofdm-send-param.h:115
ns3::simpleOfdmSendParam::~simpleOfdmSendParam
~simpleOfdmSendParam(void)
Definition:
simple-ofdm-send-param.cc:73
ns3::simpleOfdmSendParam::m_direction
uint8_t m_direction
Definition:
simple-ofdm-send-param.h:118
ns3::simpleOfdmSendParam::SetDirection
void SetDirection(uint8_t direction)
Definition:
simple-ofdm-send-param.cc:105
ns3::simpleOfdmSendParam::m_burst
Ptr< PacketBurst > m_burst
Definition:
simple-ofdm-send-param.h:120
wimax-channel.h
ns3::simpleOfdmSendParam::GetModulationType
WimaxPhy::ModulationType GetModulationType(void)
Definition:
simple-ofdm-send-param.cc:136
ns3::simpleOfdmSendParam::SetRxPowerDbm
void SetRxPowerDbm(double rxPowerDbm)
Definition:
simple-ofdm-send-param.cc:110
ns3::simpleOfdmSendParam::SetIsFirstBlock
void SetIsFirstBlock(bool isFirstBlock)
Definition:
simple-ofdm-send-param.cc:90
ns3::simpleOfdmSendParam::GetRxPowerDbm
double GetRxPowerDbm(void)
Definition:
simple-ofdm-send-param.cc:146
ns3::simpleOfdmSendParam::SetBurstSize
void SetBurstSize(uint32_t burstSize)
set the burst size
Definition:
simple-ofdm-send-param.cc:85
ns3::simpleOfdmSendParam::simpleOfdmSendParam
simpleOfdmSendParam(void)
Definition:
simple-ofdm-send-param.cc:27
ns3::simpleOfdmSendParam::GetBurstSize
uint32_t GetBurstSize(void)
Definition:
simple-ofdm-send-param.cc:121
ns3::simpleOfdmSendParam::SetFecBlock
void SetFecBlock(const bvec &fecBlock)
sent the fec block to send
Definition:
simple-ofdm-send-param.cc:79
ns3::WimaxPhy::ModulationType
ModulationType
Definition:
wimax-phy.h:48
ns3::simpleOfdmSendParam::GetFecBlock
bvec GetFecBlock(void)
Definition:
simple-ofdm-send-param.cc:116
ns3::bvec
std::vector< bool > bvec
Definition:
bvec.h:28
wimax-phy.h
ns3::simpleOfdmSendParam::m_modulationType
WimaxPhy::ModulationType m_modulationType
Definition:
simple-ofdm-send-param.h:117
ns3::simpleOfdmSendParam::m_burstSize
uint32_t m_burstSize
Definition:
simple-ofdm-send-param.h:114
ns3::simpleOfdmSendParam::GetDirection
uint8_t GetDirection(void)
Definition:
simple-ofdm-send-param.cc:141
ns3::simpleOfdmSendParam::GetFrequency
uint64_t GetFrequency(void)
Definition:
simple-ofdm-send-param.cc:131
ns3::simpleOfdmSendParam::GetBurst
Ptr< PacketBurst > GetBurst(void)
Definition:
simple-ofdm-send-param.cc:151
ns3::simpleOfdmSendParam::m_fecBlock
bvec m_fecBlock
Definition:
simple-ofdm-send-param.h:113
bvec.h
ns3::simpleOfdmSendParam::SetModulationType
void SetModulationType(WimaxPhy::ModulationType modulationType)
Definition:
simple-ofdm-send-param.cc:100
src
wimax
model
simple-ofdm-send-param.h
Generated on Sat Apr 19 2014 14:07:13 for ns-3 by
1.8.6