|
FERS 1.0.0
The Flexible Extensible Radar Simulator
|
Represents a radar system on a platform. More...
#include "radar_obj.h"
Inheritance diagram for radar::Radar:
Collaboration diagram for radar::Radar:Public Member Functions | |
| Radar (Platform *platform, std::string name) noexcept | |
| Constructs a Radar object. | |
| ~Radar () override=default | |
| Radar (const Radar &)=delete | |
| Radar & | operator= (const Radar &)=delete |
| Radar (Radar &&)=delete | |
| Radar & | operator= (Radar &&)=delete |
| const Radar * | getAttached () const noexcept |
| Retrieves the attached radar object. | |
| const antenna::Antenna * | getAntenna () const noexcept |
| Gets the antenna associated with this radar. | |
| RealType | getGain (const math::SVec3 &angle, const math::SVec3 &refangle, RealType wavelength) const |
| Calculates the radar gain based on input angles and wavelength. | |
| virtual RealType | getNoiseTemperature (const math::SVec3 &angle) const noexcept |
| Gets the noise temperature of the radar. | |
| std::shared_ptr< timing::Timing > | getTiming () const |
| Retrieves the timing source for the radar. | |
| void | setTiming (const std::shared_ptr< timing::Timing > &tim) |
| Sets the timing source for the radar. | |
| void | setAntenna (const antenna::Antenna *ant) |
| Sets the antenna for the radar. | |
| void | setAttached (const Radar *obj) |
| Attaches another radar object to this radar. | |
| math::Vec3 | getPosition (const RealType time) const |
| Retrieves the position of the object. | |
| math::SVec3 | getRotation (const RealType time) const |
| Retrieves the rotation of the object. | |
| Platform * | getPlatform () const noexcept |
| Retrieves the associated platform of the object. | |
| const std::string & | getName () const noexcept |
| Retrieves the name of the object. | |
Protected Attributes | |
| std::shared_ptr< timing::Timing > | _timing |
| Timing source for the radar. | |
Represents a radar system on a platform.
Definition at line 45 of file radar_obj.h.
|
noexcept |
Constructs a Radar object.
| platform | Pointer to the platform on which the radar is mounted. |
| name | Name of the radar object. |
Definition at line 54 of file radar_obj.h.
|
overridedefault |
|
delete |
|
delete |
|
noexcept |
Gets the antenna associated with this radar.
Definition at line 78 of file radar_obj.h.
Referenced by radar::to_json(), and radar::to_json().
Here is the caller graph for this function:
|
noexcept |
Retrieves the attached radar object.
Definition at line 71 of file radar_obj.h.
Referenced by simulation::calculatePreviewLinks(), and simulation::calculateResponse().
Here is the caller graph for this function:| RealType radar::Radar::getGain | ( | const math::SVec3 & | angle, |
| const math::SVec3 & | refangle, | ||
| RealType | wavelength | ||
| ) | const |
Calculates the radar gain based on input angles and wavelength.
| angle | The radar's pointing angle. |
| refangle | The reference angle for comparison. |
| wavelength | The wavelength of the radar signal. |
Definition at line 26 of file radar_obj.cpp.
References antenna::Antenna::getGain().
Here is the call graph for this function:
|
noexceptinherited |
Retrieves the name of the object.
Definition at line 68 of file object.h.
Referenced by simulation::calculatePreviewLinks(), simulation::calculateResponse(), processing::finalizeCwReceiver(), serial::Response::getTransmitterName(), processing::runPulsedFinalizer(), radar::Receiver::setNoiseTemperature(), radar::to_json(), radar::to_json(), and radar::to_json().
Here is the caller graph for this function:
|
virtualnoexcept |
Gets the noise temperature of the radar.
| angle | The angle at which the noise temperature is calculated. |
Reimplemented in radar::Receiver.
Definition at line 31 of file radar_obj.cpp.
Referenced by radar::Receiver::getNoiseTemperature().
Here is the caller graph for this function:
|
noexceptinherited |
Retrieves the associated platform of the object.
Definition at line 61 of file object.h.
Referenced by simulation::calculateDirectPathContribution(), simulation::calculateReflectedPathContribution(), and simulation::calculateResponse().
Here is the caller graph for this function:
|
inherited |
Retrieves the position of the object.
| time | The time at which to get the position of the object. |
Definition at line 46 of file object.h.
References radar::Platform::getPosition().
Referenced by simulation::calculatePreviewLinks(), simulation::solveRe(), and simulation::solveReDirect().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inherited |
Retrieves the rotation of the object.
| time | The time at which to get the rotation of the object. |
Definition at line 54 of file object.h.
References radar::Platform::getRotation().
Referenced by radar::FileTarget::getRcs(), and processing::runPulsedFinalizer().
Here is the call graph for this function:
Here is the caller graph for this function:| std::shared_ptr< timing::Timing > radar::Radar::getTiming | ( | ) | const |
Retrieves the timing source for the radar.
Definition at line 66 of file radar_obj.cpp.
Referenced by processing::finalizeCwReceiver(), processing::runPulsedFinalizer(), radar::to_json(), and radar::to_json().
Here is the caller graph for this function:| void radar::Radar::setAntenna | ( | const antenna::Antenna * | ant | ) |
Sets the antenna for the radar.
| ant | Pointer to the antenna to set. |
Definition at line 46 of file radar_obj.cpp.
References LOG.
| void radar::Radar::setAttached | ( | const Radar * | obj | ) |
Attaches another radar object to this radar.
| obj | Pointer to the radar object to attach. |
| std::runtime_error | If another object is already attached. |
Definition at line 56 of file radar_obj.cpp.
References LOG.
| void radar::Radar::setTiming | ( | const std::shared_ptr< timing::Timing > & | tim | ) |
Sets the timing source for the radar.
| tim | Shared pointer to the timing source to set. |
Definition at line 36 of file radar_obj.cpp.
|
protected |
Timing source for the radar.
Definition at line 129 of file radar_obj.h.
Referenced by getTiming(), radar::Receiver::getWindowStart(), and setTiming().