#include <rect_spectral_mask.h>
Inheritance diagram for RectSpectralMask:
Public Member Functions | |
RectSpectralMask () | |
double | getFreq () |
void | setFreq (double f) |
double | getPropagationSpeed () |
void | setPropagationSpeed (double s) |
double | getLambda () |
double | getBandwidth () |
void | setBandwidth (double b) |
double | getOverlap (MSpectralMask *msm, Packet *p) |
int | command (int argc, const char *const *argv) |
Protected Attributes | |
double | freq_ |
double | bandwidth_ |
center frequency of this transmission in Hz | |
double | c_ |
bandwidth of the signal in Hz |
Definition at line 41 of file rect_spectral_mask.h.
double RectSpectralMask::getOverlap | ( | MSpectralMask * | tm, | |
Packet * | p | |||
) | [virtual] |
Calculates how much current mask (cm) overlaps with a target mask (tm)
tm | target mask |
Implements MSpectralMask.
Definition at line 146 of file rect_spectral_mask.cc.
References bandwidth_, freq_, getBandwidth(), and getFreq().
Here is the call graph for this function:
int RectSpectralMask::command | ( | int | argc, | |
const char *const * | argv | |||
) | [virtual] |
TCL command interpreter
argc | ||
argv |
Reimplemented from MSpectralMask.
Definition at line 90 of file rect_spectral_mask.cc.
References getBandwidth(), getFreq(), getLambda(), getPropagationSpeed(), setBandwidth(), setFreq(), and setPropagationSpeed().
Here is the call graph for this function: