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 
33 namespace ns3 {
34 
35 class WifiPsdu;
36 
44 class ErpOfdmPpdu : public OfdmPpdu
45 {
46 public:
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 
64 private:
65  WifiTxVector DoGetTxVector (void) const override;
66 }; //class ErpOfdmPpdu
67 
68 } //namespace ns3
69 
70 #endif /* ERP_OFDM_PPDU_H */
virtual ~ErpOfdmPpdu()
Destructor for ErpOfdmPpdu.
This class mimics the TXVECTOR which is to be passed to the PHY in order to define the parameters whi...
WifiTxVector DoGetTxVector(void) const override
Get the TXVECTOR used to send the PPDU.
Declaration of ns3::OfdmPpdu class.
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)OfdmPpdu stores a preamble, PHY headers and a PSDU of a PPDU with non-HT header...
Definition: ofdm-ppdu.h:47
ERP-OFDM PPDU (11g)ErpOfdmPpdu stores a preamble, PHY headers and a PSDU of a PPDU with non-HT header...
Definition: erp-ofdm-ppdu.h:44
Every class exported by the ns3 library is enclosed in the ns3 namespace.
WifiPhyBand
Identifies the PHY band.
Definition: wifi-phy-band.h:32