INET Framework for OMNeT++/OMNEST
inet::physicallayer::Ieee80211ConfigureRadioCommand Class Reference

Class generated from inet/physicallayer/wireless/ieee80211/packetlevel/Ieee80211ControlInfo.msg:19 by opp_msgtool. More...

#include <Ieee80211ControlInfo_m.h>

Inheritance diagram for inet::physicallayer::Ieee80211ConfigureRadioCommand:
inet::physicallayer::ConfigureRadioCommand

Public Member Functions

 Ieee80211ConfigureRadioCommand ()
 
 Ieee80211ConfigureRadioCommand (const Ieee80211ConfigureRadioCommand &other)
 
virtual ~Ieee80211ConfigureRadioCommand ()
 
Ieee80211ConfigureRadioCommandoperator= (const Ieee80211ConfigureRadioCommand &other)
 
virtual Ieee80211ConfigureRadioCommanddup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual const char * getOpMode () const
 
virtual void setOpMode (const char *opMode)
 
virtual const Ieee80211ModeSetgetModeSet () const
 
virtual void setModeSet (const Ieee80211ModeSet *modeSet)
 
virtual const IIeee80211ModegetMode () const
 
virtual void setMode (const IIeee80211Mode *mode)
 
virtual const IIeee80211BandgetBand () const
 
virtual IIeee80211BandgetBandForUpdate ()
 
virtual void setBand (IIeee80211Band *band)
 
virtual const Ieee80211ChannelgetChannel () const
 
virtual Ieee80211ChannelgetChannelForUpdate ()
 
virtual void setChannel (Ieee80211Channel *channel)
 
virtual int getChannelNumber () const
 
virtual void setChannelNumber (int channelNumber)
 
- Public Member Functions inherited from inet::physicallayer::ConfigureRadioCommand
 ConfigureRadioCommand ()
 
 ConfigureRadioCommand (const ConfigureRadioCommand &other)
 
virtual ~ConfigureRadioCommand ()
 
ConfigureRadioCommandoperator= (const ConfigureRadioCommand &other)
 
virtual int getRadioMode () const
 
virtual void setRadioMode (int radioMode)
 
virtual ::inet::W getPower () const
 
virtual void setPower (::inet::W power)
 
virtual ::inet::bps getBitrate () const
 
virtual void setBitrate (::inet::bps bitrate)
 
virtual const IModulationgetModulation () const
 
virtual IModulationgetModulationForUpdate ()
 
virtual void setModulation (IModulation *modulation)
 
virtual ::inet::Hz getCenterFrequency () const
 
virtual void setCenterFrequency (::inet::Hz centerFrequency)
 
virtual ::inet::Hz getBandwidth () const
 
virtual void setBandwidth (::inet::Hz bandwidth)
 

Protected Member Functions

bool operator== (const Ieee80211ConfigureRadioCommand &)=delete
 
- Protected Member Functions inherited from inet::physicallayer::ConfigureRadioCommand
bool operator== (const ConfigureRadioCommand &)=delete
 

Protected Attributes

::omnetpp::opp_string opMode
 
const Ieee80211ModeSetmodeSet = nullptr
 
const IIeee80211Modemode = nullptr
 
IIeee80211Bandband = nullptr
 
Ieee80211Channelchannel = nullptr
 
int channelNumber = -1
 
- Protected Attributes inherited from inet::physicallayer::ConfigureRadioCommand
int radioMode = -1
 
::inet::W power = W(NaN)
 
::inet::bps bitrate = bps(NaN)
 
IModulationmodulation = nullptr
 
::inet::Hz centerFrequency = Hz(NaN)
 
::inet::Hz bandwidth = Hz(NaN)
 

Private Member Functions

void copy (const Ieee80211ConfigureRadioCommand &other)
 

Detailed Description

Class generated from inet/physicallayer/wireless/ieee80211/packetlevel/Ieee80211ControlInfo.msg:19 by opp_msgtool.

//
// Control info attached to a configure command that is sent to the ~Radio.
//
class Ieee80211ConfigureRadioCommand extends ConfigureRadioCommand
{
    string opMode;                         // new default operation mode or "" if not set.
    const Ieee80211ModeSet *modeSet;       // new default mode set or nullptr if not set.
    const IIeee80211Mode *mode;            // new default transmission mode or nullptr if not set.
    IIeee80211Band *band;                  // new default band or nullptr if not set.
    Ieee80211Channel *channel;             // new default band and channel or nullptr if not set.
    int channelNumber = -1;                // new default channel number in the range [0, numChannels] or -1 if not set.
}

Constructor & Destructor Documentation

◆ Ieee80211ConfigureRadioCommand() [1/2]

inet::physicallayer::Ieee80211ConfigureRadioCommand::Ieee80211ConfigureRadioCommand ( )

◆ Ieee80211ConfigureRadioCommand() [2/2]

inet::physicallayer::Ieee80211ConfigureRadioCommand::Ieee80211ConfigureRadioCommand ( const Ieee80211ConfigureRadioCommand other)

◆ ~Ieee80211ConfigureRadioCommand()

