|
FERS 1.0.0
The Flexible Extensible Radar Simulator
|
Manages timing properties such as frequency, offsets, and synchronization. More...
#include "prototype_timing.h"
Public Member Functions | |
| PrototypeTiming (std::string name) noexcept | |
| Constructor for PrototypeTiming. | |
| ~PrototypeTiming ()=default | |
| PrototypeTiming (const PrototypeTiming &)=default | |
| PrototypeTiming (PrototypeTiming &&)=default | |
| PrototypeTiming & | operator= (const PrototypeTiming &)=default |
| PrototypeTiming & | operator= (PrototypeTiming &&)=default |
| void | copyAlphas (std::vector< RealType > &alphas, std::vector< RealType > &weights) const noexcept |
| Copies the alphas and weights vectors. | |
| RealType | getFrequency () const noexcept |
| Gets the current frequency. | |
| std::string | getName () const |
| Gets the name of the timing source. | |
| bool | getSyncOnPulse () const noexcept |
| Checks if synchronization on pulse is enabled. | |
| std::optional< RealType > | getPhaseOffset () const noexcept |
| Gets the phase offset. | |
| std::optional< RealType > | getFreqOffset () const noexcept |
| Gets the frequency offset. | |
| std::optional< RealType > | getRandomFreqOffsetStdev () const noexcept |
| std::optional< RealType > | getRandomPhaseOffsetStdev () const noexcept |
| void | setFrequency (const RealType freq) noexcept |
| Sets the frequency value. | |
| void | setSyncOnPulse () noexcept |
| Enables synchronization on pulse. | |
| void | setAlpha (RealType alpha, RealType weight) noexcept |
| Sets an alpha and weight value. | |
| void | setFreqOffset (RealType offset) noexcept |
| Sets the frequency offset. | |
| void | setPhaseOffset (RealType offset) noexcept |
| Sets the phase offset. | |
| void | setRandomFreqOffsetStdev (RealType stdev) noexcept |
| Sets a random frequency offset standard deviation. | |
| void | setRandomPhaseOffsetStdev (RealType stdev) noexcept |
| Sets a random phase offset standard deviation. | |
Manages timing properties such as frequency, offsets, and synchronization.
Definition at line 28 of file prototype_timing.h.
|
explicitnoexcept |
Constructor for PrototypeTiming.
| name | The name of the timing source. |
Definition at line 36 of file prototype_timing.h.
|
default |
|
default |
|
default |
|
noexcept |
Copies the alphas and weights vectors.
| alphas | Reference to the vector where alpha values will be copied. |
| weights | Reference to the vector where weight values will be copied. |
Definition at line 27 of file prototype_timing.cpp.
Referenced by timing::to_json().
Here is the caller graph for this function:
|
noexcept |
Gets the frequency offset.
Definition at line 89 of file prototype_timing.h.
Referenced by timing::to_json().
Here is the caller graph for this function:
|
noexcept |
Gets the current frequency.
Definition at line 61 of file prototype_timing.h.
Referenced by timing::to_json().
Here is the caller graph for this function:| std::string timing::PrototypeTiming::getName | ( | ) | const |
Gets the name of the timing source.
Definition at line 68 of file prototype_timing.h.
Referenced by timing::to_json().
Here is the caller graph for this function:
|
noexcept |
Gets the phase offset.
Definition at line 82 of file prototype_timing.h.
Referenced by timing::to_json().
Here is the caller graph for this function:
|
noexcept |
Definition at line 91 of file prototype_timing.h.
Referenced by timing::to_json().
Here is the caller graph for this function:
|
noexcept |
Definition at line 93 of file prototype_timing.h.
Referenced by timing::to_json().
Here is the caller graph for this function:
|
noexcept |
Checks if synchronization on pulse is enabled.
Definition at line 75 of file prototype_timing.h.
Referenced by timing::to_json().
Here is the caller graph for this function:
|
default |
|
default |
Sets an alpha and weight value.
| alpha | The alpha value to be added. |
| weight | The weight value to be added. |
Definition at line 21 of file prototype_timing.cpp.
Referenced by timing::from_json().
Here is the caller graph for this function:
|
noexcept |
Sets the frequency offset.
| offset | The frequency offset to be set. |
Definition at line 120 of file prototype_timing.h.
Referenced by timing::from_json().
Here is the caller graph for this function:
|
noexcept |
Sets the frequency value.
| freq | The frequency value to be set. |
Definition at line 100 of file prototype_timing.h.
Referenced by timing::from_json().
Here is the caller graph for this function:
|
noexcept |
Sets the phase offset.
| offset | The phase offset to be set. |
Definition at line 127 of file prototype_timing.h.
Referenced by timing::from_json().
Here is the caller graph for this function:
|
noexcept |
Sets a random frequency offset standard deviation.
| stdev | The standard deviation for generating the random frequency offset. |
Definition at line 134 of file prototype_timing.h.
Referenced by timing::from_json().
Here is the caller graph for this function:
|
noexcept |
Sets a random phase offset standard deviation.
| stdev | The standard deviation for generating the random phase offset. |
Definition at line 141 of file prototype_timing.h.
Referenced by timing::from_json().
Here is the caller graph for this function:
|
noexcept |
Enables synchronization on pulse.
Definition at line 105 of file prototype_timing.h.
Referenced by timing::from_json().
Here is the caller graph for this function: