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

#include <PPMModulationBase.h>

Inheritance diagram for inet::physicallayer::PPMModulationBase:
inet::physicallayer::IModulation inet::physicallayer::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::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 numberOfPulses
 

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::PPMModulationBase::PPMModulationBase ( unsigned int  numberOfPulses)
24  :
26 {
27 }
unsigned int numberOfPulses
Definition: PPMModulationBase.h:30

Member Function Documentation

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.

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

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

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

38 { return numberOfPulses; }
unsigned int numberOfPulses
Definition: PPMModulationBase.h:30

Member Data Documentation

unsigned int inet::physicallayer::PPMModulationBase::numberOfPulses
protected

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