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

#include <Ieee80211FHSSMode.h>

Inheritance diagram for inet::physicallayer::Ieee80211FhssPreambleMode:
inet::physicallayer::IIeee80211PreambleMode inet::physicallayer::IPrintableObject

Public Member Functions

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

Member Function Documentation

int inet::physicallayer::Ieee80211FhssPreambleMode::getBitLength ( ) const
inline
35 { return getSYNCBitLength() + getSFDBitLength(); }
int getSYNCBitLength() const
Definition: Ieee80211FHSSMode.h:33
int getSFDBitLength() const
Definition: Ieee80211FHSSMode.h:34
virtual const simtime_t inet::physicallayer::Ieee80211FhssPreambleMode::getDuration ( ) const
inlineoverridevirtual

Implements inet::physicallayer::IIeee80211PreambleMode.

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

39 { return getBitLength() / getNetBitrate().get(); }
int getBitLength() const
Definition: Ieee80211FHSSMode.h:35
const value_type & get() const
Definition: Units.h:89
virtual bps getNetBitrate() const
Definition: Ieee80211FHSSMode.h:37
virtual bps inet::physicallayer::Ieee80211FhssPreambleMode::getGrossBitrate ( ) const
inlinevirtual
38 { return getNetBitrate(); }
virtual bps getNetBitrate() const
Definition: Ieee80211FHSSMode.h:37
virtual bps inet::physicallayer::Ieee80211FhssPreambleMode::getNetBitrate ( ) const
inlinevirtual
37 { return Mbps(1); }
scale< bps, 1, 1000000 > Mbps
Definition: Units.h:987
int inet::physicallayer::Ieee80211FhssPreambleMode::getSFDBitLength ( ) const
inline
34 { return 16; }
int inet::physicallayer::Ieee80211FhssPreambleMode::getSYNCBitLength ( ) const
inline
33 { return 80; }

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