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

Comparison functor used to sort the segments by increasing frequencies. More...

#include "wifi-phy-operating-channel.h"

Public Member Functions

bool operator() (const ConstIterator &a, const ConstIterator &b) const
 Functional operator for sorting the frequency segments.
 

Detailed Description

Comparison functor used to sort the segments by increasing frequencies.

Definition at line 68 of file wifi-phy-operating-channel.h.

Member Function Documentation

◆ operator()()

bool ns3::WifiPhyOperatingChannel::Compare::operator() ( const ConstIterator & a,
const ConstIterator & b ) const

Functional operator for sorting the frequency segments.

Parameters
aconst iterator pointing to the frequency channel for the first segment
bconst iterator pointing to the frequency channel for the second segment
Returns
true if the center frequency of the first segment is lower than the center frequency of the second segment

Definition at line 272 of file wifi-phy-operating-channel.cc.


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