A Discrete-Event Network Simulator
API
wave-frame-exchange-manager.h
Go to the documentation of this file.
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2 /*
3  * Copyright (c) 2020 Universita' degli Studi di Napoli Federico II
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: Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
19  * Junling Bu <linlinjavaer@gmail.com>
20  * Stefano Avallone <stavallo@unina.it>
21  */
22 
23 #ifndef WAVE_FRAME_EXCHANGE_MANAGER_H
24 #define WAVE_FRAME_EXCHANGE_MANAGER_H
25 
26 #include "ns3/qos-frame-exchange-manager.h"
27 #include "wave-net-device.h"
28 
29 namespace ns3 {
30 
48 {
49 public:
54  static TypeId GetTypeId (void);
56  virtual ~WaveFrameExchangeManager ();
57 
58  // Overridden from FrameExchangeManager
59  virtual bool StartTransmission (Ptr<Txop> dcf);
60 
65 
66 protected:
67  // Overridden from FrameExchangeManager
68  virtual void DoDispose (void);
69 
70 private:
80 
83 };
84 
85 } //namespace ns3
86 
87 #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:59
This class is the subclass of QosFrameExchangeManager to provide support for MAC extension (1) allows...
void SetWaveNetDevice(Ptr< WaveNetDevice > device)
virtual WifiTxVector GetDataTxVector(Ptr< const WifiMacQueueItem > item) const
Return a TXVECTOR for the DATA frame given the destination.
static TypeId GetTypeId(void)
Get the type ID.
virtual void DoDispose(void)
Destructor implementation.
Ptr< ChannelCoordinator > m_coordinator
the channel coordinator
Ptr< ChannelScheduler > m_scheduler
the channel scheduler
virtual bool StartTransmission(Ptr< Txop > dcf)
Request the FrameExchangeManager to start a frame exchange sequence.
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.