LibMultiSense
LibMultiSense Documentation
Loading...
Searching...
No Matches
ExposureConfigMessage.hh
Go to the documentation of this file.
1
37#ifndef LibMultiSense_ExposureConfigMessage
38#define LibMultiSense_ExposureConfigMessage
39
42#include "Protocol.hh"
43
44namespace crl {
45namespace multisense {
46namespace details {
47namespace wire {
48
50public:
53
54 uint32_t exposure;
55 uint8_t autoExposure;
59
64
67 float gain;
68
84
85 //
86 // Serialization routine
87
88 template<class Archive>
89 void serialize(Archive& message,
90 const VersionType version)
91 {
92 (void) version;
93
94 message & exposure;
95 message & autoExposure;
96 message & autoExposureMax;
97 message & autoExposureDecay;
98 message & autoExposureThresh;
99
100 message & autoExposureRoiX;
101 message & autoExposureRoiY;
102 message & autoExposureRoiWidth;
103 message & autoExposureRoiHeight;
104
105 message & exposureSource;
106
107 if (version >= 2)
108 {
110 message & gain;
111 }
112 else
113 {
116 }
117
118
119 }
120};
121
122}}}} // namespaces
123
124#endif
Copyright 2013-2025 Carnegie Robotics, LLC 4501 Hatfield Street, Pittsburgh, PA 15201 http://www....
Macros and symbols to help portability between different compiler versions.
#define CRL_CONSTEXPR
Copyright 2013-2025 Carnegie Robotics, LLC 4501 Hatfield Street, Pittsburgh, PA 15201 http://www....
ExposureConfig(utility::BufferStreamReader &r, VersionType v)
void serialize(Archive &message, const VersionType version)
static CRL_CONSTEXPR SourceType Default_Exposure_Source
Definition Protocol.hh:332
static CRL_CONSTEXPR IdType ID_DATA_EXPOSURE_CONFIG
Definition Protocol.hh:231
static CRL_CONSTEXPR float Default_Gain
Definition Protocol.hh:335
static CRL_CONSTEXPR float Default_Target_Intensity
Definition Protocol.hh:333