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

Represents a Direct Sequence Spread Spectrum with Orthogonal Frequency Division Multiplexing PHY mode as described in IEEE 802.11-2012 specification subclause 19.3.2.6. More...

#include <Ieee80211DSSSOFDMMode.h>

Inheritance diagram for inet::physicallayer::Ieee80211DsssOfdmMode:
inet::physicallayer::Ieee80211ModeBase inet::physicallayer::IIeee80211Mode inet::physicallayer::IPrintableObject

Public Member Functions

 Ieee80211DsssOfdmMode (const char *name, const Ieee80211DsssPreambleMode *dsssPreambleMode, const Ieee80211DsssHeaderMode *dsssHeaderMode, const Ieee80211OFDMPreambleMode *ofdmPreambleMode, const Ieee80211OFDMSignalMode *ofdmSignalMode, const Ieee80211OFDMDataMode *ofdmDataMode)
 
virtual std::ostream & printToStream (std::ostream &stream, int level) const override
 Prints this object to the provided output stream. More...
 
virtual const IIeee80211PreambleModegetPreambleMode () const override
 
virtual const IIeee80211HeaderModegetHeaderMode () const override
 
virtual const IIeee80211DataModegetDataMode () const override
 
virtual const simtime_t getDuration (int dataBitLength) const override
 
virtual const simtime_t getSlotTime () const override
 
virtual const simtime_t getSifsTime () const override
 
virtual const simtime_t getRifsTime () const override
 
virtual const simtime_t getCcaTime () const override
 
virtual const simtime_t getPhyRxStartDelay () const override
 
virtual const simtime_t getRxTxTurnaroundTime () const override
 
virtual const simtime_t getPreambleLength () const override
 
virtual const simtime_t getPlcpHeaderLength () const override
 
virtual int getMpduMaxLength () const override
 
- Public Member Functions inherited from inet::physicallayer::Ieee80211ModeBase
 Ieee80211ModeBase (const char *name)
 
virtual const char * getName () const override
 
- Public Member Functions inherited from inet::physicallayer::IIeee80211Mode
IIeee80211PreambleMode_getPreambleMode () const
 
IIeee80211HeaderMode_getHeaderMode () const
 
IIeee80211DataMode_getDataMode () const
 
- Public Member Functions inherited from inet::physicallayer::IPrintableObject
virtual ~IPrintableObject ()
 
virtual std::string getInfoStringRepresentation () const
 
virtual std::string getDetailStringRepresentation () const
 
virtual std::string getDebugStringRepresentation () const
 
virtual std::string getTraceStringRepresentation () const
 
virtual std::string getCompleteStringRepresentation () const
 

Protected Member Functions

virtual int getLegacyCwMin () const override
 
virtual int getLegacyCwMax () const override
 

Protected Attributes

const Ieee80211DsssPreambleModedsssPreambleMode
 
const Ieee80211DsssHeaderModedsssHeaderMode
 
const Ieee80211OFDMPreambleModeofdmPreambleMode
 
const Ieee80211OFDMSignalModeofdmSignalMode
 
const Ieee80211OFDMDataModeofdmDataMode
 

Additional Inherited Members

- Public Types inherited from inet::physicallayer::IPrintableObject
enum  PrintLevel {
  PRINT_LEVEL_TRACE, PRINT_LEVEL_DEBUG, PRINT_LEVEL_DETAIL, PRINT_LEVEL_INFO,
  PRINT_LEVEL_COMPLETE = INT_MIN
}
 

Detailed Description

Represents a Direct Sequence Spread Spectrum with Orthogonal Frequency Division Multiplexing PHY mode as described in IEEE 802.11-2012 specification subclause 19.3.2.6.

Constructor & Destructor Documentation

inet::physicallayer::Ieee80211DsssOfdmMode::Ieee80211DsssOfdmMode ( const char *  name,
const Ieee80211DsssPreambleMode dsssPreambleMode,
const Ieee80211DsssHeaderMode dsssHeaderMode,
const Ieee80211OFDMPreambleMode ofdmPreambleMode,
const Ieee80211OFDMSignalMode ofdmSignalMode,
const Ieee80211OFDMDataMode ofdmDataMode 
)
24  :
31 {
32 }
std::string name
Definition: Ieee80211ModeBase.h:29
Ieee80211ModeBase(const char *name)
Definition: Ieee80211ModeBase.h:31
const Ieee80211DsssHeaderMode * dsssHeaderMode
Definition: Ieee80211DSSSOFDMMode.h:37
const Ieee80211OFDMDataMode * ofdmDataMode
Definition: Ieee80211DSSSOFDMMode.h:40
const Ieee80211OFDMPreambleMode * ofdmPreambleMode
Definition: Ieee80211DSSSOFDMMode.h:38
const Ieee80211DsssPreambleMode * dsssPreambleMode
Definition: Ieee80211DSSSOFDMMode.h:36
const Ieee80211OFDMSignalMode * ofdmSignalMode
Definition: Ieee80211DSSSOFDMMode.h:39

Member Function Documentation

virtual const simtime_t inet::physicallayer::Ieee80211DsssOfdmMode::getCcaTime ( ) const
inlineoverridevirtual

Implements inet::physicallayer::IIeee80211Mode.

62 { return 0; }
virtual const IIeee80211DataMode* inet::physicallayer::Ieee80211DsssOfdmMode::getDataMode ( ) const
inlineoverridevirtual

Implements inet::physicallayer::IIeee80211Mode.

53 { return ofdmDataMode; }
const Ieee80211OFDMDataMode * ofdmDataMode
Definition: Ieee80211DSSSOFDMMode.h:40
virtual const simtime_t inet::physicallayer::Ieee80211DsssOfdmMode::getDuration ( int  dataBitLength) const
inlineoverridevirtual

Implements inet::physicallayer::IIeee80211Mode.

56 { return 0; }
virtual const IIeee80211HeaderMode* inet::physicallayer::Ieee80211DsssOfdmMode::getHeaderMode ( ) const
inlineoverridevirtual

Implements inet::physicallayer::IIeee80211Mode.

52 { return nullptr; }
virtual int inet::physicallayer::Ieee80211DsssOfdmMode::getLegacyCwMax ( ) const
inlineoverrideprotectedvirtual

Implements inet::physicallayer::IIeee80211Mode.

44 { return -1; }
virtual int inet::physicallayer::Ieee80211DsssOfdmMode::getLegacyCwMin ( ) const
inlineoverrideprotectedvirtual

Implements inet::physicallayer::IIeee80211Mode.

43 { return -1; }
virtual int inet::physicallayer::Ieee80211DsssOfdmMode::getMpduMaxLength ( ) const
inlineoverridevirtual

Implements inet::physicallayer::IIeee80211Mode.

67 { return -1; }
virtual const simtime_t inet::physicallayer::Ieee80211DsssOfdmMode::getPhyRxStartDelay ( ) const
inlineoverridevirtual

Implements inet::physicallayer::IIeee80211Mode.

63 { return 0; }
virtual const simtime_t inet::physicallayer::Ieee80211DsssOfdmMode::getPlcpHeaderLength ( ) const
inlineoverridevirtual

Implements inet::physicallayer::IIeee80211Mode.

66 { return 0; }
virtual const simtime_t inet::physicallayer::Ieee80211DsssOfdmMode::getPreambleLength ( ) const
inlineoverridevirtual

Implements inet::physicallayer::IIeee80211Mode.

65 { return 0; }
virtual const IIeee80211PreambleMode* inet::physicallayer::Ieee80211DsssOfdmMode::getPreambleMode ( ) const
inlineoverridevirtual

Implements inet::physicallayer::IIeee80211Mode.

51 { return nullptr; }
const simtime_t inet::physicallayer::Ieee80211DsssOfdmMode::getRifsTime ( ) const
overridevirtual

Implements inet::physicallayer::IIeee80211Mode.

35 {
36  throw cRuntimeError("Undefined physical layer parameter");
37  return SIMTIME_ZERO;
38 
39 }
virtual const simtime_t inet::physicallayer::Ieee80211DsssOfdmMode::getRxTxTurnaroundTime ( ) const
inlineoverridevirtual

Implements inet::physicallayer::IIeee80211Mode.

64 { return 0; }
virtual const simtime_t inet::physicallayer::Ieee80211DsssOfdmMode::getSifsTime ( ) const
inlineoverridevirtual

Implements inet::physicallayer::IIeee80211Mode.

60 { return 0; }
virtual const simtime_t inet::physicallayer::Ieee80211DsssOfdmMode::getSlotTime ( ) const
inlineoverridevirtual

Implements inet::physicallayer::IIeee80211Mode.

59 { return 0; }
virtual std::ostream& inet::physicallayer::Ieee80211DsssOfdmMode::printToStream ( std::ostream &  stream,
int  level 
) const
inlineoverridevirtual

Prints this object to the provided output stream.

Function calls to operator<< with pointers or references either const or not are all forwarded to this function.

Reimplemented from inet::physicallayer::IPrintableObject.

49 { return stream << "Ieee80211DsssOfdmMode"; }

Member Data Documentation

const Ieee80211DsssHeaderMode* inet::physicallayer::Ieee80211DsssOfdmMode::dsssHeaderMode
protected
const Ieee80211DsssPreambleMode* inet::physicallayer::Ieee80211DsssOfdmMode::dsssPreambleMode
protected
const Ieee80211OFDMDataMode* inet::physicallayer::Ieee80211DsssOfdmMode::ofdmDataMode
protected
const Ieee80211OFDMPreambleMode* inet::physicallayer::Ieee80211DsssOfdmMode::ofdmPreambleMode
protected
const Ieee80211OFDMSignalMode* inet::physicallayer::Ieee80211DsssOfdmMode::ofdmSignalMode
protected

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