#include <ParabolicAntenna.h>
inet::physicallayer::ParabolicAntenna::ParabolicAntenna |
( |
| ) |
|
double maxGain
Definition: ParabolicAntenna.h:30
degree beamWidth
Definition: ParabolicAntenna.h:32
AntennaBase()
Definition: AntennaBase.cc:25
scale< rad, 180000000, 3141593 > degree
Definition: Units.h:974
double minGain
Definition: ParabolicAntenna.h:31
#define NaN
Definition: INETMath.h:103
double inet::physicallayer::ParabolicAntenna::computeGain |
( |
const EulerAngles |
direction | ) |
const |
|
overridevirtual |
Returns the antenna gain in the provided direction.
The direction is relative to the antenna geometry, so the result depends only on the antenna characteristics. For transmissions, it determines how well the antenna converts input power into radio waves headed in the specified direction. For receptions, it determines how well the antenna converts radio waves arriving from the the specified direction.
Implements inet::physicallayer::IAntenna.
double maxGain
Definition: ParabolicAntenna.h:30
degree beamWidth
Definition: ParabolicAntenna.h:32
double minGain
Definition: ParabolicAntenna.h:31
const value_type & get() const
Definition: Units.h:89
double max(double a, double b)
Returns the greater of the given parameters.
Definition: INETMath.h:161
double dB2fraction(double dB)
Converts a dB value to fraction.
Definition: INETMath.h:166
double deg2rad(double deg)
Convert a degree value to radian.
Definition: INETMath.h:186
virtual double inet::physicallayer::ParabolicAntenna::getMaxGain |
( |
| ) |
const |
|
inlineoverridevirtual |
Returns the maximum possible antenna gain independent of any direction.
Implements inet::physicallayer::IAntenna.
double maxGain
Definition: ParabolicAntenna.h:30
void inet::physicallayer::ParabolicAntenna::initialize |
( |
int |
stage | ) |
|
|
overrideprotectedvirtual |
Reimplemented from inet::physicallayer::AntennaBase.
double maxGain
Definition: ParabolicAntenna.h:30
degree beamWidth
Definition: ParabolicAntenna.h:32
scale< rad, 180000000, 3141593 > degree
Definition: Units.h:974
double minGain
Definition: ParabolicAntenna.h:31
double dB2fraction(double dB)
Converts a dB value to fraction.
Definition: INETMath.h:166
Local initializations.
Definition: InitStages.h:35
virtual void initialize(int stage) override
Definition: AntennaBase.cc:31
std::ostream & inet::physicallayer::ParabolicAntenna::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::AntennaBase.
46 stream <<
"ParabolicAntenna";
48 stream <<
", maxGain = " <<
maxGain double maxGain
Definition: ParabolicAntenna.h:30
degree beamWidth
Definition: ParabolicAntenna.h:32
double minGain
Definition: ParabolicAntenna.h:31
virtual std::ostream & printToStream(std::ostream &stream, int level) const override
Prints this object to the provided output stream.
Definition: AntennaBase.cc:39
Definition: IPrintableObject.h:36
degree inet::physicallayer::ParabolicAntenna::beamWidth |
|
protected |
double inet::physicallayer::ParabolicAntenna::maxGain |
|
protected |
double inet::physicallayer::ParabolicAntenna::minGain |
|
protected |
The documentation for this class was generated from the following files: