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
Ptr< PacketBurst > m_burst
packet burst
Definition send-params.h:94
~OfdmSendParams() override
uint8_t m_modulationType
modulation type
Definition send-params.h:95
uint8_t m_direction
direction
Definition send-params.h:96
OfdmSendParams(Ptr< PacketBurst > burst, uint8_t modulationType, uint8_t direction)
Constructor.
Smart pointer class similar to boost::intrusive_ptr.
Definition ptr.h:66
virtual ~SendParams()
Every class exported by the ns3 library is enclosed in the ns3 namespace.