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

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

Collaboration diagram for WifiPowerSaveModeTest::Events:

Public Member Functions

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

Public Attributes

std::function< void(Ptr< const WifiPsdu >, const Time &, uint8_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 571 of file power-save-test.cc.

Constructor & Destructor Documentation

◆ Events()

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

Constructor.

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

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

Member Data Documentation

◆ func

std::function<void(Ptr<const WifiPsdu>, const Time&, uint8_t)> WifiPowerSaveModeTest::Events::func

function to perform actions and checks

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

◆ hdrType

WifiMacType WifiPowerSaveModeTest::Events::hdrType

MAC header type of frame being transmitted.

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


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