FERS 1.0.0
The Flexible Extensible Radar Simulator
Loading...
Searching...
No Matches
sim_id.h File Reference
#include <atomic>
#include <cassert>
#include <cstdint>
#include <stdexcept>
+ Include dependency graph for sim_id.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SimIdGenerator
 Thread-safe Meyers singleton for generating unique object IDs. More...
 

Typedefs

using SimId = uint64_t
 64-bit Unique Simulation ID.
 

Enumerations

enum class  ObjectType : uint16_t {
  Unknown = 0 , Platform = 1 , Transmitter = 2 , Receiver = 3 ,
  Target = 4 , Antenna = 5 , Waveform = 6 , Timing = 7 ,
  Debug = 0xFFFF
}
 Categorizes objects for ID generation. More...
 

Typedef Documentation

◆ SimId

using SimId = uint64_t

64-bit Unique Simulation ID.

Structure: [16-bit Type][48-bit Counter]

Definition at line 18 of file sim_id.h.

Enumeration Type Documentation

◆ ObjectType

enum class ObjectType : uint16_t
strong

Categorizes objects for ID generation.

Enumerator
Unknown 
Platform 
Transmitter 
Receiver 
Target 
Antenna 
Waveform 
Timing 
Debug 

Definition at line 24 of file sim_id.h.

25{
26 Unknown = 0,
27 Platform = 1,
28 Transmitter = 2,
29 Receiver = 3,
30 Target = 4,
31 Antenna = 5,
32 Waveform = 6,
33 Timing = 7,
34 Debug = 0xFFFF
35};