A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::EmlsrSwitchMainPhyBackTrace Struct Reference

Struct to trace that main PHY switched to leave a link on which an aux PHY was expected to gain a TXOP but the main PHY did not manage to gain a TXOP in the pre-configured amount of time. More...

#include "advanced-emlsr-manager.h"

+ Inheritance diagram for ns3::EmlsrSwitchMainPhyBackTrace:
+ Collaboration diagram for ns3::EmlsrSwitchMainPhyBackTrace:

Public Member Functions

 EmlsrSwitchMainPhyBackTrace (bool nothing)
 Constructor provided because this struct is not an aggregate (it has a base struct), hence we cannot use designated initializers.
 
- Public Member Functions inherited from ns3::EmlsrMainPhySwitchTraceImpl< EmlsrSwitchMainPhyBackTrace >
std::shared_ptr< EmlsrMainPhySwitchTraceClone () const override
 
std::string_view GetName () const override
 
- Public Member Functions inherited from ns3::EmlsrMainPhySwitchTrace
virtual ~EmlsrMainPhySwitchTrace ()=default
 

Public Attributes

bool nothingToTx
 if true, the main PHY managed to gain a TXOP but had nothing to transmit
 
- Public Attributes inherited from ns3::EmlsrMainPhySwitchTrace
std::optional< uint8_t > fromLinkId
 ID of the link the main PHY is moving from (if any)
 
uint8_t toLinkId {WIFI_LINKID_UNDEFINED}
 ID of the link the main PHY is moving to.
 

Static Public Attributes

static constexpr std::string_view m_name = "TxopNotGainedOnAuxPhyLink"
 trace name
 

Detailed Description

Struct to trace that main PHY switched to leave a link on which an aux PHY was expected to gain a TXOP but the main PHY did not manage to gain a TXOP in the pre-configured amount of time.

Definition at line 146 of file advanced-emlsr-manager.h.

Constructor & Destructor Documentation

◆ EmlsrSwitchMainPhyBackTrace()

ns3::EmlsrSwitchMainPhyBackTrace::EmlsrSwitchMainPhyBackTrace ( bool nothing)
inline

Constructor provided because this struct is not an aggregate (it has a base struct), hence we cannot use designated initializers.

Parameters
nothingthe value for the nothingToTx field

Definition at line 158 of file advanced-emlsr-manager.h.

Member Data Documentation

◆ m_name

std::string_view ns3::EmlsrSwitchMainPhyBackTrace::m_name = "TxopNotGainedOnAuxPhyLink"
staticconstexpr

trace name

Definition at line 148 of file advanced-emlsr-manager.h.

◆ nothingToTx

bool ns3::EmlsrSwitchMainPhyBackTrace::nothingToTx

if true, the main PHY managed to gain a TXOP but had nothing to transmit

Definition at line 150 of file advanced-emlsr-manager.h.


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