template<class
T>
struct armarx::armem::base::RelaxedAtomic< T >
An atomic that is still copyable, for the access bookkeeping.
EntityInstanceMetadata::access() runs on the query path, which holds only the core segment's shared lock, so several query threads touch the same instance's counters at once. The plain members raced. EntityInstanceMetadata is copied all over the place, though, and std::atomic is not copyable – hence this wrapper, which copies by value and leaves the rest of the struct alone.
Relaxed throughout: these counters order nothing, they are read for LTM importance filtering and for display.