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

This modulation implements parameterized frequency-shift keying. More...

#include <MfskModulation.h>

Inheritance diagram for inet::physicallayer::MfskModulation:
inet::physicallayer::IModulation inet::IPrintableObject

Public Member Functions

 MfskModulation (unsigned int codeWordSize)
 
virtual std::ostream & printToStream (std::ostream &stream, int level, int evFlags=0) const override
 Prints this object to the provided output stream. 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...
 
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...
 
- Public Member Functions inherited from inet::IPrintableObject
virtual ~IPrintableObject ()
 
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 codeWordSize
 

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) }
 

Detailed Description

This modulation implements parameterized frequency-shift keying.

http://en.wikipedia.org/wiki/Multiple_frequency-shift_keying

Constructor & Destructor Documentation

◆ MfskModulation()

inet::physicallayer::MfskModulation::MfskModulation ( unsigned int  codeWordSize)
14  :
16 {
17 }

Member Function Documentation

◆ calculateBER()

double inet::physicallayer::MfskModulation::calculateBER ( double  snir,
Hz  bandwidth,
bps  bitrate 
) const
overridevirtual

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 {
26  throw cRuntimeError("Not implemented yet");
27 }

◆ calculateSER()

double inet::physicallayer::MfskModulation::calculateSER ( double  snir,
Hz  bandwidth,
bps  bitrate 
) const
overridevirtual

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.

30 {
31  throw cRuntimeError("Not implemented yet");
32 }

◆ printToStream()

std::ostream & inet::physicallayer::MfskModulation::printToStream ( std::ostream &  stream,
int  level,
int  evFlags = 0 
) const
overridevirtual

Prints this object to the provided output stream.

Reimplemented from inet::IPrintableObject.

20 {
21  return stream << "MFSKModulaiton";
22 }

Member Data Documentation

◆ codeWordSize

unsigned int inet::physicallayer::MfskModulation::codeWordSize
protected

The documentation for this class was generated from the following files:
inet::physicallayer::MfskModulation::codeWordSize
unsigned int codeWordSize
Definition: MfskModulation.h:25