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

#include <Ieee80211IrMode.h>

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

Public Member Functions

 Ieee80211IrPreambleMode (int syncSlotLength)
 
int getSyncSlotLength () const
 
int getSFDSlotLength () const
 
int getSlotLength () const
 
const simtime_t getSlotDuration () const
 
virtual const simtime_t getDuration () const override
 
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
 

Protected Attributes

const int syncSlotLength
 

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

◆ Ieee80211IrPreambleMode()

inet::physicallayer::Ieee80211IrPreambleMode::Ieee80211IrPreambleMode ( int  syncSlotLength)
17  :
19 {
20 }

Member Function Documentation

◆ createPreamble()

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

Implements inet::physicallayer::IIeee80211PreambleMode.

33 { return makeShared<Ieee80211IrPhyPreamble>(); }

◆ getDuration()

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

◆ getSFDSlotLength()

int inet::physicallayer::Ieee80211IrPreambleMode::getSFDSlotLength ( ) const
inline
27 { return 4; }

◆ getSlotDuration()

const simtime_t inet::physicallayer::Ieee80211IrPreambleMode::getSlotDuration ( ) const
inline
29 { return 250E-9; }

◆ getSlotLength()

int inet::physicallayer::Ieee80211IrPreambleMode::getSlotLength ( ) const
inline
28 { return getSyncSlotLength() + getSFDSlotLength(); }

◆ getSyncSlotLength()

int inet::physicallayer::Ieee80211IrPreambleMode::getSyncSlotLength ( ) const
inline
26 { return syncSlotLength; }

Member Data Documentation

◆ syncSlotLength

const int inet::physicallayer::Ieee80211IrPreambleMode::syncSlotLength
protected

The documentation for this class was generated from the following files:
inet::physicallayer::Ieee80211IrPreambleMode::getSFDSlotLength
int getSFDSlotLength() const
Definition: Ieee80211IrMode.h:27
inet::physicallayer::Ieee80211IrPreambleMode::getSyncSlotLength
int getSyncSlotLength() const
Definition: Ieee80211IrMode.h:26
inet::physicallayer::Ieee80211IrPreambleMode::syncSlotLength
const int syncSlotLength
Definition: Ieee80211IrMode.h:21
inet::physicallayer::Ieee80211IrPreambleMode::getSlotLength
int getSlotLength() const
Definition: Ieee80211IrMode.h:28
inet::physicallayer::Ieee80211IrPreambleMode::getSlotDuration
const simtime_t getSlotDuration() const
Definition: Ieee80211IrMode.h:29