Struct providing a function call operator to compare two ApInfo objects. More...
Public Member Functions | |
ApInfoCompare (const WifiAssocManager &manager) | |
Constructor. | |
bool | operator() (const StaWifiMac::ApInfo &lhs, const StaWifiMac::ApInfo &rhs) const |
Function call operator. | |
Private Attributes | |
const WifiAssocManager & | m_manager |
Association Manager. | |
Struct providing a function call operator to compare two ApInfo objects.
This struct is used as the Compare template type parameter of the set of ApInfo objects maintained by the Association Manager.
Definition at line 36 of file wifi-assoc-manager.h.
ns3::WifiAssocManager::ApInfoCompare::ApInfoCompare | ( | const WifiAssocManager & | manager | ) |
Constructor.
manager | a pointer to the Association Manager |
Definition at line 28 of file wifi-assoc-manager.cc.
bool ns3::WifiAssocManager::ApInfoCompare::operator() | ( | const StaWifiMac::ApInfo & | lhs, |
const StaWifiMac::ApInfo & | rhs ) const |
Function call operator.
Calls the Compare method of the Association Manager.
lhs | left hand side ApInfo object |
rhs | right hand side ApInfo object |
Definition at line 34 of file wifi-assoc-manager.cc.
References ns3::StaWifiMac::ApInfo::m_bssid, and NS_ASSERT_MSG.
|
private |
Association Manager.
Definition at line 56 of file wifi-assoc-manager.h.