senf::emu::RegulatoryDomain Struct Reference

#include <senf/Ext/NetEmu/WLAN/Regulatory.hh>

Inheritance diagram for senf::emu::RegulatoryDomain:

Public Types

enum  DFSRegion : std::uint8_t { DFSRegion::Unset = NL80211_DFS_UNSET, DFSRegion::FCC = NL80211_DFS_FCC, DFSRegion::ETSI = NL80211_DFS_ETSI, DFSRegion::JP = NL80211_DFS_JP }
 

Public Member Functions

 RegulatoryDomain ()
 
 operator bool () const
 
bool operator< (RegulatoryDomain const &other) const
 
bool operator== (RegulatoryDomain const &other) const
 
bool isEqualKernel (RegulatoryDomain const &other) const
 

Public Attributes

std::string alpha2Country
 
DFSRegion dfsRegion
 
std::set< RegulatoryRulerules
 

Detailed Description

Definition at line 119 of file Regulatory.hh.

Member Enumeration Documentation

◆ DFSRegion

enum senf::emu::RegulatoryDomain::DFSRegion : std::uint8_t
strong
Enumerator
Unset 
FCC 
ETSI 
JP 

Definition at line 123 of file Regulatory.hh.

Constructor & Destructor Documentation

◆ RegulatoryDomain()

senf::emu::RegulatoryDomain::RegulatoryDomain ( )
inline

Definition at line 134 of file Regulatory.hh.

Member Function Documentation

◆ isEqualKernel()

bool senf::emu::RegulatoryDomain::isEqualKernel ( RegulatoryDomain const &  other) const

Definition at line 241 of file Regulatory.cc.

◆ operator bool()

senf::emu::RegulatoryDomain::operator bool ( ) const
explicit

Definition at line 187 of file Regulatory.cc.

◆ operator<()

bool senf::emu::RegulatoryDomain::operator< ( RegulatoryDomain const &  other) const

Definition at line 210 of file Regulatory.cc.

◆ operator==()

bool senf::emu::RegulatoryDomain::operator== ( RegulatoryDomain const &  other) const

Definition at line 193 of file Regulatory.cc.

Member Data Documentation

◆ alpha2Country

std::string senf::emu::RegulatoryDomain::alpha2Country

Definition at line 130 of file Regulatory.hh.

◆ dfsRegion

DFSRegion senf::emu::RegulatoryDomain::dfsRegion

Definition at line 131 of file Regulatory.hh.

◆ rules

std::set<RegulatoryRule> senf::emu::RegulatoryDomain::rules

Definition at line 132 of file Regulatory.hh.


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