A Discrete-Event Network Simulator
API
send-params.cc
Go to the documentation of this file.
1/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2/*
3 * Copyright (c) 2007,2008 INRIA
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: Jahanzeb Farooq <jahanzeb.farooq@sophia.inria.fr>
19 */
20
21#include "ns3/packet.h"
22#include "send-params.h"
23
24namespace ns3 {
25
27{
28}
29
31{
32}
33
34// -----------------------------------------
35
36OfdmSendParams::OfdmSendParams (Ptr<PacketBurst> burst, uint8_t modulationType,
37 uint8_t direction)
38 : SendParams (),
39 m_burst (burst),
40 m_modulationType (modulationType),
41 m_direction (direction)
42{
43}
44
46{
47}
48
49} // namespace ns3
OfdmSendParams(Ptr< PacketBurst > burst, uint8_t modulationType, uint8_t direction)
Constructor.
Definition: send-params.cc:36
Smart pointer class similar to boost::intrusive_ptr.
Definition: ptr.h:74
The SendParams class defines the parameters with which Send() function of a particular PHY is called.
Definition: send-params.h:44
virtual ~SendParams()
Definition: send-params.cc:30
Every class exported by the ns3 library is enclosed in the ns3 namespace.