FERS 1.0.0
The Flexible Extensible Radar Simulator
Loading...
Searching...
No Matches
rendering_job.h
Go to the documentation of this file.
1// SPDX-License-Identifier: GPL-2.0-only
2//
3// Copyright (c) 2025-present FERS Contributors (see AUTHORS.md).
4//
5// See the GNU GPLv2 LICENSE file in the FERS project root for more information.
6
7/**
8 * @file rendering_job.h
9 * @brief Defines the data packet for asynchronous receiver finalization.
10 */
11
12#pragma once
13
14#include <memory>
15#include <vector>
16
17#include "config.h"
18#include "radar/transmitter.h"
19#include "serial/response.h"
20
21namespace core
22{
23 /**
24 * @struct RenderingJob
25 * @brief A data packet containing all information needed to process one receive window.
26 *
27 * This packet is created by the main simulation loop when a pulsed receiver's
28 * window ends. It is then passed to a dedicated finalizer thread for
29 * processing, decoupling the physics simulation from the expensive rendering
30 * and I/O tasks.
31 */
33 {
34 /// The ideal, jitter-free start time of the receive window.
36
37 /// The duration of the receive window in seconds.
39
40 /// A list of all Response objects that overlap with this window.
41 std::vector<std::unique_ptr<serial::Response>> responses;
42
43 /// A list of all CW transmitters that were active during this window.
44 std::vector<radar::Transmitter*> active_cw_sources;
45 };
46}
Global configuration file for the project.
double RealType
Type for real numbers.
Definition config.h:27
Classes for managing radar signal responses.
A data packet containing all information needed to process one receive window.
RealType duration
The duration of the receive window in seconds.
std::vector< std::unique_ptr< serial::Response > > responses
A list of all Response objects that overlap with this window.
RealType ideal_start_time
The ideal, jitter-free start time of the receive window.
std::vector< radar::Transmitter * > active_cw_sources
A list of all CW transmitters that were active during this window.
Header file for the Transmitter class in the radar namespace.