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

#include <Ieee80211IRMode.h>

Inheritance diagram for inet::physicallayer::Ieee80211IrPreambleMode:
inet::physicallayer::IIeee80211PreambleMode inet::physicallayer::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
 
- 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 int syncSlotLength
 

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::Ieee80211IrPreambleMode::Ieee80211IrPreambleMode ( int  syncSlotLength)
26  :
28 {
29 }
const int syncSlotLength
Definition: Ieee80211IRMode.h:31

Member Function Documentation

virtual const simtime_t inet::physicallayer::Ieee80211IrPreambleMode::getDuration ( ) const
inlineoverridevirtual
int inet::physicallayer::Ieee80211IrPreambleMode::getSFDSlotLength ( ) const
inline
37 { return 4; }
const simtime_t inet::physicallayer::Ieee80211IrPreambleMode::getSlotDuration ( ) const
inline
39 { return 250E-9; }
int inet::physicallayer::Ieee80211IrPreambleMode::getSlotLength ( ) const
inline
38 { return getSyncSlotLength() + getSFDSlotLength(); }
int getSFDSlotLength() const
Definition: Ieee80211IRMode.h:37
int getSyncSlotLength() const
Definition: Ieee80211IRMode.h:36
int inet::physicallayer::Ieee80211IrPreambleMode::getSyncSlotLength ( ) const
inline
36 { return syncSlotLength; }
const int syncSlotLength
Definition: Ieee80211IRMode.h:31

Member Data Documentation

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

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