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  message & firmwareBuildDate;
79  message & firmwareVersion;
80  message & hardwareVersion;
81  message & hardwareMagic;
82  message & fpgaDna;
83  }
84 };
85 
86 }}}}; // namespaces
87 
88 #endif
void serialize(Archive &message, const VersionType version)
VersionResponse(utility::BufferStreamReader &r, VersionType v)
static CRL_CONSTEXPR IdType ID_DATA_VERSION
Definition: Protocol.h:182
Definition: channel.cc:56
#define CRL_CONSTEXPR
Definition: Portability.hh:38


multisense_lib
Author(s):
autogenerated on Sat Apr 6 2019 02:16:46