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 */
src
wimax
model
simple-ofdm-send-param.h
Generated on Fri Dec 21 2012 19:00:50 for ns-3 by
1.8.1.2