FERS 0.1.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"
19#include "radar/transmitter.h"
20#include "serial/response.h"
21
22namespace core
23{
24 /**
25 * @struct RenderingJob
26 * @brief A data packet containing all information needed to process one receive window.
27 *
28 * This packet is created by the main simulation loop when a pulsed receiver's
29 * window ends. It is then passed to a dedicated finalizer thread for
30 * processing, decoupling the physics simulation from the expensive rendering
31 * and I/O tasks.
32 */
34 {
35 /// The ideal, jitter-free start time of the receive window.
37
38 /// The duration of the receive window in seconds.
40
41 /// A list of all Response objects that overlap with this window.
42 std::vector<std::unique_ptr<serial::Response>> responses{};
43
44 /// A list of all streaming transmitters that overlap this window.
45 std::vector<ActiveStreamingSource> active_streaming_sources{};
46 };
47}
Global configuration file for the project.
double RealType
Type for real numbers.
Definition config.h:27
Classes for managing radar signal responses.
Defines the global state for the event-driven simulation engine.
A data packet containing all information needed to process one receive window.
RealType duration
The duration of the receive window in seconds.
std::vector< ActiveStreamingSource > active_streaming_sources
A list of all streaming transmitters that overlap this window.
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.
Header file for the Transmitter class in the radar namespace.