User Manual, Developers Guide and API Documentation

wifimac::convergence::PhyMode Class Reference

Holder for all necessary information about a PhyMode. More...

#include <convergence/PhyMode.hpp>

Collaboration diagram for wifimac::convergence::PhyMode:

Collaboration graph
[legend]

List of all members.

Public Member Functions

Bit getDataBitsPerSymbol () const
 Returns the number of data bits per symbol.
wns::simulator::Time getGuardIntervalDuration () const
wns::Ratio getMinSINR () const
unsigned int getNumberOfDataSubcarriers () const
unsigned int getNumberOfSpatialStreams () const
 Get the number of spatial streams.
std::string getPreambleMode () const
std::vector< MCSgetSpatialStreams () const
bool operator!= (const PhyMode &rhs) const
bool operator< (const PhyMode &rhs) const
 Compare two phyModes using the number of bits / symbol.
bool operator== (const PhyMode &rhs) const
 Compare two phyModes using the number of bits / symbol.
 PhyMode (const wifimac::management::protocolCalculatorPlugins::ConfigGetter &config)
 PhyMode (const wns::pyconfig::View &config)
 PhyMode ()
void setGuardIntervalDuration (wns::simulator::Time gi)
void setMCS (const MCS &mcs)
void setNumberOfDataSubcarriers (unsigned int ds)
void setPreambleMode (std::string pm)
void setSpatialStreams (const std::vector< MCS > &ss)
void setUniformMCS (const MCS &mcs, unsigned int numSS)

Private Attributes

wns::simulator::Time guardIntervalDuration
unsigned int numberOfDataSubcarriers
std::string plcpMode
std::vector< MCSspatialStreams


Detailed Description

Definition at line 103 of file PhyMode.hpp.


Constructor & Destructor Documentation

PhyMode::PhyMode (  ) 

Constructors

Definition at line 163 of file PhyMode.cpp.

PhyMode::PhyMode ( const wns::pyconfig::View config  ) 

Definition at line 170 of file PhyMode.cpp.

PhyMode::PhyMode ( const wifimac::management::protocolCalculatorPlugins::ConfigGetter config  ) 

Definition at line 192 of file PhyMode.cpp.


Member Function Documentation

Bit PhyMode::getDataBitsPerSymbol (  )  const

Definition at line 215 of file PhyMode.cpp.

wns::simulator::Time wifimac::convergence::PhyMode::getGuardIntervalDuration (  )  const [inline]

Definition at line 144 of file PhyMode.hpp.

wns::Ratio wifimac::convergence::PhyMode::getMinSINR (  )  const [inline]

Definition at line 131 of file PhyMode.hpp.

unsigned int wifimac::convergence::PhyMode::getNumberOfDataSubcarriers (  )  const [inline]

Definition at line 134 of file PhyMode.hpp.

unsigned int wifimac::convergence::PhyMode::getNumberOfSpatialStreams (  )  const [inline]

Definition at line 118 of file PhyMode.hpp.

std::string wifimac::convergence::PhyMode::getPreambleMode (  )  const [inline]

Definition at line 139 of file PhyMode.hpp.

std::vector<MCS> wifimac::convergence::PhyMode::getSpatialStreams (  )  const [inline]

Definition at line 126 of file PhyMode.hpp.

bool PhyMode::operator!= ( const PhyMode rhs  )  const

Definition at line 285 of file PhyMode.cpp.

bool PhyMode::operator< ( const PhyMode rhs  )  const

Definition at line 250 of file PhyMode.cpp.

bool PhyMode::operator== ( const PhyMode rhs  )  const

Definition at line 255 of file PhyMode.cpp.

void wifimac::convergence::PhyMode::setGuardIntervalDuration ( wns::simulator::Time  gi  )  [inline]

Definition at line 146 of file PhyMode.hpp.

void wifimac::convergence::PhyMode::setMCS ( const MCS mcs  )  [inline]

Definition at line 121 of file PhyMode.hpp.

void wifimac::convergence::PhyMode::setNumberOfDataSubcarriers ( unsigned int  ds  )  [inline]

Definition at line 136 of file PhyMode.hpp.

void wifimac::convergence::PhyMode::setPreambleMode ( std::string  pm  )  [inline]

Definition at line 141 of file PhyMode.hpp.

void PhyMode::setSpatialStreams ( const std::vector< MCS > &  ss  ) 

Definition at line 237 of file PhyMode.cpp.

void PhyMode::setUniformMCS ( const MCS mcs,
unsigned int  numSS 
)

Definition at line 232 of file PhyMode.cpp.


Member Data Documentation

Definition at line 163 of file PhyMode.hpp.

Definition at line 161 of file PhyMode.hpp.

Definition at line 162 of file PhyMode.hpp.

Definition at line 160 of file PhyMode.hpp.


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

Generated on Sat May 26 03:32:40 2012 for openWNS by  doxygen 1.5.5