|
FERS 0.1.0
The Flexible Extensible Radar Simulator
|
Abstract base class representing an antenna. More...
#include "antenna_factory.h"
Inheritance diagram for antenna::Antenna:Public Member Functions | |
| Antenna (std::string name, const SimId id=0) noexcept | |
| Constructs an Antenna object with the given name. | |
| virtual | ~Antenna ()=default |
| Antenna (const Antenna &)=delete | |
| Antenna & | operator= (const Antenna &)=delete |
| Antenna (Antenna &&)=default | |
| Antenna & | operator= (Antenna &&)=default |
| virtual RealType | getGain (const math::SVec3 &angle, const math::SVec3 &refangle, RealType wavelength) const =0 |
| Computes the gain of the antenna based on the input angle and reference angle. | |
| RealType | getEfficiencyFactor () const noexcept |
| Retrieves the efficiency factor of the antenna. | |
| std::string | getName () const noexcept |
| Retrieves the name of the antenna. | |
| SimId | getId () const noexcept |
| Retrieves the unique ID of the antenna. | |
| virtual RealType | getNoiseTemperature (const math::SVec3 &) const noexcept |
| Computes the noise temperature of the antenna based on the angle. | |
| void | setEfficiencyFactor (RealType loss) noexcept |
| Sets the efficiency factor of the antenna. | |
| void | setName (std::string name) noexcept |
| Sets the name of the antenna. | |
Static Protected Member Functions | |
| static RealType | getAngle (const math::SVec3 &angle, const math::SVec3 &refangle) noexcept |
| Computes the angle between the input and reference angles. | |
Abstract base class representing an antenna.
Definition at line 41 of file antenna_factory.h.
Constructs an Antenna object with the given name.
| name | The name of the antenna. |
Definition at line 49 of file antenna_factory.h.
|
virtualdefault |
|
default |
|
staticprotectednoexcept |
Computes the angle between the input and reference angles.
| angle | The input angle. |
| refangle | The reference angle. |
Definition at line 356 of file antenna_factory.cpp.
References math::SVec3::length.
|
noexcept |
Retrieves the efficiency factor of the antenna.
Definition at line 80 of file antenna_factory.h.
Referenced by antenna::Isotropic::getGain(), antenna::XmlAntenna::getGain(), and antenna::H5Antenna::getGain().
Here is the caller graph for this function:
|
pure virtual |
Computes the gain of the antenna based on the input angle and reference angle.
| angle | The angle at which the gain is to be computed. |
| refangle | The reference angle. |
| wavelength | The wavelength of the signal. |
Implemented in antenna::Isotropic, antenna::Sinc, antenna::Gaussian, antenna::SquareHorn, antenna::Parabolic, antenna::XmlAntenna, and antenna::H5Antenna.
Referenced by fers_get_antenna_pattern(), and radar::Radar::getGain().
Here is the caller graph for this function:
|
noexcept |
Retrieves the unique ID of the antenna.
Definition at line 94 of file antenna_factory.h.
Referenced by radar::to_json().
Here is the caller graph for this function:
|
noexcept |
Retrieves the name of the antenna.
Definition at line 87 of file antenna_factory.h.
|
virtualnoexcept |
Computes the noise temperature of the antenna based on the angle.
| angle | The angle at which the noise temperature is to be computed. |
Definition at line 103 of file antenna_factory.h.
Sets the efficiency factor of the antenna.
| loss | The new efficiency factor. |
Definition at line 347 of file antenna_factory.cpp.
References LOG.
|
noexcept |
Sets the name of the antenna.
| name | The new name of the antenna. |
Definition at line 117 of file antenna_factory.h.