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

This modulation implements gray coded rectangular quadrature amplitude modulation with 64 symbols. More...

#include <QAM64Modulation.h>

Inheritance diagram for inet::physicallayer::QAM64Modulation:
inet::physicallayer::MQAMModulationBase inet::physicallayer::APSKModulationBase inet::physicallayer::IAPSKModulation inet::physicallayer::IModulation inet::physicallayer::IPrintableObject

Public Member Functions

 QAM64Modulation ()
 
virtual std::ostream & printToStream (std::ostream &stream, int level) const override
 Prints this object to the provided output stream. More...
 
- Public Member Functions inherited from inet::physicallayer::MQAMModulationBase
 MQAMModulationBase (const std::vector< APSKSymbol > *constellation)
 
virtual double calculateSER (double snir, Hz bandwidth, bps bitrate) const override
 Returns the symbol error rate as a function of the signal to noise and interference ratio, the bandwidth, and the gross (physical) bitrate. More...
 
virtual double calculateBER (double snir, Hz bandwidth, bps bitrate) const override
 Returns the bit error rate as a function of the signal to noise and interference ratio, the bandwidth, and the gross (physical) bitrate. More...
 
- Public Member Functions inherited from inet::physicallayer::APSKModulationBase
 APSKModulationBase (const std::vector< APSKSymbol > *constellation)
 
virtual const std::vector< APSKSymbol > * getConstellation () const
 
virtual unsigned int getConstellationSize () const override
 
virtual unsigned int getCodeWordSize () const override
 
virtual const APSKSymbolmapToConstellationDiagram (const ShortBitVector &symbol) const
 
virtual ShortBitVector demapToBitRepresentation (const APSKSymbol *symbol) const
 
- Public Member Functions inherited from inet::physicallayer::IPrintableObject
virtual ~IPrintableObject ()
 
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
 

Static Public Attributes

static const QAM64Modulation singleton
 

Static Protected Attributes

static const std::vector< APSKSymbolconstellation
 

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
}
 
- Static Public Member Functions inherited from inet::physicallayer::APSKModulationBase
static const APSKModulationBasefindModulation (const char *name)
 
- Protected Attributes inherited from inet::physicallayer::APSKModulationBase
const std::vector< APSKSymbol > * constellation
 
const unsigned int codeWordSize
 
const unsigned int constellationSize
 

Detailed Description

This modulation implements gray coded rectangular quadrature amplitude modulation with 64 symbols.

http://en.wikipedia.org/wiki/Quadrature_amplitude_modulation

Constructor & Destructor Documentation

inet::physicallayer::QAM64Modulation::QAM64Modulation ( )
45 {
46 }
MQAMModulationBase(const std::vector< APSKSymbol > *constellation)
Definition: MQAMModulationBase.cc:24
static const std::vector< APSKSymbol > constellation
Definition: QAM64Modulation.h:39

Member Function Documentation

virtual std::ostream& inet::physicallayer::QAM64Modulation::printToStream ( std::ostream &  stream,
int  level 
) const
inlineoverridevirtual

Prints this object to the provided output stream.

Function calls to operator<< with pointers or references either const or not are all forwarded to this function.

Reimplemented from inet::physicallayer::APSKModulationBase.

44 { return stream << "QAM64Modulation"; }

Member Data Documentation

const std::vector< APSKSymbol > inet::physicallayer::QAM64Modulation::constellation
staticprotected
Initial value:
= {
k * APSKSymbol(-7, -7), k * APSKSymbol(7, -7), k * APSKSymbol(-1, -7), k * APSKSymbol(1, -7), k * APSKSymbol(-5, -7),
k * APSKSymbol(5, -7), k * APSKSymbol(-3, -7), k * APSKSymbol(3, -7), k * APSKSymbol(-7, 7), k * APSKSymbol(7, 7),
k * APSKSymbol(-1, 7), k * APSKSymbol(1, 7), k * APSKSymbol(-5, 7), k * APSKSymbol(5, 7), k * APSKSymbol(-3, 7),
k * APSKSymbol(3, 7), k * APSKSymbol(-7, -1), k * APSKSymbol(7, -1), k * APSKSymbol(-1, -1), k * APSKSymbol(1, -1),
k * APSKSymbol(-5, -1), k * APSKSymbol(5, -1), k * APSKSymbol(-3, -1), k * APSKSymbol(3, -1), k * APSKSymbol(-7, 1),
k * APSKSymbol(7, 1), k * APSKSymbol(-1, 1), k * APSKSymbol(1, 1), k * APSKSymbol(-5, 1), k * APSKSymbol(5, 1),
k * APSKSymbol(-3, 1), k * APSKSymbol(3, 1), k * APSKSymbol(-7, -5), k * APSKSymbol(7, -5), k * APSKSymbol(-1, -5),
k * APSKSymbol(1, -5), k * APSKSymbol(-5, -5), k * APSKSymbol(5, -5), k * APSKSymbol(-3, -5), k * APSKSymbol(3, -5),
k * APSKSymbol(-7, 5), k * APSKSymbol(7, 5), k * APSKSymbol(-1, 5), k * APSKSymbol(1, 5), k * APSKSymbol(-5, 5),
k * APSKSymbol(5, 5), k * APSKSymbol(-3, 5), k * APSKSymbol(3, 5), k * APSKSymbol(-7, -3), k * APSKSymbol(7, -3),
k * APSKSymbol(-1, -3), k * APSKSymbol(1, -3), k * APSKSymbol(-5, -3), k * APSKSymbol(5, -3), k * APSKSymbol(-3, -3),
k * APSKSymbol(3, -3), k * APSKSymbol(-7, 3), k * APSKSymbol(7, 3), k * APSKSymbol(-1, 3), k * APSKSymbol(1, 3),
k * APSKSymbol(-5, 3), k * APSKSymbol(5, 3), k * APSKSymbol(-3, 3), k * APSKSymbol(3, 3)
}

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