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

#include <Ieee80211OfdmMode.h>

Inheritance diagram for inet::physicallayer::Ieee80211OfdmSignalMode:
inet::physicallayer::IIeee80211HeaderMode inet::physicallayer::Ieee80211OfdmModeBase inet::IPrintableObject inet::physicallayer::Ieee80211OfdmTimingRelatedParametersBase

Public Member Functions

 Ieee80211OfdmSignalMode (const Ieee80211OfdmCode *code, const Ieee80211OfdmModulation *modulation, Hz channelSpacing, Hz bandwidth, unsigned int rate)
 
virtual ~Ieee80211OfdmSignalMode ()
 
virtual std::ostream & printToStream (std::ostream &stream, int level, int evFlags=0) const override
 Prints this object to the provided output stream. More...
 
unsigned int getRate () const
 
b getRateFieldLength () const
 
b getReservedFieldLength () const
 
b getLengthFieldLength () const
 
b getParityFieldLength () const
 
b getTailFieldLength () const
 
b getServiceFieldLength () const
 
virtual b getLength () const override
 
virtual const simtime_t getDuration () const override
 
const Ieee80211OfdmCodegetCode () const
 
const Ieee80211OfdmModulationgetModulation () const override
 
virtual bps getGrossBitrate () const override
 
virtual bps getNetBitrate () const override
 
virtual Ptr< Ieee80211PhyHeadercreateHeader () const override
 
- Public Member Functions inherited from inet::IPrintableObject
virtual ~IPrintableObject ()
 
virtual std::string printToString () const
 
virtual std::string printToString (int level, int evFlags=0) const
 
virtual std::string getInfoStringRepresentation (int evFlags=0) const
 
virtual std::string getDetailStringRepresentation (int evFlags=0) const
 
virtual std::string getDebugStringRepresentation (int evFlags=0) const
 
virtual std::string getTraceStringRepresentation (int evFlags=0) const
 
virtual std::string getCompleteStringRepresentation (int evFlags=0) const
 
- Public Member Functions inherited from inet::physicallayer::Ieee80211OfdmModeBase
 Ieee80211OfdmModeBase (const Ieee80211OfdmModulation *modulation, const Ieee80211OfdmCode *code, Hz channelSpacing, Hz bandwidth)
 
virtual ~Ieee80211OfdmModeBase ()
 
int getNumberOfDataSubcarriers () const
 
int getNumberOfPilotSubcarriers () const
 
int getNumberOfTotalSubcarriers () const
 
virtual Hz getBandwidth () const
 

Protected Attributes

unsigned int rate
 
- Protected Attributes inherited from inet::physicallayer::Ieee80211OfdmModeBase
const Ieee80211OfdmModulationmodulation
 
const Ieee80211OfdmCodecode
 
const Hz bandwidth
 
bps netBitrate
 
bps grossBitrate
 

Additional Inherited Members

- Public Types inherited from inet::IPrintableObject
enum  PrintLevel {
  PRINT_LEVEL_TRACE, PRINT_LEVEL_DEBUG, PRINT_LEVEL_DETAIL, PRINT_LEVEL_INFO,
  PRINT_LEVEL_COMPLETE = INT_MIN
}
 
enum  PrintFlag { PRINT_FLAG_FORMATTED = (1 << 0), PRINT_FLAG_MULTILINE = (1 << 1) }
 
- Protected Member Functions inherited from inet::physicallayer::Ieee80211OfdmModeBase
bps computeGrossBitrate (const Ieee80211OfdmModulation *modulation) const
 
bps computeNetBitrate (bps grossBitrate, const Ieee80211OfdmCode *code) const
 

Constructor & Destructor Documentation

◆ Ieee80211OfdmSignalMode()

inet::physicallayer::Ieee80211OfdmSignalMode::Ieee80211OfdmSignalMode ( const Ieee80211OfdmCode code,
const Ieee80211OfdmModulation modulation,
Hz  channelSpacing,
Hz  bandwidth,
unsigned int  rate 
)

◆ ~Ieee80211OfdmSignalMode()

virtual inet::physicallayer::Ieee80211OfdmSignalMode::~Ieee80211OfdmSignalMode ( )
inlinevirtual
83 {}

Member Function Documentation

◆ createHeader()

virtual Ptr<Ieee80211PhyHeader> inet::physicallayer::Ieee80211OfdmSignalMode::createHeader ( ) const
inlineoverridevirtual

Implements inet::physicallayer::IIeee80211HeaderMode.

104 { return makeShared<Ieee80211OfdmPhyHeader>(); }

◆ getCode()

const Ieee80211OfdmCode* inet::physicallayer::Ieee80211OfdmSignalMode::getCode ( ) const
inline

