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

#include <GfskModulationBase.h>

Inheritance diagram for inet::physicallayer::GfskModulationBase:
inet::physicallayer::IModulation inet::IPrintableObject inet::physicallayer::_2GfskModulation inet::physicallayer::_4GfskModulation

Public Member Functions

 GfskModulationBase (unsigned int constellationSize)
 
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...
 
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...
 
unsigned int getConstellationSize () const
 
- Public Member Functions inherited from inet::IPrintableObject
virtual ~IPrintableObject ()
 
virtual std::ostream & printToStream (std::ostream &stream, int level, int evFlags=0) const
 Prints this object to the provided output stream. More...
 
virtual std::string printToString () const
 
virtual std::string printToString (int level, int evFlags=0) const
 
virtual std::string getInfoStringRepresentation (int evFlags=0) const
 
virtual std::string getDetailStringRepresentation (int evFlags=0) const
 
virtual std::string getDebugStringRepresentation (int evFlags=0) const
 
virtual std::string getTraceStringRepresentation (int evFlags=0) const
 
virtual std::string getCompleteStringRepresentation (int evFlags=0) const
 

Protected Attributes

unsigned int constellationSize
 

Additional Inherited Members

- Public Types inherited from inet::IPrintableObject
enum  PrintLevel {
  PRINT_LEVEL_TRACE, PRINT_LEVEL_DEBUG, PRINT_LEVEL_DETAIL, PRINT_LEVEL_INFO,
  PRINT_LEVEL_COMPLETE = INT_MIN
}
 
enum  PrintFlag { PRINT_FLAG_FORMATTED = (1 << 0), PRINT_FLAG_MULTILINE = (1 << 1) }
 

Constructor & Destructor Documentation

◆ GfskModulationBase()

inet::physicallayer::GfskModulationBase::GfskModulationBase ( unsigned int  constellationSize)
14  :
16 {
17 }

Member Function Documentation

◆ calculateBER()

double inet::physicallayer::GfskModulationBase::calculateBER ( double  snir,
Hz  bandwidth,
bps  bitrate 
) const
inlineoverridevirtual

Returns the bit error rate as a function of the signal to noise and interference ratio, the bandwidth, and the gross (physical) bitrate.

Implements inet::physicallayer::IModulation.

25 { throw cRuntimeError("Unimplemented!"); }

◆ calculateSER()

double inet::physicallayer::GfskModulationBase::calculateSER ( double  snir,
Hz  bandwidth,
bps  bitrate 
) const
inlineoverridevirtual

Returns the symbol error rate as a function of the signal to noise and interference ratio, the bandwidth, and the gross (physical) bitrate.

Implements inet::physicallayer::IModulation.

26 { throw cRuntimeError("Unimplemented!"); }

◆ getConstellationSize()

unsigned int inet::physicallayer::GfskModulationBase::getConstellationSize ( ) const
inline

Member Data Documentation

◆ constellationSize

unsigned int inet::physicallayer::GfskModulationBase::constellationSize
protected

The documentation for this class was generated from the following files:
inet::physicallayer::GfskModulationBase::constellationSize
unsigned int constellationSize
Definition: GfskModulationBase.h:20