SpECTRE  v2024.04.12
LinkedMessageId< Id > Struct Template Reference

An identifier for an element in a sequence. More...

#include <LinkedMessageId.hpp>

Public Member Functions

void pup (PUP::er &p)
 

Public Attributes

Id id
 
std::optional< Id > previous
 

Detailed Description

template<typename Id>
struct LinkedMessageId< Id >

An identifier for an element in a sequence.

The struct contains an ID and the ID for the previous element of the sequence, if any. This allows the sequence to be reconstructed even when elements are received out-of-order.

See also
LinkedMessageQueue

The documentation for this struct was generated from the following file: