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

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

Collaboration diagram for WifiPsModeAttributesTest::Events:

Public Member Functions

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

Public Attributes

std::function< void(Ptr< const WifiPsdu >, const WifiTxVector &, linkId_t)> 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 2562 of file power-save-test.cc.

Constructor & Destructor Documentation

◆ Events()

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

Constructor.

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

Definition at line 2570 of file power-save-test.cc.

Member Data Documentation

◆ func

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

function to perform actions and checks

Definition at line 2579 of file power-save-test.cc.

◆ hdrType

WifiMacType WifiPsModeAttributesTest::Events::hdrType

MAC header type of frame being transmitted.

Definition at line 2577 of file power-save-test.cc.


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