◆ getDuration()

◆ getGrossBitrate()

virtual bps inet::physicallayer::Ieee80211OfdmSignalMode::getGrossBitrate ( ) const
inlineoverridevirtual

◆ getLength()

virtual b inet::physicallayer::Ieee80211OfdmSignalMode::getLength ( ) const
inlineoverridevirtual

◆ getLengthFieldLength()

b inet::physicallayer::Ieee80211OfdmSignalMode::getLengthFieldLength ( ) const
inline
90 { return b(12); }

◆ getModulation()

◆ getNetBitrate()

virtual bps inet::physicallayer::Ieee80211OfdmSignalMode::getNetBitrate ( ) const
inlineoverridevirtual

◆ getParityFieldLength()

b inet::physicallayer::Ieee80211OfdmSignalMode::getParityFieldLength ( ) const
inline
91 { return b(1); }

◆ getRate()

unsigned int inet::physicallayer::Ieee80211OfdmSignalMode::getRate ( ) const
inline
87 { return rate; }

◆ getRateFieldLength()

b inet::physicallayer::Ieee80211OfdmSignalMode::getRateFieldLength ( ) const
inline
88 { return b(4); }

◆ getReservedFieldLength()

b inet::physicallayer::Ieee80211OfdmSignalMode::getReservedFieldLength ( ) const
inline
89 { return b(1); }

◆ getServiceFieldLength()

b inet::physicallayer::Ieee80211OfdmSignalMode::getServiceFieldLength ( ) const
inline
93 { return b(16); }

◆ getTailFieldLength()

b inet::physicallayer::Ieee80211OfdmSignalMode::getTailFieldLength ( ) const
inline
92 { return b(6); }

◆ printToStream()

std::ostream & inet::physicallayer::Ieee80211OfdmSignalMode::printToStream ( std::ostream &  stream,
int  level,
int  evFlags = 0 
) const
overridevirtual

Prints this object to the provided output stream.

Reimplemented from inet::IPrintableObject.

145 {
146  return stream << "Ieee80211OfdmSignalMode";
147 }

Member Data Documentation

◆ rate

unsigned int inet::physicallayer::Ieee80211OfdmSignalMode::rate
protected

The documentation for this class was generated from the following files:
inet::physicallayer::Ieee80211OfdmSignalMode::getParityFieldLength
b getParityFieldLength() const
Definition: Ieee80211OfdmMode.h:91
inet::physicallayer::Ieee80211OfdmModeBase::bandwidth
const Hz bandwidth
Definition: Ieee80211OfdmMode.h:39
inet::physicallayer::Ieee80211OfdmModeBase::code
const Ieee80211OfdmCode * code
Definition: Ieee80211OfdmMode.h:38
inet::physicallayer::Ieee80211OfdmModeBase::getGrossBitrate
virtual bps getGrossBitrate() const
Definition: Ieee80211OfdmMode.cc:65
inet::physicallayer::Ieee80211OfdmSignalMode::getServiceFieldLength
b getServiceFieldLength() const
Definition: Ieee80211OfdmMode.h:93
inet::units::values::b
value< int64_t, units::b > b
Definition: Units.h:1241
inet::physicallayer::Ieee80211OfdmSignalMode::getTailFieldLength
b getTailFieldLength() const
Definition: Ieee80211OfdmMode.h:92
inet::physicallayer::Ieee80211OfdmModeBase::Ieee80211OfdmModeBase
Ieee80211OfdmModeBase(const Ieee80211OfdmModulation *modulation, const Ieee80211OfdmCode *code, Hz channelSpacing, Hz bandwidth)
Definition: Ieee80211OfdmMode.cc:16
inet::physicallayer::Ieee80211OfdmSignalMode::getReservedFieldLength
b getReservedFieldLength() const
Definition: Ieee80211OfdmMode.h:89
inet::physicallayer::Ieee80211OfdmModeBase::getNetBitrate
virtual bps getNetBitrate() const
Definition: Ieee80211OfdmMode.cc:72
inet::physicallayer::Ieee80211OfdmSignalMode::getLengthFieldLength
b getLengthFieldLength() const
Definition: Ieee80211OfdmMode.h:90
inet::physicallayer::Ieee80211OfdmModeBase::modulation
const Ieee80211OfdmModulation * modulation
Definition: Ieee80211OfdmMode.h:37
inet::physicallayer::Ieee80211OfdmSignalMode::rate
unsigned int rate
Definition: Ieee80211OfdmMode.h:79
inet::physicallayer::Ieee80211OfdmSignalMode::getRateFieldLength
b getRateFieldLength() const
Definition: Ieee80211OfdmMode.h:88