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

#include <Ieee80211DSSSMode.h>

Inheritance diagram for inet::physicallayer::Ieee80211DsssPreambleMode:
inet::physicallayer::Ieee80211DsssChunkMode inet::physicallayer::IIeee80211PreambleMode inet::physicallayer::IPrintableObject

Public Member Functions

 Ieee80211DsssPreambleMode ()
 
int getSYNCBitLength () const
 
int getSFDBitLength () const
 
int getBitLength () const
 
virtual bps getNetBitrate () const
 
virtual bps getGrossBitrate () const
 
virtual const simtime_t getDuration () const override
 
virtual const DBPSKModulationgetModulation () const
 
- 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::Ieee80211DsssPreambleMode::Ieee80211DsssPreambleMode ( )
inline
36 {}

Member Function Documentation

int inet::physicallayer::Ieee80211DsssPreambleMode::getBitLength ( ) const
inline
40 { return getSYNCBitLength() + getSFDBitLength(); }
int getSFDBitLength() const
Definition: Ieee80211DSSSMode.h:39
int getSYNCBitLength() const
Definition: Ieee80211DSSSMode.h:38
virtual const simtime_t inet::physicallayer::Ieee80211DsssPreambleMode::getDuration ( ) const
inlineoverridevirtual

Implements inet::physicallayer::IIeee80211PreambleMode.

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

44 { return getBitLength() / getNetBitrate().get(); }
const value_type & get() const
Definition: Units.h:89
int getBitLength() const
Definition: Ieee80211DSSSMode.h:40
virtual bps getNetBitrate() const
Definition: Ieee80211DSSSMode.h:42
virtual bps inet::physicallayer::Ieee80211DsssPreambleMode::getGrossBitrate ( ) const
inlinevirtual
43 { return getNetBitrate(); }
virtual bps getNetBitrate() const
Definition: Ieee80211DSSSMode.h:42
virtual const DBPSKModulation* inet::physicallayer::Ieee80211DsssPreambleMode::getModulation ( ) const
inlinevirtual
45 { return &DBPSKModulation::singleton; }
static const DBPSKModulation singleton
Definition: DBPSKModulation.h:30
virtual bps inet::physicallayer::Ieee80211DsssPreambleMode::getNetBitrate ( ) const
inlinevirtual
42 { return Mbps(1); }
scale< bps, 1, 1000000 > Mbps
Definition: Units.h:987
int inet::physicallayer::Ieee80211DsssPreambleMode::getSFDBitLength ( ) const
inline
39 { return 16; }
int inet::physicallayer::Ieee80211DsssPreambleMode::getSYNCBitLength ( ) const
inline
38 { return 128; }

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