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

#include <PpmModulationBase.h>

Inheritance diagram for inet::physicallayer::PpmModulationBase:
inet::physicallayer::IModulation inet::IPrintableObject inet::physicallayer::_16PpmModulation inet::physicallayer::_4PpmModulation

Public Member Functions

 PpmModulationBase (unsigned int numberOfPulses)
 
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 numberOfPulses
 

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

◆ PpmModulationBase()

inet::physicallayer::PpmModulationBase::PpmModulationBase ( unsigned int  numberOfPulses)
14  :
16 {
17 }

Member Function Documentation

◆ calculateBER()

double inet::physicallayer::PpmModulationBase::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::PpmModulationBase::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::PpmModulationBase::getConstellationSize ( ) const
inline

Member Data Documentation

◆ numberOfPulses

unsigned int inet::physicallayer::PpmModulationBase::numberOfPulses
protected

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