SysSensorCalibrationMessage.h
Go to the documentation of this file.
00001 
00039 #ifndef LibMultiSense_SysSensorCalibrationMessage
00040 #define LibMultiSense_SysSensorCalibrationMessage
00041 
00042 #include "details/utility/Portability.hh"
00043 
00044 namespace crl {
00045 namespace multisense {
00046 namespace details {
00047 namespace wire {
00048 
00049 class SysSensorCalibration {
00050 public:
00051     static CRL_CONSTEXPR IdType      ID      = ID_DATA_SYS_SENSOR_CAL;
00052     static CRL_CONSTEXPR VersionType VERSION = 1;
00053 
00054 
00055     uint8_t adc_gain[2];
00056     int16_t bl_offset[2];
00057 
00058     //
00059     // Constructors
00060 
00061     SysSensorCalibration(utility::BufferStreamReader&r, VersionType v) {serialize(r,v);};
00062     SysSensorCalibration() {};
00063 
00064     //
00065     // Serialization routine
00066     
00067     template<class Archive>
00068         void serialize(Archive&          message,
00069                        const VersionType version)
00070     {
00071         SER_ARRAY_1(adc_gain,2);
00072         SER_ARRAY_1(bl_offset,2);
00073     }
00074 };
00075 
00076 }}}}; // namespaces
00077 
00078 #endif


multisense_lib
Author(s):
autogenerated on Fri Apr 5 2019 02:28:24