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

#include <DPSKModulationBase.h>

Inheritance diagram for inet::physicallayer::DPSKModulationBase:
inet::physicallayer::IModulation inet::physicallayer::IPrintableObject inet::physicallayer::DBPSKModulation inet::physicallayer::DQPSKModulation

Public Member Functions

 DPSKModulationBase (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::physicallayer::IPrintableObject
virtual ~IPrintableObject ()
 
virtual std::ostream & printToStream (std::ostream &stream, int level) const
 Prints this object to the provided output stream. More...
 
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
 

Protected Attributes

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
}
 

Constructor & Destructor Documentation

inet::physicallayer::DPSKModulationBase::DPSKModulationBase ( unsigned int  constellationSize)
24  :
26 {
27 }
unsigned int constellationSize
Definition: DPSKModulationBase.h:30

Member Function Documentation

double inet::physicallayer::DPSKModulationBase::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.

35 { throw cRuntimeError("Unimplemented!"); }
double inet::physicallayer::DPSKModulationBase::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.

36 { throw cRuntimeError("Unimplemented!"); }
unsigned int inet::physicallayer::DPSKModulationBase::getConstellationSize ( ) const
inline

Referenced by inet::physicallayer::Ieee80211DsssDataMode::getNetBitrate().

38 { return constellationSize; }
unsigned int constellationSize
Definition: DPSKModulationBase.h:30

Member Data Documentation

unsigned int inet::physicallayer::DPSKModulationBase::constellationSize
protected

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