|
INET Framework for OMNeT++/OMNEST
|
This class implements binary phase-shift keying. More...
#include <BPSKModulation.h>
Public Member Functions | |
| BPSKModulation () | |
| virtual std::ostream & | printToStream (std::ostream &stream, int level) const override |
| Prints this object to the provided output stream. More... | |
| 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::MQAMModulationBase | |
| MQAMModulationBase (const std::vector< APSKSymbol > *constellation) | |
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 APSKSymbol * | mapToConstellationDiagram (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 BPSKModulation | singleton |
Static Protected Attributes | |
| static const std::vector< APSKSymbol > | constellation |
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 APSKModulationBase * | findModulation (const char *name) |
Protected Attributes inherited from inet::physicallayer::APSKModulationBase | |
| const std::vector< APSKSymbol > * | constellation |
| const unsigned int | codeWordSize |
| const unsigned int | constellationSize |
This class implements binary phase-shift keying.
http://en.wikipedia.org/wiki/Phase-shift_keying#Binary_phase-shift_keying_.28BPSK.29
| inet::physicallayer::BPSKModulation::BPSKModulation | ( | ) |
|
overridevirtual |
Returns the bit error rate as a function of the signal to noise and interference ratio, the bandwidth, and the gross (physical) bitrate.
Reimplemented from inet::physicallayer::MQAMModulationBase.
|
overridevirtual |
Returns the symbol error rate as a function of the signal to noise and interference ratio, the bandwidth, and the gross (physical) bitrate.
Reimplemented from inet::physicallayer::MQAMModulationBase.
Referenced by calculateBER(), and inet::physicallayer::Ieee80211OFDMErrorModel::computeSymbolModel().
|
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.
|
staticprotected |
|
static |
Referenced by inet::physicallayer::Ieee80211OFDMErrorModel::computeSymbolModel(), inet::physicallayer::Ieee80211LayeredOFDMReceiver::createSignalFieldBitModel(), inet::physicallayer::APSKModulationBase::findModulation(), inet::physicallayer::Ieee80211NistErrorModel::getOFDMAndERPOFDMChunkSuccessRate(), inet::physicallayer::Ieee80211YansErrorModel::getOFDMAndERPOFDMChunkSuccessRate(), and inet::physicallayer::Ieee80211OFDMModulation::printToStream().