A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
WifiRetransmitTest::Events Struct Reference

Actions and checks to perform upon the transmission of each frame. More...

+ Collaboration diagram for WifiRetransmitTest::Events:

Public Member Functions

 Events (WifiMacType type, std::function< void(Ptr< const WifiPsdu >, const WifiTxVector &)> &&f={})
 Constructor.
 

Public Attributes

std::function< void(Ptr< const WifiPsdu >, const WifiTxVector &)> func
 function to perform actions and checks
 
WifiMacType hdrType
 MAC header type of frame being transmitted.
 

Detailed Description

Actions and checks to perform upon the transmission of each frame.

Definition at line 127 of file wifi-retransmit-test.cc.

Constructor & Destructor Documentation

◆ Events()

WifiRetransmitTest::Events::Events ( WifiMacType type,
std::function< void(Ptr< const WifiPsdu >, const WifiTxVector &)> && f = {} )
inline

Constructor.

Parameters
typethe frame MAC header type
ffunction to perform actions and checks

Definition at line 135 of file wifi-retransmit-test.cc.

Member Data Documentation

◆ func

std::function<void(Ptr<const WifiPsdu>, const WifiTxVector&)> WifiRetransmitTest::Events::func

function to perform actions and checks

Definition at line 144 of file wifi-retransmit-test.cc.

◆ hdrType

WifiMacType WifiRetransmitTest::Events::hdrType

MAC header type of frame being transmitted.

Definition at line 142 of file wifi-retransmit-test.cc.


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