User Manual, Developers Guide and API Documentation

PhyMode.hpp File Reference

#include <string>
#include <WNS/Enum.hpp>
#include <WNS/pyconfig/View.hpp>
#include <WNS/service/phy/phymode/PhyModeInterface.hpp>
#include <WNS/service/phy/phymode/SNR2MIInterface.hpp>
#include <WNS/service/phy/phymode/MI2PERInterface.hpp>
#include <RISE/plmapping/CodeRates.hpp>

Include dependency graph for PhyMode.hpp:

Go to the source code of this file.

Namespaces

namespace  rise
namespace  rise::plmapping
namespace  rise::plmapping::tests

Classes

class  rise::plmapping::PhyMode
 Class encapsulating Modulation and Coding -> PHY Mode. For Interoperation with other modules (e.g.) the schedulers, which represent the PHYModes with an int only, this class provides the possibility to map each combination of Modulation and coding to a unique integer and vice versa. The rightmost 4 Bits of the integer represent the coding, allowing for up to 16 different coding schemes. the other bits represent the modulation. More...
class  rise::plmapping::PhyMode::UndefinedException
 Exception thrown when features used with undefined PhyMode. More...

Typedefs

typedef
wns::service::phy::phymode::Modulation 
rise::plmapping::Modulation
 typedef to correspond with the ENUM Modulations
typedef wns::SmartPtr
< rise::plmapping::PhyMode
rise::plmapping::PhyModePtr
 when a pointer to a PhyMode is needed, use this one (SmartPtr) which takes care of memory deallocation itself.

Functions

 rise::plmapping::ENUM (QAM256, 8)
 rise::plmapping::ENUM (QAM128, 7)
 rise::plmapping::ENUM (QAM64, 6)
 rise::plmapping::ENUM (QAM32, 5)
 rise::plmapping::ENUM (QAM16, 4)
 rise::plmapping::ENUM (QAM8, 3)
 rise::plmapping::ENUM (QPSK, 2)
 rise::plmapping::ENUM (BPSK, 1)
 rise::plmapping::ENUM_BEGIN (Modulations)
 the integer equivalents match the number of bits per modulation symbol (baud). This is used to correctly return the MI per Bit
 rise::plmapping::ENUM_END ()
std::ostream & rise::plmapping::operator<< (std::ostream &s, const PhyMode &p)
 define stream operator for class PhyMode

Variables

const unsigned int rise::plmapping::MAX_MODULATIONS = 8
const unsigned int rise::plmapping::MOD_BITS = 6
const unsigned int rise::plmapping::MOD_MASK = 63
const unsigned int rise::plmapping::UNDEFINED_MODULATION = 0
const unsigned int rise::plmapping::UNDEFINED_PHYMODE = 0


Generated on Sun May 27 03:32:21 2012 for openWNS by  doxygen 1.5.5