A Discrete-Event Network Simulator
API
wave-frame-exchange-manager.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2020 Universita' degli Studi di Napoli Federico II
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation;
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program; if not, write to the Free Software
15 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16 *
17 * Author: Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
18 * Junling Bu <linlinjavaer@gmail.com>
19 * Stefano Avallone <stavallo@unina.it>
20 */
21
22#ifndef WAVE_FRAME_EXCHANGE_MANAGER_H
23#define WAVE_FRAME_EXCHANGE_MANAGER_H
24
25#include "wave-net-device.h"
26
27#include "ns3/qos-frame-exchange-manager.h"
28
29namespace ns3
30{
31
49{
50 public:
55 static TypeId GetTypeId();
58
59 // Overridden from FrameExchangeManager
60 bool StartTransmission(Ptr<Txop> dcf, uint16_t allowedWidth) override;
61
66
67 protected:
68 // Overridden from FrameExchangeManager
69 void DoDispose() override;
70
71 private:
81
84};
85
86} // namespace ns3
87
88#endif /* VHT_FRAME_EXCHANGE_MANAGER_H */
QosFrameExchangeManager handles the frame exchange sequences for QoS stations.
a unique identifier for an interface.
Definition: type-id.h:60
This class is the subclass of QosFrameExchangeManager to provide support for MAC extension (1) allows...
void SetWaveNetDevice(Ptr< WaveNetDevice > device)
static TypeId GetTypeId()
Get the type ID.
Ptr< ChannelCoordinator > m_coordinator
the channel coordinator
bool StartTransmission(Ptr< Txop > dcf, uint16_t allowedWidth) override
Request the FrameExchangeManager to start a frame exchange sequence.
virtual WifiTxVector GetDataTxVector(Ptr< const WifiMpdu > item) const
Return a TXVECTOR for the DATA frame given the destination.
Ptr< ChannelScheduler > m_scheduler
the channel scheduler
void DoDispose() override
Destructor implementation.
This class mimics the TXVECTOR which is to be passed to the PHY in order to define the parameters whi...
Every class exported by the ns3 library is enclosed in the ns3 namespace.