INET Framework for OMNeT++/OMNEST
|
Base class for modulations using various amplitude and phase-shift keying. More...
#include <APSKModulationBase.h>
Public Member Functions | |
APSKModulationBase (const std::vector< APSKSymbol > *constellation) | |
virtual std::ostream & | printToStream (std::ostream &stream, int level) const override |
Prints this object to the provided output stream. More... | |
virtual const std::vector< APSKSymbol > * | getConstellation () const |
virtual unsigned int | getConstellationSize () const override |
virtual unsigned int | getCodeWordSize () const override |
virtual const APSKSymbol * | mapToConstellationDiagram (const ShortBitVector &symbol) const |
virtual ShortBitVector | demapToBitRepresentation (const APSKSymbol *symbol) const |
Public Member Functions inherited from inet::physicallayer::IModulation | |
virtual double | calculateBER (double snir, Hz bandwidth, bps bitrate) const =0 |
Returns the bit error rate as a function of the signal to noise and interference ratio, the bandwidth, and the gross (physical) bitrate. More... | |
virtual double | calculateSER (double snir, Hz bandwidth, bps bitrate) const =0 |
Returns the symbol 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::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 Member Functions | |
static const APSKModulationBase * | findModulation (const char *name) |
Protected Attributes | |
const std::vector< APSKSymbol > * | constellation |
const unsigned int | codeWordSize |
const unsigned int | constellationSize |
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 } |
Base class for modulations using various amplitude and phase-shift keying.
inet::physicallayer::APSKModulationBase::APSKModulationBase | ( | const std::vector< APSKSymbol > * | constellation | ) |
|
virtual |
Referenced by inet::physicallayer::APSKDemodulator::demodulate(), and inet::physicallayer::Ieee80211OFDMDemodulator::demodulateSymbol().
|
static |
Referenced by inet::physicallayer::Ieee80211OFDMModulatorModule::initialize(), inet::physicallayer::Ieee80211OFDMDemodulatorModule::initialize(), inet::physicallayer::NarrowbandTransmitterBase::initialize(), inet::physicallayer::NarrowbandReceiverBase::initialize(), inet::physicallayer::APSKModulator::initialize(), and inet::physicallayer::APSKDemodulator::initialize().
|
inlineoverridevirtual |
Implements inet::physicallayer::IAPSKModulation.
Referenced by inet::physicallayer::Ieee80211LayeredOFDMReceiver::calculatePadding(), inet::physicallayer::Ieee80211OFDMModeBase::computeGrossBitrate(), inet::physicallayer::Ieee80211HTCompliantCodes::getCompliantCode(), inet::physicallayer::Ieee80211OFDMDataMode::getDuration(), and inet::physicallayer::APSKModulator::modulate().
|
inlinevirtual |
Referenced by inet::physicallayer::Ieee80211OFDMErrorModel::computeSymbolModel().
|
inlineoverridevirtual |
Implements inet::physicallayer::IAPSKModulation.
Referenced by inet::physicallayer::Ieee80211OFDMErrorModel::computeSymbolModel().
|
virtual |
Referenced by inet::physicallayer::APSKModulator::modulate().
|
overridevirtual |
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::IPrintableObject.
Reimplemented in inet::physicallayer::QAM16Modulation, inet::physicallayer::QAM256Modulation, inet::physicallayer::QAM64Modulation, inet::physicallayer::BPSKModulation, inet::physicallayer::QPSKModulation, inet::physicallayer::MASKModulation, inet::physicallayer::MPSKModulation, and inet::physicallayer::MQAMModulation.
Referenced by inet::physicallayer::MASKModulation::printToStream(), inet::physicallayer::MQAMModulation::printToStream(), and inet::physicallayer::MPSKModulation::printToStream().
|
protected |
|
protected |
Referenced by demapToBitRepresentation(), mapToConstellationDiagram(), inet::physicallayer::DSSSOQPSK16Modulation::~DSSSOQPSK16Modulation(), inet::physicallayer::MASKModulation::~MASKModulation(), inet::physicallayer::MPSKModulation::~MPSKModulation(), and inet::physicallayer::MQAMModulation::~MQAMModulation().
|
protected |