A Discrete-Event Network Simulator
API
ns3::WifiCtsToSelfProtection Struct Reference

WifiCtsToSelfProtection specifies that CTS-to-self protection method is used. More...

#include "wifi-protection.h"

+ Inheritance diagram for ns3::WifiCtsToSelfProtection:
+ Collaboration diagram for ns3::WifiCtsToSelfProtection:

Public Member Functions

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

Public Attributes

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

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

WifiCtsToSelfProtection specifies that CTS-to-self protection method is used.

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

Constructor & Destructor Documentation

◆ WifiCtsToSelfProtection()

ns3::WifiCtsToSelfProtection::WifiCtsToSelfProtection ( )

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

Member Function Documentation

◆ Copy()

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

Clone this object.

Returns
a pointer to the cloned object

Implements ns3::WifiProtection.

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

◆ Print()

void ns3::WifiCtsToSelfProtection::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 100 of file wifi-protection.cc.

Member Data Documentation

◆ ctsTxVector

WifiTxVector ns3::WifiCtsToSelfProtection::ctsTxVector

CTS TXVECTOR.

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


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