INET Framework for OMNeT++/OMNEST
|
Class generated from inet/physicallayer/contract/packetlevel/RadioControlInfo.msg:45
by nedtool.
More...
#include <RadioControlInfo_m.h>
Public Member Functions | |
ConfigureRadioCommand () | |
ConfigureRadioCommand (const ConfigureRadioCommand &other) | |
virtual | ~ConfigureRadioCommand () |
ConfigureRadioCommand & | operator= (const ConfigureRadioCommand &other) |
virtual ConfigureRadioCommand * | dup () const override |
virtual void | parsimPack (omnetpp::cCommBuffer *b) const override |
virtual void | parsimUnpack (omnetpp::cCommBuffer *b) override |
virtual int | getRadioMode () const |
virtual void | setRadioMode (int radioMode) |
virtual W & | getPower () |
virtual const W & | getPower () const |
virtual void | setPower (const W &power) |
virtual bps & | getBitrate () |
virtual const bps & | getBitrate () const |
virtual void | setBitrate (const bps &bitrate) |
virtual IModulationPtr & | getModulation () |
virtual const IModulationPtr & | getModulation () const |
virtual void | setModulation (const IModulationPtr &modulation) |
virtual Hz & | getCarrierFrequency () |
virtual const Hz & | getCarrierFrequency () const |
virtual void | setCarrierFrequency (const Hz &carrierFrequency) |
virtual Hz & | getBandwidth () |
virtual const Hz & | getBandwidth () const |
virtual void | setBandwidth (const Hz &bandwidth) |
Protected Member Functions | |
bool | operator== (const ConfigureRadioCommand &) |
Protected Attributes | |
int | radioMode |
W | power |
bps | bitrate |
IModulationPtr | modulation |
Hz | carrierFrequency |
Hz | bandwidth |
Private Member Functions | |
void | copy (const ConfigureRadioCommand &other) |
Class generated from inet/physicallayer/contract/packetlevel/RadioControlInfo.msg:45
by nedtool.
// // Control info attached to a configure command that is sent to the ~Radio. // class ConfigureRadioCommand { int radioMode = -1; // new radio mode or -1 if not set. W power = W(NaN); // new default transmission power in the range (0, +infinity) or NaN if not set. bps bitrate = bps(NaN); // new default bitrate in the range (0, +infinity) or NaN if not set. IModulationPtr modulation = nullptr; // new default modulation or nullptr if not set. Hz carrierFrequency = Hz(NaN); // new default carrier frequency in the range (0, +infinity) or NaN if not set. Hz bandwidth = Hz(NaN); // new default bandwidth in the rage (0, +infinity) or NaN if not set. }
inet::physicallayer::ConfigureRadioCommand::ConfigureRadioCommand | ( | ) |
inet::physicallayer::ConfigureRadioCommand::ConfigureRadioCommand | ( | const ConfigureRadioCommand & | other | ) |
|
virtual |
|
private |
|
inlineoverridevirtual |
Reimplemented in inet::physicallayer::Ieee80211ConfigureRadioCommand.
|
virtual |
|
inlinevirtual |
Referenced by getBandwidth().
|
virtual |
|
inlinevirtual |
Referenced by getBitrate().
|
virtual |
|
inlinevirtual |
Referenced by getCarrierFrequency().
|
virtual |
|
inlinevirtual |
Referenced by getModulation().
|
virtual |
Referenced by inet::physicallayer::FlatRadioBase::handleUpperCommand().
|
inlinevirtual |
Referenced by getPower().
|
virtual |
Referenced by inet::physicallayer::Radio::handleUpperCommand().
ConfigureRadioCommand& inet::physicallayer::ConfigureRadioCommand::operator= | ( | const ConfigureRadioCommand & | other | ) |
|
protected |
|
overridevirtual |
Reimplemented in inet::physicallayer::Ieee80211ConfigureRadioCommand.
Referenced by inet::physicallayer::doParsimPacking().
|
overridevirtual |
Reimplemented in inet::physicallayer::Ieee80211ConfigureRadioCommand.
Referenced by inet::physicallayer::doParsimUnpacking().
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Referenced by inet::ieee80211::Ieee80211Mac::configureRadioMode().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |