gaps-online-software 0.10
online software for the TOF system for the GAPS experiment
Loading...
Searching...
No Matches
version.h
1#ifndef VERSION_H_INCLUDED
2#define VERSION_H_INCLUDED
3
4#include "tof_typedefs.h"
5
6namespace Gaps {
7
8 static const u8 PROTOCOLVERSION_UNKNOWN = 0;
9 static const u8 PROTOCOLVERSION_V1 = 64;
10 static const u8 PROTOCOLVERSION_V2 = 128;
11 static const u8 PROTOCOLVERSION_V3 = 192;
12
13 enum class ProtocolVersion : u8 {
14 Unknown = PROTOCOLVERSION_UNKNOWN,
15 V1 = PROTOCOLVERSION_V1,
16 V2 = PROTOCOLVERSION_V2,
17 V3 = PROTOCOLVERSION_V3
18 };
19
20 std::string pversion_to_string(ProtocolVersion version);
21}
22
23
24std::ostream& operator<<(std::ostream& os, const Gaps::ProtocolVersion& version);
25
26#endif
‍**
Definition caraspace.hpp:8