A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
send-params.cc
Go to the documentation of this file.
1/*
2 * Copyright (c) 2007,2008 INRIA
3 *
4 * SPDX-License-Identifier: GPL-2.0-only
5 *
6 * Author: Jahanzeb Farooq <jahanzeb.farooq@sophia.inria.fr>
7 */
8
9#include "send-params.h"
10
11#include "ns3/packet.h"
12
13namespace ns3
14{
15
19
23
24// -----------------------------------------
25
26OfdmSendParams::OfdmSendParams(Ptr<PacketBurst> burst, uint8_t modulationType, uint8_t direction)
27 : SendParams(),
28 m_burst(burst),
29 m_modulationType(modulationType),
30 m_direction(direction)
31{
32}
33
37
38} // namespace ns3
~OfdmSendParams() override
OfdmSendParams(Ptr< PacketBurst > burst, uint8_t modulationType, uint8_t direction)
Constructor.
Smart pointer class similar to boost::intrusive_ptr.
The SendParams class defines the parameters with which Send() function of a particular PHY is called.
Definition send-params.h:31
virtual ~SendParams()
Every class exported by the ns3 library is enclosed in the ns3 namespace.