SysExternalCalibrationMessage.h
Go to the documentation of this file.
1 
39 #ifndef LibMultiSense_SysExternalCalibrationMessage
40 #define LibMultiSense_SysExternalCalibrationMessage
41 
42 #include <algorithm>
43 #include <string>
44 #include "Protocol.h"
45 #include "../utility/BufferStream.hh"
46 
47 namespace crl {
48 namespace multisense {
49 namespace details {
50 namespace wire {
51 
53 public:
56 
57  float calibration[6];
58 
59  //
60  // Constructors
61  //
63  SysExternalCalibration() {memset(calibration, 0, sizeof(calibration));};
64 
65  //
66  // Serialization routine
67 
68  template<class Archive>
69  void serialize(Archive& message,
70  const VersionType version)
71  {
72  (void) version;
73  SER_ARRAY_1(calibration, 6);
74  }
75 
76 };
77 
78 }}}} // namespaces
79 
80 #endif
#define SER_ARRAY_1(a_, n_)
Definition: Protocol.h:276
static CRL_CONSTEXPR IdType ID_DATA_SYS_EXTERNAL_CAL
Definition: Protocol.h:216
Definition: channel.cc:56
SysExternalCalibration(utility::BufferStreamReader &r, VersionType v)
void serialize(Archive &message, const VersionType version)
#define CRL_CONSTEXPR
Definition: Portability.hh:51


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