Struct providing a function call operator to compare two ApInfo objects. More...
Public Member Functions | |
ApInfoCompare (const WifiAssocManager &manager) | |
Constructor. More... | |
bool | operator() (const StaWifiMac::ApInfo &lhs, const StaWifiMac::ApInfo &rhs) const |
Function call operator. More... | |
Private Attributes | |
const WifiAssocManager & | m_manager |
Association Manager. More... | |
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 47 of file wifi-assoc-manager.h.
ns3::WifiAssocManager::ApInfoCompare::ApInfoCompare | ( | const WifiAssocManager & | manager | ) |
Constructor.
manager | a pointer to the Association Manager |
Definition at line 39 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 45 of file wifi-assoc-manager.cc.
References ns3::StaWifiMac::ApInfo::m_bssid, and NS_ASSERT_MSG.
|
private |
Association Manager.
Definition at line 67 of file wifi-assoc-manager.h.