A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::EmlsrMainPhySwitchTraceImpl< T > Struct Template Reference

Implementation for the EMLSR Main PHY switch trace base struct. More...

#include "emlsr-manager.h"

+ Inheritance diagram for ns3::EmlsrMainPhySwitchTraceImpl< T >:
+ Collaboration diagram for ns3::EmlsrMainPhySwitchTraceImpl< T >:

Public Member Functions

std::shared_ptr< EmlsrMainPhySwitchTraceClone () const override
 
std::string_view GetName () const override
 
- Public Member Functions inherited from ns3::EmlsrMainPhySwitchTrace
virtual ~EmlsrMainPhySwitchTrace ()=default
 

Additional Inherited Members

- 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.
 

Detailed Description

template<class T>
struct ns3::EmlsrMainPhySwitchTraceImpl< T >

Implementation for the EMLSR Main PHY switch trace base struct.

Child structs are inherited from this implementation according to the CRTP idiom and must define a static string_view member containing the name of the child.

Definition at line 58 of file emlsr-manager.h.

Member Function Documentation

◆ Clone()

template<class T >
std::shared_ptr< EmlsrMainPhySwitchTrace > ns3::EmlsrMainPhySwitchTraceImpl< T >::Clone ( ) const
inlineoverridevirtual

Returns
a pointer to the clone of this object

Implements ns3::EmlsrMainPhySwitchTrace.

Definition at line 67 of file emlsr-manager.h.

◆ GetName()

template<class T >
std::string_view ns3::EmlsrMainPhySwitchTraceImpl< T >::GetName ( ) const
inlineoverridevirtual

Returns
the name of this instance

Implements ns3::EmlsrMainPhySwitchTrace.

Definition at line 61 of file emlsr-manager.h.


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