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  SER_ARRAY_1(calibration, 6);
73  }
74 
75 };
76 
77 }}}}; // namespaces
78 
79 #endif
#define SER_ARRAY_1(a_, n_)
Definition: Protocol.h:251
static CRL_CONSTEXPR IdType ID_DATA_SYS_EXTERNAL_CAL
Definition: Protocol.h:205
Definition: channel.cc:56
SysExternalCalibration(utility::BufferStreamReader &r, VersionType v)
void serialize(Archive &message, const VersionType version)
#define CRL_CONSTEXPR
Definition: Portability.hh:38


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