79 return "TxPulsedStart";
81 return "RxPulsedWindowStart";
83 return "RxPulsedWindowEnd";
85 return "TxStreamingStart";
87 return "TxStreamingEnd";
89 return "RxStreamingStart";
91 return "RxStreamingEnd";
93 return "UnknownEvent";
Represents a radar system on a platform.
Global configuration file for the project.
double RealType
Type for real numbers.
std::string toString(const EventType type)
Converts an EventType enum to its string representation.
EventType
Enumerates the types of events that can occur in the simulation.
@ RX_PULSED_WINDOW_START
A pulsed receiver opens its listening window.
@ RX_PULSED_WINDOW_END
A pulsed receiver closes its listening window.
@ TX_STREAMING_END
A streaming transmitter stops transmitting.
@ RX_STREAMING_END
A streaming receiver stops listening.
@ TX_STREAMING_START
A streaming transmitter starts transmitting.
@ TX_PULSED_START
A pulsed transmitter begins emitting a pulse.
@ RX_STREAMING_START
A streaming receiver starts listening.
A custom comparator for the event priority queue.
bool operator()(const Event &a, const Event &b) const noexcept
Compares two events based on their timestamps.
Represents a single event in the simulation's time-ordered queue.
RealType timestamp
The simulation time at which the event occurs.
EventType type
The type of the event.
radar::Radar * source_object
Pointer to the object that generated the event.