A Discrete-Event Network Simulator
API
erp-ofdm-ppdu.h
Go to the documentation of this file.
1/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2/*
3 * Copyright (c) 2020 Orange Labs
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: Rediet <getachew.redieteab@orange.com>
19 * Muhammad Iqbal Rochman <muhiqbalcr@uchicago.edu>
20 */
21
22#ifndef ERP_OFDM_PPDU_H
23#define ERP_OFDM_PPDU_H
24
25#include "ofdm-ppdu.h"
26
33namespace ns3 {
34
35class WifiPsdu;
36
44class ErpOfdmPpdu : public OfdmPpdu
45{
46public:
55 ErpOfdmPpdu (Ptr<const WifiPsdu> psdu, const WifiTxVector& txVector,
56 WifiPhyBand band, uint64_t uid);
60 virtual ~ErpOfdmPpdu ();
61
62 Ptr<WifiPpdu> Copy (void) const override;
63
64private:
65 WifiTxVector DoGetTxVector (void) const override;
66}; //class ErpOfdmPpdu
67
68} //namespace ns3
69
70#endif /* ERP_OFDM_PPDU_H */
ERP-OFDM PPDU (11g)
Definition: erp-ofdm-ppdu.h:45
virtual ~ErpOfdmPpdu()
Destructor for ErpOfdmPpdu.
WifiTxVector DoGetTxVector(void) const override
Get the TXVECTOR used to send the PPDU.
Ptr< WifiPpdu > Copy(void) const override
Copy this instance.
ErpOfdmPpdu(Ptr< const WifiPsdu > psdu, const WifiTxVector &txVector, WifiPhyBand band, uint64_t uid)
Create an ERP-OFDM PPDU.
OFDM PPDU (11a)
Definition: ofdm-ppdu.h:48
This class mimics the TXVECTOR which is to be passed to the PHY in order to define the parameters whi...
WifiPhyBand
Identifies the PHY band.
Definition: wifi-phy-band.h:33
Every class exported by the ns3 library is enclosed in the ns3 namespace.
Declaration of ns3::OfdmPpdu class.