VersionResponseMessage.h
Go to the documentation of this file.
1 
40 #ifndef LibMultiSense_VersionResponseMessage
41 #define LibMultiSense_VersionResponseMessage
42 
44 
45 namespace crl {
46 namespace multisense {
47 namespace details {
48 namespace wire {
49 
51 public:
54 
55  std::string firmwareBuildDate;
57  uint64_t hardwareVersion;
58  uint64_t hardwareMagic;
59  uint64_t fpgaDna;
60 
61  //
62  // Constructors
63 
65  VersionResponse() : firmwareBuildDate(),
66  firmwareVersion(0),
67  hardwareVersion(0),
68  hardwareMagic(0),
69  fpgaDna(0) {};
70 
71  //
72  // Serialization routine
73 
74  template<class Archive>
75  void serialize(Archive& message,
76  const VersionType version)
77  {
78  (void) version;
79  message & firmwareBuildDate;
80  message & firmwareVersion;
81  message & hardwareVersion;
82  message & hardwareMagic;
83  message & fpgaDna;
84  }
85 };
86 
87 }}}} // namespaces
88 
89 #endif
void serialize(Archive &message, const VersionType version)
VersionResponse(utility::BufferStreamReader &r, VersionType v)
static CRL_CONSTEXPR IdType ID_DATA_VERSION
Definition: Protocol.h:193
Definition: channel.cc:56
#define CRL_CONSTEXPR
Definition: Portability.hh:51


multisense_lib
Author(s):
autogenerated on Sun Mar 14 2021 02:34:50