4#ifndef ATHENAKERNEL_CLUSTERMESSAGE_H
5#define ATHENAKERNEL_CLUSTERMESSAGE_H
12#include "GaudiKernel/StatusCode.h"
41 using WireMsg = std::tuple<WireMsgHdr, std::optional<WireMsgBody>>;
83 using Payload_t = std::variant<std::monostate, int, WorkerStatus, DataDescr>;
An enum class defining what type of message this is.
int count(std::string s, const std::string ®x)
count how many occurances of a regx are in a string
DataDescr(const T *ptr, std::size_t count=1)
DataDescr & operator=(const DataDescr &)=delete
DataDescr(const DataDescr &)=delete
ClusterMessageType messageType
std::tuple< WireMsgHdr, std::optional< WireMsgBody > > WireMsg
std::array< std::uint32_t, 3 > WireMsgHdr
std::array< std::uint32_t, 10 > WireMsgBody
std::variant< std::monostate, int, WorkerStatus, DataDescr > Payload_t