template<bool CarryEpoch>
vt::location::detail::RouteEpochField struct

Storage for the caller's epoch carried by a routed location message.

Messages whose envelope can hold an epoch (e.g. epoch/collection messages) propagate the caller's epoch across nodes via the envelope, so this stores nothing and is an empty base (no size cost on the common path). Messages whose envelope cannot hold an epoch (e.g. short messages) capture the caller's epoch here at origination so routing and the eager cache update stay enclosed by that epoch.

Public functions

void setRouteEpoch(EpochType const&)
auto getRouteEpoch() const -> EpochType
template<typename SerializerT>
void serializeRouteEpoch(SerializerT&)