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

Class generated from inet/physicallayer/contract/packetlevel/RadioControlInfo.msg:45 by nedtool. More...

#include <RadioControlInfo_m.h>

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

Public Member Functions

 ConfigureRadioCommand ()
 
 ConfigureRadioCommand (const ConfigureRadioCommand &other)
 
virtual ~ConfigureRadioCommand ()
 
ConfigureRadioCommandoperator= (const ConfigureRadioCommand &other)
 
virtual ConfigureRadioCommanddup () 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 WgetPower ()
 
virtual const WgetPower () const
 
virtual void setPower (const W &power)
 
virtual bpsgetBitrate ()
 
virtual const bpsgetBitrate () const
 
virtual void setBitrate (const bps &bitrate)
 
virtual IModulationPtrgetModulation ()
 
virtual const IModulationPtrgetModulation () const
 
virtual void setModulation (const IModulationPtr &modulation)
 
virtual HzgetCarrierFrequency ()
 
virtual const HzgetCarrierFrequency () const
 
virtual void setCarrierFrequency (const Hz &carrierFrequency)
 
virtual HzgetBandwidth ()
 
virtual const HzgetBandwidth () 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)
 

Detailed Description

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.
}

Constructor & Destructor Documentation

inet::physicallayer::ConfigureRadioCommand::ConfigureRadioCommand ( )
inet::physicallayer::ConfigureRadioCommand::ConfigureRadioCommand ( const ConfigureRadioCommand other)
virtual inet::physicallayer::ConfigureRadioCommand::~ConfigureRadioCommand ( )
virtual

Member Function Documentation

void inet::physicallayer::ConfigureRadioCommand::copy ( const ConfigureRadioCommand other)
private
virtual ConfigureRadioCommand* inet::physicallayer::ConfigureRadioCommand::dup ( ) const
inlineoverridevirtual
virtual Hz& inet::physicallayer::ConfigureRadioCommand::getBandwidth ( )
virtual
virtual const Hz& inet::physicallayer::ConfigureRadioCommand::getBandwidth ( ) const
inlinevirtual
virtual bps& inet::physicallayer::ConfigureRadioCommand::getBitrate ( )
virtual
virtual const bps& inet::physicallayer::ConfigureRadioCommand::getBitrate ( ) const
inlinevirtual
virtual Hz& inet::physicallayer::ConfigureRadioCommand::getCarrierFrequency ( )
virtual
virtual const Hz& inet::physicallayer::ConfigureRadioCommand::getCarrierFrequency ( ) const
inlinevirtual
virtual IModulationPtr& inet::physicallayer::ConfigureRadioCommand::getModulation ( )
virtual
virtual const IModulationPtr& inet::physicallayer::ConfigureRadioCommand::getModulation ( ) const
inlinevirtual

Referenced by getModulation().

112 {return const_cast<ConfigureRadioCommand*>(this)->getModulation();}
virtual IModulationPtr & getModulation()
virtual W& inet::physicallayer::ConfigureRadioCommand::getPower ( )
virtual
virtual const W& inet::physicallayer::ConfigureRadioCommand::getPower ( ) const
inlinevirtual
virtual int inet::physicallayer::ConfigureRadioCommand::getRadioMode ( ) const
virtual
ConfigureRadioCommand& inet::physicallayer::ConfigureRadioCommand::operator= ( const ConfigureRadioCommand other)
bool inet::physicallayer::ConfigureRadioCommand::operator== ( const ConfigureRadioCommand )
protected
virtual void inet::physicallayer::ConfigureRadioCommand::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual
virtual void inet::physicallayer::ConfigureRadioCommand::parsimUnpack ( omnetpp::cCommBuffer *  b)
overridevirtual
virtual void inet::physicallayer::ConfigureRadioCommand::setBandwidth ( const Hz bandwidth)
virtual
virtual void inet::physicallayer::ConfigureRadioCommand::setBitrate ( const bps bitrate)
virtual
virtual void inet::physicallayer::ConfigureRadioCommand::setCarrierFrequency ( const Hz carrierFrequency)
virtual
virtual void inet::physicallayer::ConfigureRadioCommand::setModulation ( const IModulationPtr modulation)
virtual
virtual void inet::physicallayer::ConfigureRadioCommand::setPower ( const W power)
virtual
virtual void inet::physicallayer::ConfigureRadioCommand::setRadioMode ( int  radioMode)
virtual

Member Data Documentation

Hz inet::physicallayer::ConfigureRadioCommand::bandwidth
protected
bps inet::physicallayer::ConfigureRadioCommand::bitrate
protected
Hz inet::physicallayer::ConfigureRadioCommand::carrierFrequency
protected
IModulationPtr inet::physicallayer::ConfigureRadioCommand::modulation
protected
W inet::physicallayer::ConfigureRadioCommand::power
protected
int inet::physicallayer::ConfigureRadioCommand::radioMode
protected

The documentation for this class was generated from the following file: