A Discrete-Event Network Simulator
ns3::WifiNoProtection Struct Reference

WifiNoProtection specifies that no protection method is used. More...

#include "wifi-protection.h"

+ Inheritance diagram for ns3::WifiNoProtection:
+ Collaboration diagram for ns3::WifiNoProtection:

Public Member Functions

 WifiNoProtection ()
std::unique_ptr< WifiProtectionCopy (void) 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 ()
virtual std::unique_ptr< WifiProtectionCopy (void) const =0
 Clone this object. More...
virtual void Print (std::ostream &os) const =0
 Print the object contents. More...

Additional Inherited Members

- Public Types inherited from ns3::WifiProtection
enum  Method { NONE = 0 , RTS_CTS , CTS_TO_SELF }
 Available protection methods. More...
- Public Attributes inherited from ns3::WifiProtection
const Method method
 protection method More...
Time protectionTime
 time required by the protection method More...

Detailed Description

WifiNoProtection specifies that no protection method is used.

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

Constructor & Destructor Documentation

◆ WifiNoProtection()

ns3::WifiNoProtection::WifiNoProtection ( )

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

References ns3::WifiProtection::protectionTime, and ns3::Seconds().

+ Here is the call graph for this function:

Member Function Documentation

◆ Copy()

std::unique_ptr< WifiProtection > ns3::WifiNoProtection::Copy ( void  ) const

Clone this object.

a pointer to the cloned object

Implements ns3::WifiProtection.

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

◆ Print()

void ns3::WifiNoProtection::Print ( std::ostream &  os) const

Print the object contents.

osoutput stream in which the data should be printed.

Implements ns3::WifiProtection.

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

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