Emulated wireless interface base-class.
More...
#include <senf/Ext/NetEmu/EmulatedWirelessInterface.hh>
Emulated wireless interface base-class.
This base class provides functionality to implement emulated wireless interfaces. It extends EmulatedInterface with public members to register frequencies and parameters.
In addition to this class, you need to use the EmulatedWirelessReceiver and/or EmulatedWirelessTransmitter base-classes.
Definition at line 302 of file EmulatedWirelessInterface.hh.
◆ DistanceCallback
◆ Ranges
◆ ~EmulatedWirelessInterface()
senf::emu::EmulatedWirelessInterface::~EmulatedWirelessInterface |
( |
| ) |
|
◆ EmulatedWirelessInterface()
senf::emu::EmulatedWirelessInterface::EmulatedWirelessInterface |
( |
| ) |
|
|
protected |
◆ distanceCallback()
void senf::emu::EmulatedWirelessInterface::distanceCallback |
( |
DistanceCallback |
cb | ) |
|
◆ emulatedBandwidth()
unsigned senf::emu::EmulatedWirelessInterface::emulatedBandwidth |
( |
| ) |
const |
|
protected |
Get current emulated bandwidth.
◆ emulatedCoverageRange()
void senf::emu::EmulatedWirelessInterface::emulatedCoverageRange |
( |
unsigned |
distance | ) |
|
|
protected |
◆ emulatedFrequency() [1/2]
unsigned senf::emu::EmulatedWirelessInterface::emulatedFrequency |
( |
| ) |
const |
|
protected |
Get current emulated frequency.
◆ emulatedFrequency() [2/2]
void senf::emu::EmulatedWirelessInterface::emulatedFrequency |
( |
unsigned |
frequency, |
|
|
unsigned |
bandwidth |
|
) |
| |
|
protected |
Set channel frequency/bandwidth.
Must be called by interface implementations v_frequency()
member
Definition at line 548 of file EmulatedWirelessInterface.cc.
◆ init()
void senf::emu::EmulatedWirelessInterface::init |
( |
| ) |
|
|
protected |
◆ registerFrequency() [1/3]
void senf::emu::EmulatedWirelessInterface::registerFrequency |
( |
unsigned |
frequency, |
|
|
unsigned |
bandwidth |
|
) |
| |
Register single frequency/bandwidth combination.
◆ registerFrequency() [2/3]
void senf::emu::EmulatedWirelessInterface::registerFrequency |
( |
unsigned |
frequencyLower, |
|
|
unsigned |
frequencyUpper, |
|
|
unsigned |
bandwidthLower, |
|
|
unsigned |
bandwidthUpper |
|
) |
| |
Register single frequency/bandwidth range.
◆ registerFrequency() [3/3]
void senf::emu::EmulatedWirelessInterface::registerFrequency |
( |
Ranges const & |
frequencies, |
|
|
Ranges const & |
bandwidths |
|
) |
| |
register frequency/bandwidth ranges
Registers all possible combinations of each frequency or frequency range from frequencies with each bandwidth or bandwidth range from bandwidths. This command is normally called from the console.
Definition at line 509 of file EmulatedWirelessInterface.cc.
The documentation for this class was generated from the following files: