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

#include <Ieee80211IRMode.h>

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

Public Member Functions

 Ieee80211IrHeaderMode (const PPMModulationBase *modulation)
 
int getDRSlotLength () const
 
int getDCLASlotLength () const
 
int getLengthBitLength () const
 
int getCRCBitLength () const
 
int getSlotLength () const
 
const simtime_t getSlotDuration () 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 PPMModulationBasegetModulation () 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
 

Protected Attributes

const PPMModulationBasemodulation
 

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::Ieee80211IrHeaderMode::Ieee80211IrHeaderMode ( const PPMModulationBase modulation)
31  :
33 {
34 }
const PPMModulationBase * modulation
Definition: Ieee80211IRMode.h:47

Member Function Documentation

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

Implements inet::physicallayer::IIeee80211HeaderMode.

59 { return getLengthBitLength() + getCRCBitLength(); }
int getLengthBitLength() const
Definition: Ieee80211IRMode.h:54
int getCRCBitLength() const
Definition: Ieee80211IRMode.h:55
int inet::physicallayer::Ieee80211IrHeaderMode::getCRCBitLength ( ) const
inline
55 { return 16; }
int inet::physicallayer::Ieee80211IrHeaderMode::getDCLASlotLength ( ) const
inline
53 { return 32; }
int inet::physicallayer::Ieee80211IrHeaderMode::getDRSlotLength ( ) const
inline
52 { return 3; }
virtual const simtime_t inet::physicallayer::Ieee80211IrHeaderMode::getDuration ( ) const
inlineoverridevirtual

Implements inet::physicallayer::IIeee80211HeaderMode.

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

virtual int getBitLength() const override
Definition: Ieee80211IRMode.h:59
int getSlotLength() const
Definition: Ieee80211IRMode.h:56
const value_type & get() const
Definition: Units.h:89
virtual bps getNetBitrate() const override
Definition: Ieee80211IRMode.h:60
const simtime_t getSlotDuration() const
Definition: Ieee80211IRMode.h:57
virtual bps inet::physicallayer::Ieee80211IrHeaderMode::getGrossBitrate ( ) const
inlineoverridevirtual

Implements inet::physicallayer::IIeee80211HeaderMode.

61 { return getNetBitrate(); }
virtual bps getNetBitrate() const override
Definition: Ieee80211IRMode.h:60
int inet::physicallayer::Ieee80211IrHeaderMode::getLengthBitLength ( ) const
inline
54 { return 16; }
virtual const PPMModulationBase* inet::physicallayer::Ieee80211IrHeaderMode::getModulation ( ) const
inlineoverridevirtual

Implements inet::physicallayer::IIeee80211HeaderMode.

63 { return modulation; }
const PPMModulationBase * modulation
Definition: Ieee80211IRMode.h:47
virtual bps inet::physicallayer::Ieee80211IrHeaderMode::getNetBitrate ( ) const
inlineoverridevirtual

Implements inet::physicallayer::IIeee80211HeaderMode.

60 { return Mbps(1); }
scale< bps, 1, 1000000 > Mbps
Definition: Units.h:987
const simtime_t inet::physicallayer::Ieee80211IrHeaderMode::getSlotDuration ( ) const
inline
57 { return 250E-9; }
int inet::physicallayer::Ieee80211IrHeaderMode::getSlotLength ( ) const
inline
56 { return getDRSlotLength() + getDCLASlotLength(); }
int getDCLASlotLength() const
Definition: Ieee80211IRMode.h:53
int getDRSlotLength() const
Definition: Ieee80211IRMode.h:52

Member Data Documentation

const PPMModulationBase* inet::physicallayer::Ieee80211IrHeaderMode::modulation
protected

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