9 #define RL_API __declspec(dllexport)
11 #define RL_API __declspec(dllimport)
67constexpr int CBM_PACKET_TYPE = 0x10;
75enum class ReadoutType {
85RL_API DetectorType detectorType_from_int(
int);
87RL_API ReadoutType readoutType_from_detectorType(DetectorType type);
90RL_API uint8_t packetType_from_detectorType(DetectorType type);
94RL_API uint8_t cbmType_from_readoutType(ReadoutType type);
96RL_API ReadoutType readoutType_from_int(
int int_type);
99RL_API DetectorType detectorType_from_name(
const std::string & name);
101RL_API ReadoutType readoutType_from_name(
const std::string & name);
103RL_API std::string detectorType_name(DetectorType);
105RL_API std::string readoutType_name(ReadoutType);