#include <mspectralmask.h>
Inheritance diagram for MSpectralMask:
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 |
Definition at line 43 of file mspectralmask.h.
virtual int MSpectralMask::command | ( | int | argc, | |
const char *const * | argv | |||
) | [inline, virtual] |
TCL command interpreter
argc | ||
argv |
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)
tm | target mask |
Implemented in RectSpectralMask.
Referenced by MPhy::getRxPower().