|
FERS 1.0.0
The Flexible Extensible Radar Simulator
|
Class representing a radar signal with associated properties. More...
#include "radar_signal.h"
Public Member Functions | |
| RadarSignal (std::string name, RealType power, RealType carrierfreq, RealType length, std::unique_ptr< Signal > signal) | |
| Constructs a RadarSignal object. | |
| ~RadarSignal ()=default | |
| RadarSignal (const RadarSignal &) noexcept=delete | |
| RadarSignal & | operator= (const RadarSignal &) noexcept=delete |
| RadarSignal (RadarSignal &&) noexcept=delete | |
| RadarSignal & | operator= (RadarSignal &&) noexcept=delete |
| void | setFilename (const std::string &filename) noexcept |
| Sets the filename associated with this signal. | |
| const std::optional< std::string > & | getFilename () const noexcept |
| Gets the filename associated with this signal. | |
| RealType | getPower () const noexcept |
| Gets the power of the radar signal. | |
| RealType | getCarrier () const noexcept |
| Gets the carrier frequency of the radar signal. | |
| const std::string & | getName () const noexcept |
| Gets the name of the radar signal. | |
| RealType | getRate () const noexcept |
| Gets the sample rate of the radar signal. | |
| RealType | getLength () const noexcept |
| Gets the length of the radar signal. | |
| const Signal * | getSignal () const noexcept |
| Gets the underlying signal object. | |
| std::vector< ComplexType > | render (const std::vector< interp::InterpPoint > &points, unsigned &size, RealType fracWinDelay) const |
| Renders the radar signal. | |
Class representing a radar signal with associated properties.
Definition at line 120 of file radar_signal.h.
| fers_signal::RadarSignal::RadarSignal | ( | std::string | name, |
| RealType | power, | ||
| RealType | carrierfreq, | ||
| RealType | length, | ||
| std::unique_ptr< Signal > | signal | ||
| ) |
Constructs a RadarSignal object.
| name | The name of the radar signal. |
| power | The power of the radar signal. |
| carrierfreq | The carrier frequency of the radar signal. |
| length | The length of the radar signal. |
| signal | A unique pointer to the Signal object containing the waveform data. |
| std::runtime_error | if the signal is null. |
Definition at line 36 of file radar_signal.cpp.
|
default |
|
deletenoexcept |
|
deletenoexcept |
|
noexcept |
Gets the carrier frequency of the radar signal.
Definition at line 170 of file radar_signal.h.
Referenced by simulation::calculateDirectPathContribution(), simulation::calculateReflectedPathContribution(), simulation::solveRe(), simulation::solveReDirect(), and fers_signal::to_json().
Here is the caller graph for this function:
|
noexcept |
Gets the filename associated with this signal.
Definition at line 156 of file radar_signal.h.
Referenced by fers_signal::to_json().
Here is the caller graph for this function:
|
noexcept |
Gets the length of the radar signal.
Definition at line 191 of file radar_signal.h.
Referenced by simulation::calculateResponse().
Here is the caller graph for this function:
|
noexcept |
Gets the name of the radar signal.
Definition at line 177 of file radar_signal.h.
Referenced by fers_signal::to_json(), and radar::to_json().
Here is the caller graph for this function:
|
noexcept |
Gets the power of the radar signal.
Definition at line 163 of file radar_signal.h.
Referenced by simulation::calculatePreviewLinks(), and fers_signal::to_json().
Here is the caller graph for this function:
|
noexcept |
Gets the sample rate of the radar signal.
Definition at line 184 of file radar_signal.h.
Referenced by serial::Response::renderBinary().
Here is the caller graph for this function:
|
noexcept |
Gets the underlying signal object.
Definition at line 197 of file radar_signal.h.
Referenced by fers_signal::to_json().
Here is the caller graph for this function:
|
deletenoexcept |
|
deletenoexcept |
| std::vector< ComplexType > fers_signal::RadarSignal::render | ( | const std::vector< interp::InterpPoint > & | points, |
| unsigned & | size, | ||
| RealType | fracWinDelay | ||
| ) | const |
Renders the radar signal.
| points | A vector of interpolation points. |
| size | Reference to store the size of the rendered data. |
| fracWinDelay | Fractional window delay to apply during rendering. |
Definition at line 46 of file radar_signal.cpp.
Referenced by serial::Response::renderBinary().
Here is the caller graph for this function:
|
noexcept |
Sets the filename associated with this signal.
| filename | The source filename. |
Definition at line 150 of file radar_signal.h.