A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
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
32namespace ns3
33{
34
40{
41 public:
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);
73 bool isFirstBlock,
74 uint64_t Frequency,
75 WimaxPhy::ModulationType modulationType,
76 uint8_t direction,
77 double rxPowerDbm,
78 Ptr<PacketBurst> burst);
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);
118 uint32_t GetBurstSize() const;
122 bool GetIsFirstBlock() const;
126 uint64_t GetFrequency() const;
134 uint8_t GetDirection() const;
138 double GetRxPowerDbm() const;
143
144 private:
148 uint64_t m_frequency;
150 uint8_t m_direction;
153};
154} // namespace ns3
155
156#endif /* SIMPLE_OFDM_SEND_PARAM_H */
Smart pointer class similar to boost::intrusive_ptr.
Definition: ptr.h:78
SimpleOfdmSendParam class.
void SetFrequency(uint64_t Frequency)
WimaxPhy::ModulationType m_modulationType
modulation type
WimaxPhy::ModulationType GetModulationType()
Ptr< PacketBurst > m_burst
burst
void SetBurstSize(uint32_t burstSize)
set the burst size
double m_rxPowerDbm
receive power dbM
void SetFecBlock(const Bvec &fecBlock)
sent the fec block to send
void SetDirection(uint8_t direction)
void SetModulationType(WimaxPhy::ModulationType modulationType)
void SetIsFirstBlock(bool isFirstBlock)
void SetRxPowerDbm(double rxPowerDbm)
ModulationType
ModulationType enumeration.
Definition: wimax-phy.h:54
Every class exported by the ns3 library is enclosed in the ns3 namespace.
std::vector< bool > Bvec
boolean vector typedef
Definition: bvec.h:29