#include <DipoleAntenna.h>
inet::physicallayer::DipoleAntenna::DipoleAntenna |
( |
| ) |
|
AntennaBase()
Definition: AntennaBase.cc:25
m length
Definition: DipoleAntenna.h:30
#define NaN
Definition: INETMath.h:103
double inet::physicallayer::DipoleAntenna::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.
#define M_PI_2
Definition: INETMath.h:68
Value sin(const value< Value, Unit > &angle)
Definition: Units.h:1195
virtual m inet::physicallayer::DipoleAntenna::getLength |
( |
| ) |
const |
|
inlinevirtual |
m length
Definition: DipoleAntenna.h:30
virtual double inet::physicallayer::DipoleAntenna::getMaxGain |
( |
| ) |
const |
|
inlineoverridevirtual |
void inet::physicallayer::DipoleAntenna::initialize |
( |
int |
stage | ) |
|
|
overrideprotectedvirtual |
Reimplemented from inet::physicallayer::AntennaBase.
m length
Definition: DipoleAntenna.h:30
Local initializations.
Definition: InitStages.h:35
virtual void initialize(int stage) override
Definition: AntennaBase.cc:31
value< double, units::m > m
Definition: Units.h:1047
std::ostream & inet::physicallayer::DipoleAntenna::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.
47 stream <<
"DipoleAntenna";
49 stream <<
", length = " <<
length;
m length
Definition: DipoleAntenna.h:30
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
m inet::physicallayer::DipoleAntenna::length |
|
protected |
The documentation for this class was generated from the following files: