A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::WifiRtsCtsProtection Struct Reference

WifiRtsCtsProtection specifies that RTS/CTS protection method is used. More...

#include "wifi-protection.h"

+ Inheritance diagram for ns3::WifiRtsCtsProtection:
+ Collaboration diagram for ns3::WifiRtsCtsProtection:

Public Member Functions

 WifiRtsCtsProtection ()
 
std::unique_ptr< WifiProtectionCopy () const override
 Clone this object.
 
void Print (std::ostream &os) const override
 Print the object contents.
 
- Public Member Functions inherited from ns3::WifiProtection
 WifiProtection (Method m)
 Constructor.
 
virtual ~WifiProtection ()
 
virtual std::unique_ptr< WifiProtectionCopy () const =0
 Clone this object.
 
virtual void Print (std::ostream &os) const =0
 Print the object contents.
 

Public Attributes

WifiTxVector ctsTxVector
 CTS TXVECTOR.
 
WifiTxVector rtsTxVector
 RTS TXVECTOR.
 
- Public Attributes inherited from ns3::WifiProtection
const Method method
 protection method
 
Time protectionTime
 time required by the protection method
 

Additional Inherited Members

- Public Types inherited from ns3::WifiProtection
enum  Method { NONE = 0 , RTS_CTS , CTS_TO_SELF , MU_RTS_CTS }
 Available protection methods. More...
 

Detailed Description

WifiRtsCtsProtection specifies that RTS/CTS protection method is used.

Definition at line 95 of file wifi-protection.h.

Constructor & Destructor Documentation

◆ WifiRtsCtsProtection()

ns3::WifiRtsCtsProtection::WifiRtsCtsProtection ( )

Definition at line 67 of file wifi-protection.cc.

Member Function Documentation

◆ Copy()

std::unique_ptr< WifiProtection > ns3::WifiRtsCtsProtection::Copy ( ) const
overridevirtual

Clone this object.

Returns
a pointer to the cloned object

Implements ns3::WifiProtection.

Definition at line 73 of file wifi-protection.cc.

◆ Print()

void ns3::WifiRtsCtsProtection::Print ( std::ostream &  os) const
overridevirtual

Print the object contents.

Parameters
osoutput stream in which the data should be printed.

Implements ns3::WifiProtection.

Definition at line 79 of file wifi-protection.cc.

Member Data Documentation

◆ ctsTxVector

WifiTxVector ns3::WifiRtsCtsProtection::ctsTxVector

CTS TXVECTOR.

Definition at line 103 of file wifi-protection.h.

◆ rtsTxVector

WifiTxVector ns3::WifiRtsCtsProtection::rtsTxVector

RTS TXVECTOR.

Definition at line 102 of file wifi-protection.h.


The documentation for this struct was generated from the following files: