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

#include <Ieee80211HrDsssMode.h>

Inheritance diagram for inet::physicallayer::Ieee80211HrDsssHeaderMode:
inet::physicallayer::IIeee80211HeaderMode inet::IPrintableObject

Public Member Functions

 Ieee80211HrDsssHeaderMode (const Ieee80211HrDsssPreambleType preambleType)
 
b getSignalFieldLength () const
 
b getServiceFieldLength () const
 
b getLengthFieldLength () const
 
b getCrcFieldLength () const
 
virtual b getLength () const override
 
virtual bps getNetBitrate () const override
 
virtual bps getGrossBitrate () const override
 
virtual const simtime_t getDuration () const override
 
virtual const DpskModulationBasegetModulation () const override
 
virtual Ptr< Ieee80211PhyHeadercreateHeader () 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
 

Protected Attributes

const Ieee80211HrDsssPreambleType preambleType
 

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

◆ Ieee80211HrDsssHeaderMode()

inet::physicallayer::Ieee80211HrDsssHeaderMode::Ieee80211HrDsssHeaderMode ( const Ieee80211HrDsssPreambleType  preambleType)
19  :
21 {
22 }

Member Function Documentation

◆ createHeader()

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

Implements inet::physicallayer::IIeee80211HeaderMode.

65 { return makeShared<Ieee80211HrDsssPhyHeader>(); }

◆ getCrcFieldLength()

b inet::physicallayer::Ieee80211HrDsssHeaderMode::getCrcFieldLength ( ) const
inline
57 { return b(16); }

◆ getDuration()

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

◆ getGrossBitrate()

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

◆ getLength()

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

◆ getLengthFieldLength()

b inet::physicallayer::Ieee80211HrDsssHeaderMode::getLengthFieldLength ( ) const
inline
56 { return b(16); }

◆ getModulation()

virtual const DpskModulationBase* inet::physicallayer::Ieee80211HrDsssHeaderMode::getModulation ( ) const
inlineoverridevirtual

Implements inet::physicallayer::IIeee80211HeaderMode.

63 { return preambleType == IEEE80211_HRDSSS_PREAMBLE_TYPE_SHORT ? static_cast<const DpskModulationBase *>(&DqpskModulation::singleton) : static_cast<const DpskModulationBase *>(&DbpskModulation::singleton); }

◆ getNetBitrate()

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

◆ getServiceFieldLength()

b inet::physicallayer::Ieee80211HrDsssHeaderMode::getServiceFieldLength ( ) const
inline
55 { return b(8); }

◆ getSignalFieldLength()

b inet::physicallayer::Ieee80211HrDsssHeaderMode::getSignalFieldLength ( ) const
inline
54 { return b(8); }

Member Data Documentation

◆ preambleType

const Ieee80211HrDsssPreambleType inet::physicallayer::Ieee80211HrDsssHeaderMode::preambleType
protected

The documentation for this class was generated from the following files:
inet::physicallayer::Ieee80211HrDsssHeaderMode::preambleType
const Ieee80211HrDsssPreambleType preambleType
Definition: Ieee80211HrDsssMode.h:49
inet::units::units::Mbps
mega< bps >::type Mbps
Definition: Units.h:1171
inet::physicallayer::IEEE80211_HRDSSS_PREAMBLE_TYPE_SHORT
@ IEEE80211_HRDSSS_PREAMBLE_TYPE_SHORT
Definition: Ieee80211HrDsssMode.h:20
inet::physicallayer::Ieee80211HrDsssHeaderMode::getCrcFieldLength
b getCrcFieldLength() const
Definition: Ieee80211HrDsssMode.h:57
inet::physicallayer::Ieee80211HrDsssHeaderMode::getServiceFieldLength
b getServiceFieldLength() const
Definition: Ieee80211HrDsssMode.h:55
inet::physicallayer::DbpskModulation::singleton
static const DbpskModulation singleton
Definition: DbpskModulation.h:20
inet::physicallayer::Ieee80211HrDsssHeaderMode::getLengthFieldLength
b getLengthFieldLength() const
Definition: Ieee80211HrDsssMode.h:56
inet::units::values::b
value< int64_t, units::b > b
Definition: Units.h:1241
inet::physicallayer::DqpskModulation::singleton
static const DqpskModulation singleton
Definition: DqpskModulation.h:20
inet::physicallayer::Ieee80211HrDsssHeaderMode::getNetBitrate
virtual bps getNetBitrate() const override
Definition: Ieee80211HrDsssMode.h:60
inet::physicallayer::Ieee80211HrDsssHeaderMode::getLength
virtual b getLength() const override
Definition: Ieee80211HrDsssMode.h:59
inet::units::value::get
const value_type & get() const
Definition: Units.h:108
inet::physicallayer::Ieee80211HrDsssHeaderMode::getSignalFieldLength
b getSignalFieldLength() const
Definition: Ieee80211HrDsssMode.h:54