FERS 1.0.0
The Flexible Extensible Radar Simulator
Loading...
Searching...
No Matches
simulation_state.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 simulation_state.h
9 * @brief Defines the global state for the event-driven simulation engine.
10 */
11
12#pragma once
13
14#include <vector>
15
16#include "config.h"
17#include "radar/transmitter.h"
18
19namespace core
20{
21 /**
22 * @struct SimulationState
23 * @brief Holds the dynamic global state of the simulation.
24 *
25 * This includes the master simulation clock and lists of active objects
26 * that are needed for calculations across different event types.
27 */
29 {
30 /// The master simulation clock, advanced by the event loop.
32
33 /// A global list of all currently active continuous-wave transmitters.
34 std::vector<radar::Transmitter*> active_cw_transmitters;
35 };
36}
Global configuration file for the project.
double RealType
Type for real numbers.
Definition config.h:27
Holds the dynamic global state of the simulation.
std::vector< radar::Transmitter * > active_cw_transmitters
A global list of all currently active continuous-wave transmitters.
RealType t_current
The master simulation clock, advanced by the event loop.
Header file for the Transmitter class in the radar namespace.