A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Installation
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
send-params.cc
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2007,2008 INRIA
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: Jahanzeb Farooq <jahanzeb.farooq@sophia.inria.fr>
18
*/
19
20
#include "
send-params.h
"
21
22
#include "ns3/packet.h"
23
24
namespace
ns3
25
{
26
27
SendParams::SendParams
()
28
{
29
}
30
31
SendParams::~SendParams
()
32
{
33
}
34
35
// -----------------------------------------
36
37
OfdmSendParams::OfdmSendParams
(
Ptr<PacketBurst>
burst, uint8_t modulationType, uint8_t direction)
38
:
SendParams
(),
39
m_burst(burst),
40
m_modulationType(modulationType),
41
m_direction(direction)
42
{
43
}
44
45
OfdmSendParams::~OfdmSendParams
()
46
{
47
}
48
49
}
// namespace ns3
ns3::OfdmSendParams::~OfdmSendParams
~OfdmSendParams() override
Definition:
send-params.cc:45
ns3::OfdmSendParams::OfdmSendParams
OfdmSendParams(Ptr< PacketBurst > burst, uint8_t modulationType, uint8_t direction)
Constructor.
Definition:
send-params.cc:37
ns3::Ptr
Smart pointer class similar to boost::intrusive_ptr.
Definition:
ptr.h:77
ns3::SendParams
The SendParams class defines the parameters with which Send() function of a particular PHY is called.
Definition:
send-params.h:42
ns3::SendParams::SendParams
SendParams()
Definition:
send-params.cc:27
ns3::SendParams::~SendParams
virtual ~SendParams()
Definition:
send-params.cc:31
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
send-params.h
src
wimax
model
send-params.cc
Generated on Sun Mar 3 2024 17:11:14 for ns-3 by
1.9.1