MSpectralMask Class Reference

#include <mspectralmask.h>

Inheritance diagram for MSpectralMask:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual double getFreq ()=0
virtual void setFreq (double f)=0
virtual double getPropagationSpeed ()=0
virtual void setPropagationSpeed (double s)=0
virtual double getLambda ()=0
virtual double getBandwidth ()=0
virtual void setBandwidth (double b)=0
virtual int command (int argc, const char *const *argv)
virtual double getOverlap (MSpectralMask *tm, Packet *p)=0

Detailed Description

Spectral mask of the transmitted signal Used to calculate interference, propagation, etc.

Definition at line 43 of file mspectralmask.h.


Member Function Documentation

virtual int MSpectralMask::command ( int  argc,
const char *const *  argv 
) [inline, virtual]

TCL command interpreter

Parameters:
argc 
argv 
Returns:

Reimplemented in RectSpectralMask.

Definition at line 64 of file mspectralmask.h.

virtual double MSpectralMask::getOverlap ( MSpectralMask tm,
Packet *  p 
) [pure virtual]

Calculates how much current mask (cm) overlaps with a target mask (tm)

Parameters:
tm target mask
Returns:
(integral cm(f) * tm(f) df) / (integral cm(f) df)

Implemented in RectSpectralMask.

Referenced by MPhy::getRxPower().


The documentation for this class was generated from the following file:
Generated on Wed Nov 26 15:51:57 2008 for NS-MIRACLE library by  doxygen 1.5.2