|
FERS 1.0.0
The Flexible Extensible Radar Simulator
|
Represents a timing source for simulation. More...
#include "timing.h"
Public Member Functions | |
| Timing (std::string name, unsigned seed, const SimId id=0) noexcept | |
| Constructs a Timing object. | |
| ~Timing ()=default | |
| Timing (const Timing &)=delete | |
| Timing & | operator= (const Timing &)=delete |
| Timing (Timing &&)=delete | |
| Timing & | operator= (Timing &&)=delete |
| RealType | getNextSample () const noexcept |
| Gets the next sample from the timing source. | |
| std::string | getName () const noexcept |
| Gets the name of the timing source. | |
| SimId | getId () const noexcept |
| Gets the unique ID of the timing source. | |
| unsigned | getSeed () const noexcept |
| Gets the initial seed used for the timing source's RNG. | |
| bool | getSyncOnPulse () const noexcept |
| Checks if the timing source synchronizes on pulse. | |
| RealType | getFrequency () const noexcept |
| Gets the frequency of the timing source. | |
| RealType | getFreqOffset () const noexcept |
| Gets the frequency offset of the timing source. | |
| RealType | getPhaseOffset () const noexcept |
| Gets the phase offset of the timing source. | |
| bool | isEnabled () const noexcept |
| Checks if the timing source is enabled. | |
| void | skipSamples (std::size_t samples) noexcept |
| Skips a number of samples in the timing model. | |
| void | initializeModel (const PrototypeTiming *timing) noexcept |
| Initializes the timing model. | |
| void | reset () noexcept |
| Resets the timing model. | |
| std::unique_ptr< Timing > | clone () const |
| Creates a new Timing instance based on the same prototype. | |
|
explicitnoexcept |
Constructs a Timing object.
| name | The name of the timing source. |
| seed | The seed for the timing source's internal random number generator. |
Definition at line 24 of file timing.cpp.
|
default |
|
delete |
|
delete |
| std::unique_ptr< Timing > timing::Timing::clone | ( | ) | const |
Creates a new Timing instance based on the same prototype.
| std::logic_error | if the timing object was not initialized from a prototype. |
Definition at line 82 of file timing.cpp.
References LOG.
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
Checks if the timing source synchronizes on pulse.
Definition at line 90 of file timing.h.
Referenced by processing::pipeline::advanceTimingModel().
Here is the caller graph for this function:
|
noexcept |
Initializes the timing model.
| timing | The prototype timing configuration used for initialization. |
Definition at line 39 of file timing.cpp.
References LOG.
|
noexcept |
Checks if the timing source is enabled.
Definition at line 116 of file timing.h.
Referenced by processing::pipeline::advanceTimingModel().
Here is the caller graph for this function:
|
noexcept |
Resets the timing model.
Definition at line 136 of file timing.h.
Referenced by processing::pipeline::advanceTimingModel().
Here is the caller graph for this function:
|
noexcept |
Skips a number of samples in the timing model.
| samples | The number of samples to skip. |
Definition at line 31 of file timing.cpp.
Referenced by processing::pipeline::advanceTimingModel().
Here is the caller graph for this function: