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

#include <Ieee80211DSSSMode.h>

Inheritance diagram for inet::physicallayer::Ieee80211DsssHeaderMode:
inet::physicallayer::Ieee80211DsssChunkMode inet::physicallayer::IIeee80211HeaderMode inet::physicallayer::IPrintableObject

Public Member Functions

 Ieee80211DsssHeaderMode ()
 
int getSignalBitLength () const
 
int getServiceBitLength () const
 
int getLengthBitLength () const
 
int getCRCBitLength () const
 
virtual int getBitLength () const override
 
virtual bps getNetBitrate () const override
 
virtual bps getGrossBitrate () const override
 
virtual const simtime_t getDuration () const override
 
virtual const DBPSKModulationgetModulation () const override
 
- Public Member Functions inherited from inet::physicallayer::IPrintableObject
virtual ~IPrintableObject ()
 
virtual std::ostream & printToStream (std::ostream &stream, int level) const
 Prints this object to the provided output stream. More...
 
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
 

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
}
 

Constructor & Destructor Documentation

inet::physicallayer::Ieee80211DsssHeaderMode::Ieee80211DsssHeaderMode ( )
inline
51 {}

Member Function Documentation

virtual int inet::physicallayer::Ieee80211DsssHeaderMode::getBitLength ( ) const
inlineoverridevirtual

Implements inet::physicallayer::IIeee80211HeaderMode.

int getSignalBitLength() const
Definition: Ieee80211DSSSMode.h:53
int getServiceBitLength() const
Definition: Ieee80211DSSSMode.h:54
int getLengthBitLength() const
Definition: Ieee80211DSSSMode.h:55
int getCRCBitLength() const
Definition: Ieee80211DSSSMode.h:56
int inet::physicallayer::Ieee80211DsssHeaderMode::getCRCBitLength ( ) const
inline
56 { return 16; }
virtual const simtime_t inet::physicallayer::Ieee80211DsssHeaderMode::getDuration ( ) const
inlineoverridevirtual

Implements inet::physicallayer::IIeee80211HeaderMode.

Referenced by inet::physicallayer::Ieee80211DsssMode::getDuration(), and inet::physicallayer::Ieee80211DsssMode::getPlcpHeaderLength().

61 { return getBitLength() / getNetBitrate().get(); }
virtual int getBitLength() const override
Definition: Ieee80211DSSSMode.h:58
const value_type & get() const
Definition: Units.h:89
virtual bps getNetBitrate() const override
Definition: Ieee80211DSSSMode.h:59
virtual bps inet::physicallayer::Ieee80211DsssHeaderMode::getGrossBitrate ( ) const
inlineoverridevirtual

Implements inet::physicallayer::IIeee80211HeaderMode.

60 { return getNetBitrate(); }
virtual bps getNetBitrate() const override
Definition: Ieee80211DSSSMode.h:59
int inet::physicallayer::Ieee80211DsssHeaderMode::getLengthBitLength ( ) const
inline
55 { return 16; }
virtual const DBPSKModulation* inet::physicallayer::Ieee80211DsssHeaderMode::getModulation ( ) const
inlineoverridevirtual

Implements inet::physicallayer::IIeee80211HeaderMode.

62 { return &DBPSKModulation::singleton; }
static const DBPSKModulation singleton
Definition: DBPSKModulation.h:30
virtual bps inet::physicallayer::Ieee80211DsssHeaderMode::getNetBitrate ( ) const
inlineoverridevirtual

Implements inet::physicallayer::IIeee80211HeaderMode.

59 { return Mbps(1); }
scale< bps, 1, 1000000 > Mbps
Definition: Units.h:987
int inet::physicallayer::Ieee80211DsssHeaderMode::getServiceBitLength ( ) const
inline
54 { return 8; }
int inet::physicallayer::Ieee80211DsssHeaderMode::getSignalBitLength ( ) const
inline
53 { return 8; }

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