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::physicallayer::IPrintableObject

Public Member Functions

 MFSKModulation (unsigned int codeWordSize)
 
virtual std::ostream & printToStream (std::ostream &stream, int level) 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::physicallayer::IPrintableObject
virtual ~IPrintableObject ()
 
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 codeWordSize
 

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
}
 

Detailed Description

This modulation implements parameterized frequency-shift keying.

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

Constructor & Destructor Documentation

inet::physicallayer::MFSKModulation::MFSKModulation ( unsigned int  codeWordSize)
24  :
26 {
27 }
unsigned int codeWordSize
Definition: MFSKModulation.h:35

Member Function Documentation

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.

35 {
36  throw cRuntimeError("Not implemented yet");
37 }
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.

40 {
41  throw cRuntimeError("Not implemented yet");
42 }
std::ostream & inet::physicallayer::MFSKModulation::printToStream ( std::ostream &  stream,
int  level 
) const
overridevirtual

Prints this object to the provided output stream.

Function calls to operator<< with pointers or references either const or not are all forwarded to this function.

Reimplemented from inet::physicallayer::IPrintableObject.

30 {
31  return stream << "MFSKModulaiton";
32 }

Member Data Documentation

unsigned int inet::physicallayer::MFSKModulation::codeWordSize
protected

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