#include <Ieee80211Band.h>
inet::physicallayer::Ieee80211EnumeratedBand::Ieee80211EnumeratedBand |
( |
const char * |
name, |
|
|
const std::vector< Hz > |
centers |
|
) |
| |
std::vector< Hz > centers
Definition: Ieee80211Band.h:50
Ieee80211BandBase(const char *name)
Definition: Ieee80211Band.cc:24
const char * name
Definition: Ieee80211Band.h:39
Hz inet::physicallayer::Ieee80211EnumeratedBand::getCenterFrequency |
( |
int |
channelNumber | ) |
const |
|
overridevirtual |
Implements inet::physicallayer::IIeee80211Band.
37 if (channelNumber < 0 || channelNumber >= (
int)
centers.size())
38 throw cRuntimeError(
"Invalid channel number: %d", channelNumber);
std::vector< Hz > centers
Definition: Ieee80211Band.h:50
virtual int inet::physicallayer::Ieee80211EnumeratedBand::getNumChannels |
( |
| ) |
const |
|
inlineoverridevirtual |
std::vector<Hz> inet::physicallayer::Ieee80211EnumeratedBand::centers |
|
protected |
The documentation for this class was generated from the following files: