A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
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
47
class
WaveFrameExchangeManager
:
public
QosFrameExchangeManager
48
{
49
public
:
54
static
TypeId
GetTypeId
(
void
);
55
WaveFrameExchangeManager
();
56
virtual
~WaveFrameExchangeManager
();
57
58
// Overridden from FrameExchangeManager
59
virtual
bool
StartTransmission
(
Ptr<Txop>
dcf);
60
64
void
SetWaveNetDevice
(
Ptr<WaveNetDevice>
device);
65
66
protected
:
67
// Overridden from FrameExchangeManager
68
virtual
void
DoDispose
(
void
);
69
70
private
:
79
virtual
WifiTxVector
GetDataTxVector
(
Ptr<const WifiMacQueueItem>
item)
const
;
80
81
Ptr<ChannelScheduler>
m_scheduler
;
82
Ptr<ChannelCoordinator>
m_coordinator
;
83
};
84
85
}
//namespace ns3
86
87
#endif
/* VHT_FRAME_EXCHANGE_MANAGER_H */
ns3::Ptr< Txop >
ns3::QosFrameExchangeManager
QosFrameExchangeManager handles the frame exchange sequences for QoS stations.
Definition:
qos-frame-exchange-manager.h:37
ns3::TypeId
a unique identifier for an interface.
Definition:
type-id.h:59
ns3::WaveFrameExchangeManager
This class is the subclass of QosFrameExchangeManager to provide support for MAC extension (1) allows...
Definition:
wave-frame-exchange-manager.h:48
ns3::WaveFrameExchangeManager::WaveFrameExchangeManager
WaveFrameExchangeManager()
Definition:
wave-frame-exchange-manager.cc:46
ns3::WaveFrameExchangeManager::SetWaveNetDevice
void SetWaveNetDevice(Ptr< WaveNetDevice > device)
Definition:
wave-frame-exchange-manager.cc:57
ns3::WaveFrameExchangeManager::GetDataTxVector
virtual WifiTxVector GetDataTxVector(Ptr< const WifiMacQueueItem > item) const
Return a TXVECTOR for the DATA frame given the destination.
Definition:
wave-frame-exchange-manager.cc:65
ns3::WaveFrameExchangeManager::GetTypeId
static TypeId GetTypeId(void)
Get the type ID.
Definition:
wave-frame-exchange-manager.cc:36
ns3::WaveFrameExchangeManager::DoDispose
virtual void DoDispose(void)
Destructor implementation.
Definition:
wave-frame-exchange-manager.cc:167
ns3::WaveFrameExchangeManager::m_coordinator
Ptr< ChannelCoordinator > m_coordinator
the channel coordinator
Definition:
wave-frame-exchange-manager.h:82
ns3::WaveFrameExchangeManager::m_scheduler
Ptr< ChannelScheduler > m_scheduler
the channel scheduler
Definition:
wave-frame-exchange-manager.h:81
ns3::WaveFrameExchangeManager::StartTransmission
virtual bool StartTransmission(Ptr< Txop > dcf)
Request the FrameExchangeManager to start a frame exchange sequence.
Definition:
wave-frame-exchange-manager.cc:111
ns3::WaveFrameExchangeManager::~WaveFrameExchangeManager
virtual ~WaveFrameExchangeManager()
Definition:
wave-frame-exchange-manager.cc:51
ns3::WifiTxVector
This class mimics the TXVECTOR which is to be passed to the PHY in order to define the parameters whi...
Definition:
wifi-tx-vector.h:86
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
wave-net-device.h
src
wave
model
wave-frame-exchange-manager.h
Generated on Tue Feb 6 2024 19:21:28 for ns-3 by
1.9.1