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::IPrintableObject

Public Member Functions

 Ieee80211DsssPreambleMode ()
 
b getSyncFieldLength () const
 
b getSfdFieldLength () const
 
b getLength () const
 
virtual bps getNetBitrate () const
 
virtual bps getGrossBitrate () const
 
virtual const simtime_t getDuration () const override
 
virtual const DbpskModulationgetModulation () const
 
virtual Ptr< Ieee80211PhyPreamblecreatePreamble () const override
 
- Public Member Functions inherited from inet::IPrintableObject
virtual ~IPrintableObject ()
 
virtual std::ostream & printToStream (std::ostream &stream, int level, int evFlags=0) const
 Prints this object to the provided output stream. More...
 
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
 

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) }
 

Constructor & Destructor Documentation

◆ Ieee80211DsssPreambleMode()

inet::physicallayer::Ieee80211DsssPreambleMode::Ieee80211DsssPreambleMode ( )
inline
25 {}

Member Function Documentation

◆ createPreamble()

virtual Ptr<Ieee80211PhyPreamble> inet::physicallayer::Ieee80211DsssPreambleMode::createPreamble ( ) const
inlineoverridevirtual

Implements inet::physicallayer::IIeee80211PreambleMode.

36 { return makeShared<Ieee80211DsssPhyPreamble>(); }

◆ getDuration()

virtual const simtime_t inet::physicallayer::Ieee80211DsssPreambleMode::getDuration ( ) const
inlineoverridevirtual

◆ getGrossBitrate()

virtual bps inet::physicallayer::Ieee80211DsssPreambleMode::getGrossBitrate ( ) const
inlinevirtual
32 { return getNetBitrate(); }

◆ getLength()

b inet::physicallayer::Ieee80211DsssPreambleMode::getLength ( ) const
inline
29 { return getSyncFieldLength() + getSfdFieldLength(); }

◆ getModulation()

virtual const DbpskModulation* inet::physicallayer::Ieee80211DsssPreambleMode::getModulation ( ) const
inlinevirtual
34 { return &DbpskModulation::singleton; }

◆ getNetBitrate()

virtual bps inet::physicallayer::Ieee80211DsssPreambleMode::getNetBitrate ( ) const
inlinevirtual
31 { return Mbps(1); }

◆ getSfdFieldLength()

b inet::physicallayer::Ieee80211DsssPreambleMode::getSfdFieldLength ( ) const
inline
28 { return b(16); }

◆ getSyncFieldLength()

b inet::physicallayer::Ieee80211DsssPreambleMode::getSyncFieldLength ( ) const
inline
27 { return b(128); }

The documentation for this class was generated from the following file:
inet::units::units::Mbps
mega< bps >::type Mbps
Definition: Units.h:1171
inet::physicallayer::Ieee80211DsssPreambleMode::getSyncFieldLength
b getSyncFieldLength() const
Definition: Ieee80211DsssMode.h:27
inet::physicallayer::Ieee80211DsssPreambleMode::getLength
b getLength() const
Definition: Ieee80211DsssMode.h:29
inet::physicallayer::Ieee80211DsssPreambleMode::getNetBitrate
virtual bps getNetBitrate() const
Definition: Ieee80211DsssMode.h:31
inet::physicallayer::DbpskModulation::singleton
static const DbpskModulation singleton
Definition: DbpskModulation.h:20
inet::units::values::b
value< int64_t, units::b > b
Definition: Units.h:1241
inet::physicallayer::Ieee80211DsssPreambleMode::getSfdFieldLength
b getSfdFieldLength() const
Definition: Ieee80211DsssMode.h:28
inet::units::value::get
const value_type & get() const
Definition: Units.h:108