virtual inet::physicallayer::Ieee80211ConfigureRadioCommand::~Ieee80211ConfigureRadioCommand ( )
virtual

Member Function Documentation

◆ copy()

void inet::physicallayer::Ieee80211ConfigureRadioCommand::copy ( const Ieee80211ConfigureRadioCommand other)
private

◆ dup()

virtual Ieee80211ConfigureRadioCommand* inet::physicallayer::Ieee80211ConfigureRadioCommand::dup ( ) const
inlineoverridevirtual

Reimplemented from inet::physicallayer::ConfigureRadioCommand.

91 {return new Ieee80211ConfigureRadioCommand(*this);}

◆ getBand()

virtual const IIeee80211Band* inet::physicallayer::Ieee80211ConfigureRadioCommand::getBand ( ) const
virtual

◆ getBandForUpdate()

virtual IIeee80211Band* inet::physicallayer::Ieee80211ConfigureRadioCommand::getBandForUpdate ( )
inlinevirtual
105 { return const_cast<IIeee80211Band *>(const_cast<Ieee80211ConfigureRadioCommand*>(this)->getBand());}

◆ getChannel()

virtual const Ieee80211Channel* inet::physicallayer::Ieee80211ConfigureRadioCommand::getChannel ( ) const
virtual

◆ getChannelForUpdate()

virtual Ieee80211Channel* inet::physicallayer::Ieee80211ConfigureRadioCommand::getChannelForUpdate ( )
inlinevirtual
109 { return const_cast<Ieee80211Channel *>(const_cast<Ieee80211ConfigureRadioCommand*>(this)->getChannel());}

◆ getChannelNumber()

virtual int inet::physicallayer::Ieee80211ConfigureRadioCommand::getChannelNumber ( ) const
virtual

◆ getMode()

virtual const IIeee80211Mode* inet::physicallayer::Ieee80211ConfigureRadioCommand::getMode ( ) const
virtual

◆ getModeSet()

virtual const Ieee80211ModeSet* inet::physicallayer::Ieee80211ConfigureRadioCommand::getModeSet ( ) const
virtual

◆ getOpMode()

virtual const char* inet::physicallayer::Ieee80211ConfigureRadioCommand::getOpMode ( ) const
virtual

◆ operator=()

Ieee80211ConfigureRadioCommand& inet::physicallayer::Ieee80211ConfigureRadioCommand::operator= ( const Ieee80211ConfigureRadioCommand other)

◆ operator==()

bool inet::physicallayer::Ieee80211ConfigureRadioCommand::operator== ( const Ieee80211ConfigureRadioCommand )
protecteddelete

◆ parsimPack()

virtual void inet::physicallayer::Ieee80211ConfigureRadioCommand::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

◆ parsimUnpack()

virtual void inet::physicallayer::Ieee80211ConfigureRadioCommand::parsimUnpack ( omnetpp::cCommBuffer *  b)
overridevirtual

◆ setBand()

virtual void inet::physicallayer::Ieee80211ConfigureRadioCommand::setBand ( IIeee80211Band band)
virtual

◆ setChannel()

virtual void inet::physicallayer::Ieee80211ConfigureRadioCommand::setChannel ( Ieee80211Channel channel)
virtual

◆ setChannelNumber()

virtual void inet::physicallayer::Ieee80211ConfigureRadioCommand::setChannelNumber ( int  channelNumber)
virtual

◆ setMode()

virtual void inet::physicallayer::Ieee80211ConfigureRadioCommand::setMode ( const IIeee80211Mode mode)
virtual

◆ setModeSet()

virtual void inet::physicallayer::Ieee80211ConfigureRadioCommand::setModeSet ( const Ieee80211ModeSet modeSet)
virtual

◆ setOpMode()

virtual void inet::physicallayer::Ieee80211ConfigureRadioCommand::setOpMode ( const char *  opMode)
virtual

Member Data Documentation

◆ band

IIeee80211Band* inet::physicallayer::Ieee80211ConfigureRadioCommand::band = nullptr
protected

◆ channel

Ieee80211Channel* inet::physicallayer::Ieee80211ConfigureRadioCommand::channel = nullptr
protected

◆ channelNumber

int inet::physicallayer::Ieee80211ConfigureRadioCommand::channelNumber = -1
protected

◆ mode

const IIeee80211Mode* inet::physicallayer::Ieee80211ConfigureRadioCommand::mode = nullptr
protected

◆ modeSet

const Ieee80211ModeSet* inet::physicallayer::Ieee80211ConfigureRadioCommand::modeSet = nullptr
protected

◆ opMode

::omnetpp::opp_string inet::physicallayer::Ieee80211ConfigureRadioCommand::opMode
protected

The documentation for this class was generated from the following file:
inet::physicallayer::Ieee80211ConfigureRadioCommand::Ieee80211ConfigureRadioCommand
Ieee80211ConfigureRadioCommand()
inet::physicallayer::Ieee80211ConfigureRadioCommand::getBand
virtual const IIeee80211Band * getBand() const
inet::physicallayer::Ieee80211ConfigureRadioCommand::getChannel
virtual const Ieee80211Channel * getChannel() const