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

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

#include <RadioControlInfo_m.h>

Inheritance diagram for inet::physicallayer::TransmissionRequest:
inet::physicallayer::Ieee80211TransmissionRequest

Public Member Functions

 TransmissionRequest ()
 
 TransmissionRequest (const TransmissionRequest &other)
 
virtual ~TransmissionRequest ()
 
TransmissionRequestoperator= (const TransmissionRequest &other)
 
virtual TransmissionRequestdup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
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 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 TransmissionRequest &)
 

Protected Attributes

W power
 
bps bitrate
 
Hz carrierFrequency
 
Hz bandwidth
 

Private Member Functions

void copy (const TransmissionRequest &other)
 

Detailed Description

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

//
// Control info attached to a mac frame that is sent down to the ~Radio.
//
class TransmissionRequest
{
    W power = W(NaN);              // override default transmission power in the range (0, +infinity) or NaN if not set.
    bps bitrate = bps(NaN);        // override default bitrate in the range (0, +infinity) or NaN if not set.
    Hz carrierFrequency = Hz(NaN); // override default carrier frequency in the range (0, +infinity) or NaN if not set.
    Hz bandwidth = Hz(NaN);        // override default bandwidth in the rage (0, +infinity) or NaN if not set.
}

Constructor & Destructor Documentation

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

Member Function Documentation

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

Referenced by getBitrate().

virtual Hz& inet::physicallayer::TransmissionRequest::getCarrierFrequency ( )
virtual
virtual const Hz& inet::physicallayer::TransmissionRequest::getCarrierFrequency ( ) const
inlinevirtual
virtual const W& inet::physicallayer::TransmissionRequest::getPower ( ) const
inlinevirtual

Referenced by getPower().

TransmissionRequest& inet::physicallayer::TransmissionRequest::operator= ( const TransmissionRequest other)
bool inet::physicallayer::TransmissionRequest::operator== ( const TransmissionRequest )
protected
virtual void inet::physicallayer::TransmissionRequest::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual
virtual void inet::physicallayer::TransmissionRequest::parsimUnpack ( omnetpp::cCommBuffer *  b)
overridevirtual
virtual void inet::physicallayer::TransmissionRequest::setBandwidth ( const Hz bandwidth)
virtual
virtual void inet::physicallayer::TransmissionRequest::setBitrate ( const bps bitrate)
virtual
virtual void inet::physicallayer::TransmissionRequest::setCarrierFrequency ( const Hz carrierFrequency)
virtual
virtual void inet::physicallayer::TransmissionRequest::setPower ( const W power)
virtual

Member Data Documentation

Hz inet::physicallayer::TransmissionRequest::bandwidth
protected
bps inet::physicallayer::TransmissionRequest::bitrate
protected
Hz inet::physicallayer::TransmissionRequest::carrierFrequency
protected
W inet::physicallayer::TransmissionRequest::power
protected

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