69# pragma warning(disable : 4251)
95 static constexpr const char *
path{
"" };
98 static constexpr const char *
name{
"CameraHealth" };
102 R
"description(Result of running the camera's health checks. Each check has a
103`Status` (severity) and a `Value` (the underlying measurement, when
104available). The `Overall` field aggregates the worst severity across
109 - Suboptimal: Degraded but functional.
110 - Error: Faulty or out of spec.
111 - Unknown: Check was not performed, or its outcome could not be determined.
125 static constexpr std::array<uint8_t, 3> binaryId{
'h',
'c',
'k' };
144 static constexpr const char *
path{
"Fan" };
147 static constexpr const char *
name{
"Fan" };
150 static constexpr const char *
description{ R
"description(The status of the camera's fan.
152 - OK: Fan operating as expected.
153 - Error: Unexpected fan stop.
154 - Unknown: Fan status could not be determined.
167 static constexpr const char *
path{
"Fan/Status" };
170 static constexpr const char *
name{
"Status" };
173 static constexpr const char *
description{ R
"description(Severity of the fan check.)description" };
199 : m_value{ verifyValue(
value) }
217 return m_value == other.m_value;
223 return m_value != other.m_value;
229 return stream <<
value.toString();
233 void setFromString(
const std::string &
value);
235 constexpr ValueType
static verifyValue(
const ValueType &
value)
237 return value == ValueType::ok ||
value == ValueType::suboptimal ||
value == ValueType::error
238 ||
value == ValueType::unknown
240 :
throw std::invalid_argument{
241 "Invalid value: Status{ "
242 + std::to_string(
static_cast<std::underlying_type<ValueType>::type
>(
value)) +
" }"
248 friend struct DataModel::Detail::Befriend<
Status>;
261 static constexpr const char *
path{
"Fan/Value" };
264 static constexpr const char *
name{
"Value" };
268 R
"description(Whether the fan is operating as expected, or stopped unexpectedly.)description"
291 : m_opt{ verifyValue(
value) }
318 return m_opt == other.m_opt;
324 return m_opt != other.m_opt;
330 return stream <<
value.toString();
334 void setFromString(
const std::string &
value);
336 constexpr ValueType
static verifyValue(
const ValueType &
value)
338 return value == ValueType::ok ||
value == ValueType::unexpectedFanStop
340 :
throw std::invalid_argument{
341 "Invalid value: Value{ "
342 + std::to_string(
static_cast<std::underlying_type<ValueType>::type
>(
value)) +
" }"
346 std::optional<ValueType> m_opt;
348 friend struct DataModel::Detail::Befriend<
Value>;
351 using Descendants = std::tuple<CameraHealth::Fan::Status, CameraHealth::Fan::Value>;
371 typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0,
372 typename std::enable_if<
373 Zivid::Detail::TypeTraits::AllArgsAreInTuple<
Descendants,
typename std::decay<Args>::type...>::
377 template<typename... Args>
379 explicit
Fan(Args &&...args)
381 using namespace Zivid::Detail::TypeTraits;
384 AllArgsDecayedAreUnique<Args...>
::value,
385 "Found duplicate types among the arguments passed to Fan(...). "
386 "Types should be listed at most once.");
388 set(std::forward<Args>(args)...);
403 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 2,
int>::type = 0>
405 template<typename... Args>
409 using namespace Zivid::Detail::TypeTraits;
411 using AllArgsAreDescendantNodes = AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
413 AllArgsAreDescendantNodes::value,
"All arguments passed to set(...) must be descendant nodes.");
416 AllArgsDecayedAreUnique<Args...>
::value,
417 "Found duplicate types among the arguments passed to set(...). "
418 "Types should be listed at most once.");
420 Zivid::DataModel::Detail::invokeSetWithEachArgument(*
this, std::forward<Args>(args)...);
436 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0>
438 template<typename... Args>
442 using namespace Zivid::Detail::TypeTraits;
444 using AllArgsAreDescendantNodes = AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
446 AllArgsAreDescendantNodes::value,
447 "All arguments passed to copyWith(...) must be descendant nodes.");
450 AllArgsDecayedAreUnique<Args...>
::value,
451 "Found duplicate types among the arguments passed to copyWith(...). "
452 "Types should be listed at most once.");
455 copy.set(std::forward<Args>(args)...);
499 typename std::enable_if<std::is_same<T, CameraHealth::Fan::Status>::value,
int>::type = 0>
507 typename std::enable_if<std::is_same<T, CameraHealth::Fan::Value>::value,
int>::type = 0>
513 template<size_t i, typename std::enable_if<i == 0, int>::type = 0>
519 template<size_t i, typename std::enable_if<i == 1, int>::type = 0>
553 return stream <<
value.toString();
557 void setFromString(
const std::string &value);
559 void setFromString(
const std::string &fullPath,
const std::string &value);
561 std::string getString(
const std::string &fullPath)
const;
566 friend struct DataModel::Detail::Befriend<
Fan>;
584 static constexpr const char *
path{
"InfieldVerification" };
587 static constexpr const char *
name{
"InfieldVerification" };
591 R
"description(The status of the camera's most recent infield verification.
593 - OK: Last verification performed within the past year
594 - Suboptimal: Last verification older than one year
595 - Unknown: Camera has never been verified in the field
609 static constexpr const char *
path{
"InfieldVerification/Status" };
612 static constexpr const char *
name{
"Status" };
616 R
"description(Severity of the infield verification check.)description"
643 : m_value{ verifyValue(
value) }
661 return m_value == other.m_value;
667 return m_value != other.m_value;
673 return stream <<
value.toString();
677 void setFromString(
const std::string &
value);
679 constexpr ValueType
static verifyValue(
const ValueType &
value)
681 return value == ValueType::ok ||
value == ValueType::suboptimal ||
value == ValueType::error
682 ||
value == ValueType::unknown
684 :
throw std::invalid_argument{
685 "Invalid value: Status{ "
686 + std::to_string(
static_cast<std::underlying_type<ValueType>::type
>(
value)) +
" }"
692 friend struct DataModel::Detail::Befriend<
Status>;
705 static constexpr const char *
path{
"InfieldVerification/Value" };
708 static constexpr const char *
name{
"Value" };
712 R
"description(Time of the most recent infield verification.)description"
716 using ValueType = std::chrono::system_clock::time_point;
721 return { std::chrono::system_clock::time_point::min(),
722 std::chrono::system_clock::time_point::max() };
729 explicit constexpr Value(std::chrono::system_clock::time_point
value)
737 std::chrono::system_clock::time_point
value()
const;
751 return m_opt == other.m_opt;
757 return m_opt != other.m_opt;
763 return m_opt < other.m_opt;
769 return m_opt > other.m_opt;
775 return m_opt <= other.m_opt;
781 return m_opt >= other.m_opt;
787 return stream <<
value.toString();
791 void setFromString(
const std::string &
value);
793 std::optional<std::chrono::system_clock::time_point> m_opt;
795 friend struct DataModel::Detail::Befriend<
Value>;
799 std::tuple<CameraHealth::InfieldVerification::Status, CameraHealth::InfieldVerification::Value>;
819 typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0,
820 typename std::enable_if<
821 Zivid::Detail::TypeTraits::AllArgsAreInTuple<
Descendants,
typename std::decay<Args>::type...>::
825 template<typename... Args>
829 using namespace Zivid::Detail::TypeTraits;
832 AllArgsDecayedAreUnique<Args...>
::value,
833 "Found duplicate types among the arguments passed to InfieldVerification(...). "
834 "Types should be listed at most once.");
836 set(std::forward<Args>(args)...);
851 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 2,
int>::type = 0>
853 template<typename... Args>
857 using namespace Zivid::Detail::TypeTraits;
859 using AllArgsAreDescendantNodes = AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
861 AllArgsAreDescendantNodes::value,
"All arguments passed to set(...) must be descendant nodes.");
864 AllArgsDecayedAreUnique<Args...>
::value,
865 "Found duplicate types among the arguments passed to set(...). "
866 "Types should be listed at most once.");
868 Zivid::DataModel::Detail::invokeSetWithEachArgument(*
this, std::forward<Args>(args)...);
884 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0>
886 template<typename... Args>
890 using namespace Zivid::Detail::TypeTraits;
892 using AllArgsAreDescendantNodes = AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
894 AllArgsAreDescendantNodes::value,
895 "All arguments passed to copyWith(...) must be descendant nodes.");
898 AllArgsDecayedAreUnique<Args...>
::value,
899 "Found duplicate types among the arguments passed to copyWith(...). "
900 "Types should be listed at most once.");
903 copy.set(std::forward<Args>(args)...);
947 typename std::enable_if<std::is_same<T, CameraHealth::InfieldVerification::Status>::value,
int>::type =
956 typename std::enable_if<std::is_same<T, CameraHealth::InfieldVerification::Value>::value,
int>::type =
963 template<size_t i, typename std::enable_if<i == 0, int>::type = 0>
969 template<size_t i, typename std::enable_if<i == 1, int>::type = 0>
1003 return stream <<
value.toString();
1007 void setFromString(
const std::string &value);
1009 void setFromString(
const std::string &fullPath,
const std::string &value);
1011 std::string getString(
const std::string &fullPath)
const;
1040 static constexpr const char *
path{
"MaxTransferSpeed" };
1043 static constexpr const char *
name{
"MaxTransferSpeed" };
1047 R
"description(The end-to-end link speed between the camera and the host
1048computer, defined as the minimum of the camera's link speed
1049and the PC's link speed. The possible link speeds are 10 Mbps,
1050100 Mbps, 1 Gbps, 2.5 Gbps, 5 Gbps, 10 Gbps, 14 Gbps, 20 Gbps,
105125 Gbps, 40 Gbps, 50 Gbps, 56 Gbps, 80 Gbps, 100 Gbps, 200 Gbps,
1052400 Gbps, 800 Gbps and 1.6 Tbps.
1054 - OK: Max transfer speed > 1 Gbps
1055 - Suboptimal: Max transfer speed = 1 Gbps
1056 - Error: Max transfer speed < 1 Gbps
1057 - Unknown: Max transfer speed could not be determined
1071 static constexpr const char *
path{
"MaxTransferSpeed/Status" };
1074 static constexpr const char *
name{
"Status" };
1078 R
"description(Severity of the max transfer speed check.)description"
1105 : m_value{ verifyValue(
value) }
1123 return m_value == other.m_value;
1129 return m_value != other.m_value;
1135 return stream <<
value.toString();
1139 void setFromString(
const std::string &
value);
1141 constexpr ValueType
static verifyValue(
const ValueType &
value)
1143 return value == ValueType::ok ||
value == ValueType::suboptimal ||
value == ValueType::error
1144 ||
value == ValueType::unknown
1146 :
throw std::invalid_argument{
1147 "Invalid value: Status{ "
1148 + std::to_string(
static_cast<std::underlying_type<ValueType>::type
>(
value)) +
" }"
1154 friend struct DataModel::Detail::Befriend<
Status>;
1167 static constexpr const char *
path{
"MaxTransferSpeed/Value" };
1170 static constexpr const char *
name{
"Value" };
1174 R
"description(Max transfer speed in megabits per second (Mbps).)description"
1183 return { std::numeric_limits<uint32_t>::lowest(), std::numeric_limits<uint32_t>::max() };
1212 return m_opt == other.m_opt;
1218 return m_opt != other.m_opt;
1224 return m_opt < other.m_opt;
1230 return m_opt > other.m_opt;
1236 return m_opt <= other.m_opt;
1242 return m_opt >= other.m_opt;
1248 return stream <<
value.toString();
1252 void setFromString(
const std::string &
value);
1254 std::optional<uint32_t> m_opt;
1256 friend struct DataModel::Detail::Befriend<
Value>;
1260 std::tuple<CameraHealth::MaxTransferSpeed::Status, CameraHealth::MaxTransferSpeed::Value>;
1280 typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0,
1281 typename std::enable_if<
1282 Zivid::Detail::TypeTraits::AllArgsAreInTuple<
Descendants,
typename std::decay<Args>::type...>::
1286 template<typename... Args>
1290 using namespace Zivid::Detail::TypeTraits;
1293 AllArgsDecayedAreUnique<Args...>
::value,
1294 "Found duplicate types among the arguments passed to MaxTransferSpeed(...). "
1295 "Types should be listed at most once.");
1297 set(std::forward<Args>(args)...);
1312 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 2,
int>::type = 0>
1314 template<typename... Args>
1318 using namespace Zivid::Detail::TypeTraits;
1320 using AllArgsAreDescendantNodes = AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
1322 AllArgsAreDescendantNodes::value,
"All arguments passed to set(...) must be descendant nodes.");
1325 AllArgsDecayedAreUnique<Args...>
::value,
1326 "Found duplicate types among the arguments passed to set(...). "
1327 "Types should be listed at most once.");
1329 Zivid::DataModel::Detail::invokeSetWithEachArgument(*
this, std::forward<Args>(args)...);
1345 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0>
1347 template<typename... Args>
1351 using namespace Zivid::Detail::TypeTraits;
1353 using AllArgsAreDescendantNodes = AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
1355 AllArgsAreDescendantNodes::value,
1356 "All arguments passed to copyWith(...) must be descendant nodes.");
1359 AllArgsDecayedAreUnique<Args...>
::value,
1360 "Found duplicate types among the arguments passed to copyWith(...). "
1361 "Types should be listed at most once.");
1364 copy.set(std::forward<Args>(args)...);
1408 typename std::enable_if<std::is_same<T, CameraHealth::MaxTransferSpeed::Status>::value,
int>::type = 0>
1416 typename std::enable_if<std::is_same<T, CameraHealth::MaxTransferSpeed::Value>::value,
int>::type = 0>
1422 template<size_t i, typename std::enable_if<i == 0, int>::type = 0>
1428 template<size_t i, typename std::enable_if<i == 1, int>::type = 0>
1435 template<
typename F>
1443 template<
typename F>
1462 return stream <<
value.toString();
1466 void setFromString(
const std::string &value);
1468 void setFromString(
const std::string &fullPath,
const std::string &value);
1470 std::string getString(
const std::string &fullPath)
const;
1493 static constexpr const char *
path{
"Memory" };
1496 static constexpr const char *
name{
"Memory" };
1499 static constexpr const char *
description{ R
"description(The status of the camera's memory test.
1501 - OK: Memory was tested and reported zero errors
1502 - Error: Memory was tested and an error was located
1503 - Unknown: Memory test was not performed
1516 static constexpr const char *
path{
"Memory/Status" };
1519 static constexpr const char *
name{
"Status" };
1522 static constexpr const char *
description{ R
"description(Severity of the memory check.)description" };
1548 : m_value{ verifyValue(
value) }
1566 return m_value == other.m_value;
1572 return m_value != other.m_value;
1578 return stream <<
value.toString();
1582 void setFromString(
const std::string &
value);
1584 constexpr ValueType
static verifyValue(
const ValueType &
value)
1586 return value == ValueType::ok ||
value == ValueType::suboptimal ||
value == ValueType::error
1587 ||
value == ValueType::unknown
1589 :
throw std::invalid_argument{
1590 "Invalid value: Status{ "
1591 + std::to_string(
static_cast<std::underlying_type<ValueType>::type
>(
value)) +
" }"
1597 friend struct DataModel::Detail::Befriend<
Status>;
1610 static constexpr const char *
path{
"Memory/Value" };
1613 static constexpr const char *
name{
"Value" };
1617 R
"description(Number of memory errors detected by the memory test.)description"
1626 return { std::numeric_limits<uint32_t>::lowest(), std::numeric_limits<uint32_t>::max() };
1655 return m_opt == other.m_opt;
1661 return m_opt != other.m_opt;
1667 return m_opt < other.m_opt;
1673 return m_opt > other.m_opt;
1679 return m_opt <= other.m_opt;
1685 return m_opt >= other.m_opt;
1691 return stream <<
value.toString();
1695 void setFromString(
const std::string &
value);
1697 std::optional<uint32_t> m_opt;
1699 friend struct DataModel::Detail::Befriend<
Value>;
1702 using Descendants = std::tuple<CameraHealth::Memory::Status, CameraHealth::Memory::Value>;
1722 typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0,
1723 typename std::enable_if<
1724 Zivid::Detail::TypeTraits::AllArgsAreInTuple<
Descendants,
typename std::decay<Args>::type...>::
1728 template<typename... Args>
1732 using namespace Zivid::Detail::TypeTraits;
1735 AllArgsDecayedAreUnique<Args...>
::value,
1736 "Found duplicate types among the arguments passed to Memory(...). "
1737 "Types should be listed at most once.");
1739 set(std::forward<Args>(args)...);
1754 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 2,
int>::type = 0>
1756 template<typename... Args>
1760 using namespace Zivid::Detail::TypeTraits;
1762 using AllArgsAreDescendantNodes = AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
1764 AllArgsAreDescendantNodes::value,
"All arguments passed to set(...) must be descendant nodes.");
1767 AllArgsDecayedAreUnique<Args...>
::value,
1768 "Found duplicate types among the arguments passed to set(...). "
1769 "Types should be listed at most once.");
1771 Zivid::DataModel::Detail::invokeSetWithEachArgument(*
this, std::forward<Args>(args)...);
1787 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0>
1789 template<typename... Args>
1793 using namespace Zivid::Detail::TypeTraits;
1795 using AllArgsAreDescendantNodes = AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
1797 AllArgsAreDescendantNodes::value,
1798 "All arguments passed to copyWith(...) must be descendant nodes.");
1801 AllArgsDecayedAreUnique<Args...>
::value,
1802 "Found duplicate types among the arguments passed to copyWith(...). "
1803 "Types should be listed at most once.");
1806 copy.set(std::forward<Args>(args)...);
1850 typename std::enable_if<std::is_same<T, CameraHealth::Memory::Status>::value,
int>::type = 0>
1858 typename std::enable_if<std::is_same<T, CameraHealth::Memory::Value>::value,
int>::type = 0>
1864 template<size_t i, typename std::enable_if<i == 0, int>::type = 0>
1870 template<size_t i, typename std::enable_if<i == 1, int>::type = 0>
1877 template<
typename F>
1885 template<
typename F>
1904 return stream <<
value.toString();
1908 void setFromString(
const std::string &value);
1910 void setFromString(
const std::string &fullPath,
const std::string &value);
1912 std::string getString(
const std::string &fullPath)
const;
1917 friend struct DataModel::Detail::Befriend<
Memory>;
1935 static constexpr const char *
path{
"Overall" };
1938 static constexpr const char *
name{
"Overall" };
1942 R
"description(The aggregated severity across all checks, taking the
1943highest-precedence severity among them. Precedence from highest to
1944lowest is Error, Unknown, Suboptimal, OK: a failing check is the
1945most important to surface, and a check whose outcome could not be
1946determined (Unknown) takes precedence over a Suboptimal one.
1974 : m_value{ verifyValue(
value) }
1992 return m_value == other.m_value;
1998 return m_value != other.m_value;
2004 return stream <<
value.toString();
2008 void setFromString(
const std::string &value);
2010 constexpr ValueType
static verifyValue(
const ValueType &value)
2012 return value == ValueType::ok || value == ValueType::suboptimal || value == ValueType::error
2013 || value == ValueType::unknown
2015 :
throw std::invalid_argument{
2016 "Invalid value: Overall{ "
2017 + std::to_string(
static_cast<std::underlying_type<ValueType>::type
>(value)) +
" }"
2023 friend struct DataModel::Detail::Befriend<
Overall>;
2038 static constexpr const char *
path{
"Temperature" };
2041 static constexpr const char *
name{
"Temperature" };
2045 R
"description(The status of the camera's temperatures. Each sub-status
2046reflects the temperature of a specific component.
2066 static constexpr const char *
path{
"Temperature/DMD" };
2069 static constexpr const char *
name{
"DMD" };
2073 R
"description(The status of the DMD (Digital Micromirror Device)
2074temperature, in degrees Celsius.
2076 - OK: Temperature in (0, 50)
2077 - Suboptimal: Temperature in [50, 60]
2078 - Error: Temperature < 0 or > 60
2092 static constexpr const char *
path{
"Temperature/DMD/Status" };
2095 static constexpr const char *
name{
"Status" };
2099 R
"description(Severity of the DMD temperature check.)description"
2126 : m_value{ verifyValue(
value) }
2144 return m_value == other.m_value;
2150 return m_value != other.m_value;
2156 return stream <<
value.toString();
2160 void setFromString(
const std::string &
value);
2162 constexpr ValueType
static verifyValue(
const ValueType &
value)
2164 return value == ValueType::ok ||
value == ValueType::suboptimal ||
value == ValueType::error
2165 ||
value == ValueType::unknown
2167 :
throw std::invalid_argument{
2168 "Invalid value: Status{ "
2169 + std::to_string(
static_cast<std::underlying_type<ValueType>::type
>(
value))
2176 friend struct DataModel::Detail::Befriend<
Status>;
2189 static constexpr const char *
path{
"Temperature/DMD/Value" };
2192 static constexpr const char *
name{
"Value" };
2196 R
"description(DMD temperature in degrees Celsius.)description"
2205 return { std::numeric_limits<double>::lowest(), std::numeric_limits<double>::max() };
2234 return m_opt == other.m_opt;
2240 return m_opt != other.m_opt;
2246 return m_opt < other.m_opt;
2252 return m_opt > other.m_opt;
2258 return m_opt <= other.m_opt;
2264 return m_opt >= other.m_opt;
2270 return stream <<
value.toString();
2274 void setFromString(
const std::string &
value);
2276 std::optional<double> m_opt;
2278 friend struct DataModel::Detail::Befriend<
Value>;
2282 std::tuple<CameraHealth::Temperature::DMD::Status, CameraHealth::Temperature::DMD::Value>;
2302 typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0,
2303 typename std::enable_if<
2304 Zivid::Detail::TypeTraits::AllArgsAreInTuple<
Descendants,
typename std::decay<Args>::type...>::
2308 template<typename... Args>
2312 using namespace Zivid::Detail::TypeTraits;
2315 AllArgsDecayedAreUnique<Args...>
::value,
2316 "Found duplicate types among the arguments passed to DMD(...). "
2317 "Types should be listed at most once.");
2319 set(std::forward<Args>(args)...);
2334 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 2,
int>::type = 0>
2336 template<typename... Args>
2340 using namespace Zivid::Detail::TypeTraits;
2342 using AllArgsAreDescendantNodes =
2343 AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
2345 AllArgsAreDescendantNodes::value,
"All arguments passed to set(...) must be descendant nodes.");
2348 AllArgsDecayedAreUnique<Args...>
::value,
2349 "Found duplicate types among the arguments passed to set(...). "
2350 "Types should be listed at most once.");
2352 Zivid::DataModel::Detail::invokeSetWithEachArgument(*
this, std::forward<Args>(args)...);
2368 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0>
2370 template<typename... Args>
2374 using namespace Zivid::Detail::TypeTraits;
2376 using AllArgsAreDescendantNodes =
2377 AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
2379 AllArgsAreDescendantNodes::value,
2380 "All arguments passed to copyWith(...) must be descendant nodes.");
2383 AllArgsDecayedAreUnique<Args...>
::value,
2384 "Found duplicate types among the arguments passed to copyWith(...). "
2385 "Types should be listed at most once.");
2388 copy.set(std::forward<Args>(args)...);
2432 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::DMD::Status>::value,
int>::type =
2441 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::DMD::Value>::value,
int>::type =
2448 template<size_t i, typename std::enable_if<i == 0, int>::type = 0>
2454 template<size_t i, typename std::enable_if<i == 1, int>::type = 0>
2461 template<
typename F>
2469 template<
typename F>
2488 return stream <<
value.toString();
2492 void setFromString(
const std::string &value);
2494 void setFromString(
const std::string &fullPath,
const std::string &value);
2496 std::string getString(
const std::string &fullPath)
const;
2501 friend struct DataModel::Detail::Befriend<
DMD>;
2519 static constexpr const char *
path{
"Temperature/LED" };
2522 static constexpr const char *
name{
"LED" };
2526 R
"description(The status of the LED temperature, in degrees Celsius.
2528 - OK: Temperature in (0, 60)
2529 - Suboptimal: Temperature in [60, 70]
2530 - Error: Temperature < 0 or > 70
2544 static constexpr const char *
path{
"Temperature/LED/Status" };
2547 static constexpr const char *
name{
"Status" };
2551 R
"description(Severity of the LED temperature check.)description"
2578 : m_value{ verifyValue(
value) }
2596 return m_value == other.m_value;
2602 return m_value != other.m_value;
2608 return stream <<
value.toString();
2612 void setFromString(
const std::string &
value);
2614 constexpr ValueType
static verifyValue(
const ValueType &
value)
2616 return value == ValueType::ok ||
value == ValueType::suboptimal ||
value == ValueType::error
2617 ||
value == ValueType::unknown
2619 :
throw std::invalid_argument{
2620 "Invalid value: Status{ "
2621 + std::to_string(
static_cast<std::underlying_type<ValueType>::type
>(
value))
2628 friend struct DataModel::Detail::Befriend<
Status>;
2641 static constexpr const char *
path{
"Temperature/LED/Value" };
2644 static constexpr const char *
name{
"Value" };
2648 R
"description(LED temperature in degrees Celsius.)description"
2657 return { std::numeric_limits<double>::lowest(), std::numeric_limits<double>::max() };
2686 return m_opt == other.m_opt;
2692 return m_opt != other.m_opt;
2698 return m_opt < other.m_opt;
2704 return m_opt > other.m_opt;
2710 return m_opt <= other.m_opt;
2716 return m_opt >= other.m_opt;
2722 return stream <<
value.toString();
2726 void setFromString(
const std::string &
value);
2728 std::optional<double> m_opt;
2730 friend struct DataModel::Detail::Befriend<
Value>;
2734 std::tuple<CameraHealth::Temperature::LED::Status, CameraHealth::Temperature::LED::Value>;
2754 typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0,
2755 typename std::enable_if<
2756 Zivid::Detail::TypeTraits::AllArgsAreInTuple<
Descendants,
typename std::decay<Args>::type...>::
2760 template<typename... Args>
2764 using namespace Zivid::Detail::TypeTraits;
2767 AllArgsDecayedAreUnique<Args...>
::value,
2768 "Found duplicate types among the arguments passed to LED(...). "
2769 "Types should be listed at most once.");
2771 set(std::forward<Args>(args)...);
2786 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 2,
int>::type = 0>
2788 template<typename... Args>
2792 using namespace Zivid::Detail::TypeTraits;
2794 using AllArgsAreDescendantNodes =
2795 AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
2797 AllArgsAreDescendantNodes::value,
"All arguments passed to set(...) must be descendant nodes.");
2800 AllArgsDecayedAreUnique<Args...>
::value,
2801 "Found duplicate types among the arguments passed to set(...). "
2802 "Types should be listed at most once.");
2804 Zivid::DataModel::Detail::invokeSetWithEachArgument(*
this, std::forward<Args>(args)...);
2820 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0>
2822 template<typename... Args>
2826 using namespace Zivid::Detail::TypeTraits;
2828 using AllArgsAreDescendantNodes =
2829 AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
2831 AllArgsAreDescendantNodes::value,
2832 "All arguments passed to copyWith(...) must be descendant nodes.");
2835 AllArgsDecayedAreUnique<Args...>
::value,
2836 "Found duplicate types among the arguments passed to copyWith(...). "
2837 "Types should be listed at most once.");
2840 copy.set(std::forward<Args>(args)...);
2884 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::LED::Status>::value,
int>::type =
2893 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::LED::Value>::value,
int>::type =
2900 template<size_t i, typename std::enable_if<i == 0, int>::type = 0>
2906 template<size_t i, typename std::enable_if<i == 1, int>::type = 0>
2913 template<
typename F>
2921 template<
typename F>
2940 return stream <<
value.toString();
2944 void setFromString(
const std::string &value);
2946 void setFromString(
const std::string &fullPath,
const std::string &value);
2948 std::string getString(
const std::string &fullPath)
const;
2953 friend struct DataModel::Detail::Befriend<
LED>;
2971 static constexpr const char *
path{
"Temperature/Lens" };
2974 static constexpr const char *
name{
"Lens" };
2978 R
"description(The status of the lens temperature, in degrees Celsius.
2980 - OK: Temperature in (0, 50)
2981 - Suboptimal: Temperature in [50, 60]
2982 - Error: Temperature < 0 or > 60
2996 static constexpr const char *
path{
"Temperature/Lens/Status" };
2999 static constexpr const char *
name{
"Status" };
3003 R
"description(Severity of the lens temperature check.)description"
3030 : m_value{ verifyValue(
value) }
3048 return m_value == other.m_value;
3054 return m_value != other.m_value;
3060 return stream <<
value.toString();
3064 void setFromString(
const std::string &
value);
3066 constexpr ValueType
static verifyValue(
const ValueType &
value)
3068 return value == ValueType::ok ||
value == ValueType::suboptimal ||
value == ValueType::error
3069 ||
value == ValueType::unknown
3071 :
throw std::invalid_argument{
3072 "Invalid value: Status{ "
3073 + std::to_string(
static_cast<std::underlying_type<ValueType>::type
>(
value))
3080 friend struct DataModel::Detail::Befriend<
Status>;
3093 static constexpr const char *
path{
"Temperature/Lens/Value" };
3096 static constexpr const char *
name{
"Value" };
3100 R
"description(Lens temperature in degrees Celsius.)description"
3109 return { std::numeric_limits<double>::lowest(), std::numeric_limits<double>::max() };
3138 return m_opt == other.m_opt;
3144 return m_opt != other.m_opt;
3150 return m_opt < other.m_opt;
3156 return m_opt > other.m_opt;
3162 return m_opt <= other.m_opt;
3168 return m_opt >= other.m_opt;
3174 return stream <<
value.toString();
3178 void setFromString(
const std::string &
value);
3180 std::optional<double> m_opt;
3182 friend struct DataModel::Detail::Befriend<
Value>;
3186 std::tuple<CameraHealth::Temperature::Lens::Status, CameraHealth::Temperature::Lens::Value>;
3206 typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0,
3207 typename std::enable_if<
3208 Zivid::Detail::TypeTraits::AllArgsAreInTuple<
Descendants,
typename std::decay<Args>::type...>::
3212 template<typename... Args>
3216 using namespace Zivid::Detail::TypeTraits;
3219 AllArgsDecayedAreUnique<Args...>
::value,
3220 "Found duplicate types among the arguments passed to Lens(...). "
3221 "Types should be listed at most once.");
3223 set(std::forward<Args>(args)...);
3238 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 2,
int>::type = 0>
3240 template<typename... Args>
3244 using namespace Zivid::Detail::TypeTraits;
3246 using AllArgsAreDescendantNodes =
3247 AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
3249 AllArgsAreDescendantNodes::value,
"All arguments passed to set(...) must be descendant nodes.");
3252 AllArgsDecayedAreUnique<Args...>
::value,
3253 "Found duplicate types among the arguments passed to set(...). "
3254 "Types should be listed at most once.");
3256 Zivid::DataModel::Detail::invokeSetWithEachArgument(*
this, std::forward<Args>(args)...);
3272 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0>
3274 template<typename... Args>
3278 using namespace Zivid::Detail::TypeTraits;
3280 using AllArgsAreDescendantNodes =
3281 AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
3283 AllArgsAreDescendantNodes::value,
3284 "All arguments passed to copyWith(...) must be descendant nodes.");
3287 AllArgsDecayedAreUnique<Args...>
::value,
3288 "Found duplicate types among the arguments passed to copyWith(...). "
3289 "Types should be listed at most once.");
3292 copy.set(std::forward<Args>(args)...);
3336 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::Lens::Status>::value,
int>::
3345 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::Lens::Value>::value,
int>::type =
3352 template<size_t i, typename std::enable_if<i == 0, int>::type = 0>
3358 template<size_t i, typename std::enable_if<i == 1, int>::type = 0>
3365 template<
typename F>
3373 template<
typename F>
3392 return stream <<
value.toString();
3396 void setFromString(
const std::string &value);
3398 void setFromString(
const std::string &fullPath,
const std::string &value);
3400 std::string getString(
const std::string &fullPath)
const;
3405 friend struct DataModel::Detail::Befriend<
Lens>;
3444 typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0,
3445 typename std::enable_if<
3446 Zivid::Detail::TypeTraits::AllArgsAreInTuple<
Descendants,
typename std::decay<Args>::type...>::
3450 template<typename... Args>
3454 using namespace Zivid::Detail::TypeTraits;
3457 AllArgsDecayedAreUnique<Args...>::value,
3458 "Found duplicate types among the arguments passed to Temperature(...). "
3459 "Types should be listed at most once.");
3461 set(std::forward<Args>(args)...);
3483 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 2,
int>::type = 0>
3485 template<typename... Args>
3489 using namespace Zivid::Detail::TypeTraits;
3491 using AllArgsAreDescendantNodes = AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
3493 AllArgsAreDescendantNodes::value,
"All arguments passed to set(...) must be descendant nodes.");
3496 AllArgsDecayedAreUnique<Args...>::value,
3497 "Found duplicate types among the arguments passed to set(...). "
3498 "Types should be listed at most once.");
3500 Zivid::DataModel::Detail::invokeSetWithEachArgument(*
this, std::forward<Args>(args)...);
3523 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0>
3525 template<typename... Args>
3529 using namespace Zivid::Detail::TypeTraits;
3531 using AllArgsAreDescendantNodes = AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
3533 AllArgsAreDescendantNodes::value,
3534 "All arguments passed to copyWith(...) must be descendant nodes.");
3537 AllArgsDecayedAreUnique<Args...>::value,
3538 "Found duplicate types among the arguments passed to copyWith(...). "
3539 "Types should be listed at most once.");
3542 copy.set(std::forward<Args>(args)...);
3647 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::DMD>::value,
int>::type = 0>
3655 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::DMD::Status>::value,
int>::type = 0>
3663 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::DMD::Value>::value,
int>::type = 0>
3671 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::LED>::value,
int>::type = 0>
3679 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::LED::Status>::value,
int>::type = 0>
3687 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::LED::Value>::value,
int>::type = 0>
3695 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::Lens>::value,
int>::type = 0>
3703 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::Lens::Status>::value,
int>::type = 0>
3711 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::Lens::Value>::value,
int>::type = 0>
3717 template<size_t i, typename std::enable_if<i == 0, int>::type = 0>
3723 template<size_t i, typename std::enable_if<i == 1, int>::type = 0>
3729 template<size_t i, typename std::enable_if<i == 2, int>::type = 0>
3736 template<
typename F>
3745 template<
typename F>
3769 void setFromString(
const std::string &value);
3771 void setFromString(
const std::string &fullPath,
const std::string &value);
3773 std::string getString(
const std::string &fullPath)
const;
3779 friend struct DataModel::Detail::Befriend<
Temperature>;
3863 typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0,
3864 typename std::enable_if<
3865 Zivid::Detail::TypeTraits::AllArgsAreInTuple<
Descendants,
typename std::decay<Args>::type...>::value,
3868 template<typename... Args>
3872 using namespace Zivid::Detail::TypeTraits;
3875 AllArgsDecayedAreUnique<Args...>::value,
3876 "Found duplicate types among the arguments passed to CameraHealth(...). "
3877 "Types should be listed at most once.");
3879 set(std::forward<Args>(args)...);
3915 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 2,
int>::type = 0>
3917 template<typename... Args>
3921 using namespace Zivid::Detail::TypeTraits;
3923 using AllArgsAreDescendantNodes = AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
3925 AllArgsAreDescendantNodes::value,
"All arguments passed to set(...) must be descendant nodes.");
3928 AllArgsDecayedAreUnique<Args...>::value,
3929 "Found duplicate types among the arguments passed to set(...). "
3930 "Types should be listed at most once.");
3932 Zivid::DataModel::Detail::invokeSetWithEachArgument(*
this, std::forward<Args>(args)...);
3969 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0>
3971 template<typename... Args>
3975 using namespace Zivid::Detail::TypeTraits;
3977 using AllArgsAreDescendantNodes = AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
3979 AllArgsAreDescendantNodes::value,
"All arguments passed to copyWith(...) must be descendant nodes.");
3982 AllArgsDecayedAreUnique<Args...>::value,
3983 "Found duplicate types among the arguments passed to copyWith(...). "
3984 "Types should be listed at most once.");
3987 copy.set(std::forward<Args>(args)...);
4027 return m_infieldVerification;
4033 return m_infieldVerification;
4039 m_infieldVerification = value;
4046 m_infieldVerification.
set(value);
4053 m_infieldVerification.
set(value);
4060 return m_maxTransferSpeed;
4066 return m_maxTransferSpeed;
4072 m_maxTransferSpeed = value;
4079 m_maxTransferSpeed.
set(value);
4086 m_maxTransferSpeed.
set(value);
4112 m_memory.
set(value);
4119 m_memory.
set(value);
4145 return m_temperature;
4151 return m_temperature;
4157 m_temperature = value;
4164 m_temperature.
set(value);
4171 m_temperature.
set(value);
4178 m_temperature.
set(value);
4185 m_temperature.
set(value);
4192 m_temperature.
set(value);
4199 m_temperature.
set(value);
4206 m_temperature.
set(value);
4213 m_temperature.
set(value);
4220 m_temperature.
set(value);
4224 template<typename T, typename std::enable_if<std::is_same<T, CameraHealth::Fan>::value,
int>::type = 0>
4230 template<typename T, typename std::enable_if<std::is_same<T, CameraHealth::Fan::Status>::value,
int>::type = 0>
4236 template<typename T, typename std::enable_if<std::is_same<T, CameraHealth::Fan::Value>::value,
int>::type = 0>
4244 typename std::enable_if<std::is_same<T, CameraHealth::InfieldVerification>::value,
int>::type = 0>
4247 return m_infieldVerification;
4252 typename std::enable_if<std::is_same<T, CameraHealth::InfieldVerification::Status>::value,
int>::type = 0>
4260 typename std::enable_if<std::is_same<T, CameraHealth::InfieldVerification::Value>::value,
int>::type = 0>
4268 typename std::enable_if<std::is_same<T, CameraHealth::MaxTransferSpeed>::value,
int>::type = 0>
4271 return m_maxTransferSpeed;
4276 typename std::enable_if<std::is_same<T, CameraHealth::MaxTransferSpeed::Status>::value,
int>::type = 0>
4284 typename std::enable_if<std::is_same<T, CameraHealth::MaxTransferSpeed::Value>::value,
int>::type = 0>
4290 template<typename T, typename std::enable_if<std::is_same<T, CameraHealth::Memory>::value,
int>::type = 0>
4298 typename std::enable_if<std::is_same<T, CameraHealth::Memory::Status>::value,
int>::type = 0>
4306 typename std::enable_if<std::is_same<T, CameraHealth::Memory::Value>::value,
int>::type = 0>
4312 template<typename T, typename std::enable_if<std::is_same<T, CameraHealth::Overall>::value,
int>::type = 0>
4318 template<typename T, typename std::enable_if<std::is_same<T, CameraHealth::Temperature>::value,
int>::type = 0>
4321 return m_temperature;
4326 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::DMD>::value,
int>::type = 0>
4334 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::DMD::Status>::value,
int>::type = 0>
4342 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::DMD::Value>::value,
int>::type = 0>
4350 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::LED>::value,
int>::type = 0>
4358 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::LED::Status>::value,
int>::type = 0>
4366 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::LED::Value>::value,
int>::type = 0>
4374 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::Lens>::value,
int>::type = 0>
4382 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::Lens::Status>::value,
int>::type = 0>
4390 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::Lens::Value>::value,
int>::type = 0>
4396 template<size_t i, typename std::enable_if<i == 0, int>::type = 0>
4402 template<size_t i, typename std::enable_if<i == 1, int>::type = 0>
4405 return m_infieldVerification;
4408 template<size_t i, typename std::enable_if<i == 2, int>::type = 0>
4411 return m_maxTransferSpeed;
4414 template<size_t i, typename std::enable_if<i == 3, int>::type = 0>
4420 template<size_t i, typename std::enable_if<i == 4, int>::type = 0>
4426 template<size_t i, typename std::enable_if<i == 5, int>::type = 0>
4429 return m_temperature;
4433 template<
typename F>
4437 f(m_infieldVerification);
4438 f(m_maxTransferSpeed);
4445 template<
typename F>
4449 f(m_infieldVerification);
4450 f(m_maxTransferSpeed);
4472 void save(
const std::string &fileName)
const;
4475 void load(
const std::string &fileName);
4478 void setFromString(
const std::string &value);
4480 void setFromString(
const std::string &fullPath,
const std::string &value);
4482 std::string getString(
const std::string &fullPath)
const;
4491 friend struct DataModel::Detail::Befriend<
CameraHealth>;
4496 struct CameraHealth::Version<1>
4509 ZIVID_CORE_EXPORT void save(
const Zivid::CameraHealth &dataModel, std::ostream &ostream);
4510 ZIVID_CORE_EXPORT void load(Zivid::CameraHealth &dataModel, std::istream &istream);
4516# pragma warning(pop)
4520# if !(defined(_MSC_VER) && (_MSC_VER <= 1900))
4525 struct tuple_size<Zivid::CameraHealth::Fan> : integral_constant<size_t, 2>
4529 struct tuple_element<i, Zivid::CameraHealth::Fan>
4531 static_assert(i < tuple_size<Zivid::CameraHealth::Fan>::value,
"Index must be less than 2");
4534 =
decltype(declval<Zivid::CameraHealth::Fan>().get<i>());
4538 struct tuple_size<Zivid::CameraHealth::InfieldVerification> : integral_constant<size_t, 2>
4542 struct tuple_element<i, Zivid::CameraHealth::InfieldVerification>
4544 static_assert(i < tuple_size<Zivid::CameraHealth::InfieldVerification>::value,
"Index must be less than 2");
4547 =
decltype(declval<Zivid::CameraHealth::InfieldVerification>().get<i>());
4551 struct tuple_size<Zivid::CameraHealth::MaxTransferSpeed> : integral_constant<size_t, 2>
4555 struct tuple_element<i, Zivid::CameraHealth::MaxTransferSpeed>
4557 static_assert(i < tuple_size<Zivid::CameraHealth::MaxTransferSpeed>::value,
"Index must be less than 2");
4560 =
decltype(declval<Zivid::CameraHealth::MaxTransferSpeed>().get<i>());
4564 struct tuple_size<Zivid::CameraHealth::Memory> : integral_constant<size_t, 2>
4568 struct tuple_element<i, Zivid::CameraHealth::Memory>
4570 static_assert(i < tuple_size<Zivid::CameraHealth::Memory>::value,
"Index must be less than 2");
4573 =
decltype(declval<Zivid::CameraHealth::Memory>().get<i>());
4577 struct tuple_size<Zivid::CameraHealth::Temperature> : integral_constant<size_t, 3>
4581 struct tuple_element<i, Zivid::CameraHealth::Temperature>
4583 static_assert(i < tuple_size<Zivid::CameraHealth::Temperature>::value,
"Index must be less than 3");
4586 =
decltype(declval<Zivid::CameraHealth::Temperature>().get<i>());
4590 struct tuple_size<Zivid::CameraHealth::Temperature::DMD> : integral_constant<size_t, 2>
4594 struct tuple_element<i, Zivid::CameraHealth::Temperature::DMD>
4596 static_assert(i < tuple_size<Zivid::CameraHealth::Temperature::DMD>::value,
"Index must be less than 2");
4599 =
decltype(declval<Zivid::CameraHealth::Temperature::DMD>().get<i>());
4603 struct tuple_size<Zivid::CameraHealth::Temperature::LED> : integral_constant<size_t, 2>
4607 struct tuple_element<i, Zivid::CameraHealth::Temperature::LED>
4609 static_assert(i < tuple_size<Zivid::CameraHealth::Temperature::LED>::value,
"Index must be less than 2");
4612 =
decltype(declval<Zivid::CameraHealth::Temperature::LED>().get<i>());
4616 struct tuple_size<Zivid::CameraHealth::Temperature::Lens> : integral_constant<size_t, 2>
4620 struct tuple_element<i, Zivid::CameraHealth::Temperature::Lens>
4622 static_assert(i < tuple_size<Zivid::CameraHealth::Temperature::Lens>::value,
"Index must be less than 2");
4625 =
decltype(declval<Zivid::CameraHealth::Temperature::Lens>().get<i>());
4629 struct tuple_size<Zivid::CameraHealth> : integral_constant<size_t, 6>
4633 struct tuple_element<i, Zivid::CameraHealth>
4635 static_assert(i < tuple_size<Zivid::CameraHealth>::value,
"Index must be less than 6");
4638 =
decltype(declval<Zivid::CameraHealth>().get<i>());
4647#if defined(__has_include) && !defined(NO_DOC)
4648# if __has_include("Zivid/CameraHealthInternal.h") && __has_include("Zivid/DataModelNodeMetaData.h")
4649# include "Zivid/CameraHealthInternal.h"
#define ZIVID_CORE_EXPORT
Definition CoreExport.h:56
Severity of the fan check.
Definition CameraHealth.h:161
Status()=default
Default constructor.
static const Status error
error
Definition CameraHealth.h:185
constexpr Status(ValueType value)
Constructor.
Definition CameraHealth.h:198
static constexpr const char * name
The name of this value.
Definition CameraHealth.h:170
ValueType
The type of the underlying value.
Definition CameraHealth.h:177
@ ok
Definition CameraHealth.h:178
@ suboptimal
Definition CameraHealth.h:179
@ unknown
Definition CameraHealth.h:181
@ error
Definition CameraHealth.h:180
friend std::ostream & operator<<(std::ostream &stream, const Status &value)
Operator to serialize the value to a stream.
Definition CameraHealth.h:227
std::string toString() const
Get the value as string.
static const Status ok
ok
Definition CameraHealth.h:183
static const Status suboptimal
suboptimal
Definition CameraHealth.h:184
ValueType value() const
Get the value.
static constexpr const char * description
The description for this value.
Definition CameraHealth.h:173
static constexpr const char * path
The full path for this value.
Definition CameraHealth.h:167
static std::set< ValueType > validValues()
All valid values of Status.
Definition CameraHealth.h:189
bool operator==(const Status &other) const
Comparison operator.
Definition CameraHealth.h:215
bool operator!=(const Status &other) const
Comparison operator.
Definition CameraHealth.h:221
static constexpr DataModel::NodeType nodeType
The type of this node.
Definition CameraHealth.h:164
static const Status unknown
unknown
Definition CameraHealth.h:186
friend std::ostream & operator<<(std::ostream &stream, const Status::ValueType &value)
Operator to serialize ValueType to a stream.
Definition CameraHealth.h:209
Whether the fan is operating as expected, or stopped unexpectedly.
Definition CameraHealth.h:255
bool hasValue() const
Check if the value is set.
friend std::ostream & operator<<(std::ostream &stream, const Value &value)
Operator to serialize the value to a stream.
Definition CameraHealth.h:328
bool operator==(const Value &other) const
Comparison operator.
Definition CameraHealth.h:316
ValueType value() const
Get the value.
static constexpr DataModel::NodeType nodeType
The type of this node.
Definition CameraHealth.h:258
static constexpr const char * path
The full path for this value.
Definition CameraHealth.h:261
friend std::ostream & operator<<(std::ostream &stream, const Value::ValueType &value)
Operator to serialize ValueType to a stream.
Definition CameraHealth.h:310
static std::set< ValueType > validValues()
All valid values of Value.
Definition CameraHealth.h:281
constexpr Value(ValueType value)
Constructor.
Definition CameraHealth.h:290
Value()=default
Default constructor.
static const Value unexpectedFanStop
unexpectedFanStop
Definition CameraHealth.h:278
void reset()
Reset the node to unset state.
static const Value ok
ok
Definition CameraHealth.h:277
static constexpr const char * name
The name of this value.
Definition CameraHealth.h:264
ValueType
The type of the underlying value.
Definition CameraHealth.h:273
@ ok
Definition CameraHealth.h:274
@ unexpectedFanStop
Definition CameraHealth.h:275
std::string toString() const
Get the value as string.
bool operator!=(const Value &other) const
Comparison operator.
Definition CameraHealth.h:322
static constexpr const char * description
The description for this value.
Definition CameraHealth.h:267
The status of the camera's fan.
Definition CameraHealth.h:138
bool operator==(const Fan &other) const
Equality operator.
void forEach(const F &f)
Run the given function on each direct member with the value of the member as parameter.
Definition CameraHealth.h:535
void forEach(const F &f) const
Run the given function on each direct member with the value of the member as parameter.
Definition CameraHealth.h:527
const CameraHealth::Fan::Status & get() const
Definition CameraHealth.h:500
std::tuple< CameraHealth::Fan::Status, CameraHealth::Fan::Value > Descendants
Definition CameraHealth.h:351
const CameraHealth::Fan::Value & get() const
Definition CameraHealth.h:508
static constexpr const char * description
The description for this value.
Definition CameraHealth.h:150
Fan()
Default constructor.
Fan & set(const Value &value)
Set Value.
Definition CameraHealth.h:491
const Status & status() const
Get Status.
Definition CameraHealth.h:460
Status & status()
Get Status.
Definition CameraHealth.h:466
friend std::ostream & operator<<(std::ostream &stream, const Fan &value)
Operator to send the value as string to a stream.
Definition CameraHealth.h:551
static constexpr const char * name
The name of this value.
Definition CameraHealth.h:147
bool operator!=(const Fan &other) const
Inequality operator.
Value & value()
Get Value.
Definition CameraHealth.h:485
std::string toString() const
Get the value as string.
void set(Args &&...args)
Set multiple arguments.
Definition CameraHealth.h:407
Fan copyWith(Args &&...args) const
Returns a copy of this object with the given argument(s) set to the new value(s)
Definition CameraHealth.h:440
Fan & set(const Status &value)
Set Status.
Definition CameraHealth.h:472
static constexpr const char * path
The full path for this value.
Definition CameraHealth.h:144
const Value & value() const
Get Value.
Definition CameraHealth.h:479
static constexpr DataModel::NodeType nodeType
The type of this node.
Definition CameraHealth.h:141
Severity of the infield verification check.
Definition CameraHealth.h:603
static const Status suboptimal
suboptimal
Definition CameraHealth.h:628
ValueType
The type of the underlying value.
Definition CameraHealth.h:621
@ ok
Definition CameraHealth.h:622
@ suboptimal
Definition CameraHealth.h:623
@ unknown
Definition CameraHealth.h:625
@ error
Definition CameraHealth.h:624
bool operator==(const Status &other) const
Comparison operator.
Definition CameraHealth.h:659
ValueType value() const
Get the value.
constexpr Status(ValueType value)
Constructor.
Definition CameraHealth.h:642
friend std::ostream & operator<<(std::ostream &stream, const Status &value)
Operator to serialize the value to a stream.
Definition CameraHealth.h:671
static const Status error
error
Definition CameraHealth.h:629
static const Status ok
ok
Definition CameraHealth.h:627
static constexpr DataModel::NodeType nodeType
The type of this node.
Definition CameraHealth.h:606
static const Status unknown
unknown
Definition CameraHealth.h:630
bool operator!=(const Status &other) const
Comparison operator.
Definition CameraHealth.h:665
Status()=default
Default constructor.
std::string toString() const
Get the value as string.
static constexpr const char * name
The name of this value.
Definition CameraHealth.h:612
static constexpr const char * path
The full path for this value.
Definition CameraHealth.h:609
static constexpr const char * description
The description for this value.
Definition CameraHealth.h:615
friend std::ostream & operator<<(std::ostream &stream, const Status::ValueType &value)
Operator to serialize ValueType to a stream.
Definition CameraHealth.h:653
static std::set< ValueType > validValues()
All valid values of Status.
Definition CameraHealth.h:633
Time of the most recent infield verification.
Definition CameraHealth.h:699
bool operator==(const Value &other) const
Comparison operator.
Definition CameraHealth.h:749
friend std::ostream & operator<<(std::ostream &stream, const Value &value)
Operator to serialize the value to a stream.
Definition CameraHealth.h:785
static constexpr const char * name
The name of this value.
Definition CameraHealth.h:708
static constexpr const char * description
The description for this value.
Definition CameraHealth.h:711
static constexpr const char * path
The full path for this value.
Definition CameraHealth.h:705
std::chrono::system_clock::time_point value() const
Get the value.
static constexpr Range< std::chrono::system_clock::time_point > validRange()
The range of valid values for Value.
Definition CameraHealth.h:719
std::chrono::system_clock::time_point ValueType
The type of the underlying value.
Definition CameraHealth.h:716
bool operator!=(const Value &other) const
Comparison operator.
Definition CameraHealth.h:755
static constexpr DataModel::NodeType nodeType
The type of this node.
Definition CameraHealth.h:702
bool operator>=(const Value &other) const
Comparison operator.
Definition CameraHealth.h:779
bool hasValue() const
Check if the value is set.
std::string toString() const
Get the value as string.
bool operator>(const Value &other) const
Comparison operator.
Definition CameraHealth.h:767
bool operator<(const Value &other) const
Comparison operator.
Definition CameraHealth.h:761
bool operator<=(const Value &other) const
Comparison operator.
Definition CameraHealth.h:773
Value()=default
Default constructor.
void reset()
Reset the node to unset state.
constexpr Value(std::chrono::system_clock::time_point value)
Constructor.
Definition CameraHealth.h:729
The status of the camera's most recent infield verification.
Definition CameraHealth.h:578
const CameraHealth::InfieldVerification::Status & get() const
Definition CameraHealth.h:949
const Status & status() const
Get Status.
Definition CameraHealth.h:908
static constexpr const char * description
The description for this value.
Definition CameraHealth.h:590
InfieldVerification & set(const Status &value)
Set Status.
Definition CameraHealth.h:920
std::string toString() const
Get the value as string.
InfieldVerification & set(const Value &value)
Set Value.
Definition CameraHealth.h:939
const CameraHealth::InfieldVerification::Value & get() const
Definition CameraHealth.h:958
InfieldVerification copyWith(Args &&...args) const
Returns a copy of this object with the given argument(s) set to the new value(s)
Definition CameraHealth.h:888
bool operator==(const InfieldVerification &other) const
Equality operator.
void forEach(const F &f)
Run the given function on each direct member with the value of the member as parameter.
Definition CameraHealth.h:985
Status & status()
Get Status.
Definition CameraHealth.h:914
static constexpr DataModel::NodeType nodeType
The type of this node.
Definition CameraHealth.h:581
const Value & value() const
Get Value.
Definition CameraHealth.h:927
void forEach(const F &f) const
Run the given function on each direct member with the value of the member as parameter.
Definition CameraHealth.h:977
Value & value()
Get Value.
Definition CameraHealth.h:933
void set(Args &&...args)
Set multiple arguments.
Definition CameraHealth.h:855
static constexpr const char * name
The name of this value.
Definition CameraHealth.h:587
InfieldVerification()
Default constructor.
friend std::ostream & operator<<(std::ostream &stream, const InfieldVerification &value)
Operator to send the value as string to a stream.
Definition CameraHealth.h:1001
std::tuple< CameraHealth::InfieldVerification::Status, CameraHealth::InfieldVerification::Value > Descendants
Definition CameraHealth.h:798
static constexpr const char * path
The full path for this value.
Definition CameraHealth.h:584
bool operator!=(const InfieldVerification &other) const
Inequality operator.
Severity of the max transfer speed check.
Definition CameraHealth.h:1065
bool operator==(const Status &other) const
Comparison operator.
Definition CameraHealth.h:1121
static const Status error
error
Definition CameraHealth.h:1091
ValueType value() const
Get the value.
Status()=default
Default constructor.
bool operator!=(const Status &other) const
Comparison operator.
Definition CameraHealth.h:1127
friend std::ostream & operator<<(std::ostream &stream, const Status &value)
Operator to serialize the value to a stream.
Definition CameraHealth.h:1133
static const Status ok
ok
Definition CameraHealth.h:1089
static constexpr const char * name
The name of this value.
Definition CameraHealth.h:1074
ValueType
The type of the underlying value.
Definition CameraHealth.h:1083
@ ok
Definition CameraHealth.h:1084
@ suboptimal
Definition CameraHealth.h:1085
@ unknown
Definition CameraHealth.h:1087
@ error
Definition CameraHealth.h:1086
static constexpr const char * description
The description for this value.
Definition CameraHealth.h:1077
static std::set< ValueType > validValues()
All valid values of Status.
Definition CameraHealth.h:1095
std::string toString() const
Get the value as string.
static constexpr DataModel::NodeType nodeType
The type of this node.
Definition CameraHealth.h:1068
static constexpr const char * path
The full path for this value.
Definition CameraHealth.h:1071
constexpr Status(ValueType value)
Constructor.
Definition CameraHealth.h:1104
static const Status suboptimal
suboptimal
Definition CameraHealth.h:1090
static const Status unknown
unknown
Definition CameraHealth.h:1092
friend std::ostream & operator<<(std::ostream &stream, const Status::ValueType &value)
Operator to serialize ValueType to a stream.
Definition CameraHealth.h:1115
Max transfer speed in megabits per second (Mbps).
Definition CameraHealth.h:1161
bool operator<(const Value &other) const
Comparison operator.
Definition CameraHealth.h:1222
bool operator<=(const Value &other) const
Comparison operator.
Definition CameraHealth.h:1234
static constexpr DataModel::NodeType nodeType
The type of this node.
Definition CameraHealth.h:1164
friend std::ostream & operator<<(std::ostream &stream, const Value &value)
Operator to serialize the value to a stream.
Definition CameraHealth.h:1246
static constexpr Range< uint32_t > validRange()
The range of valid values for Value.
Definition CameraHealth.h:1181
bool operator>=(const Value &other) const
Comparison operator.
Definition CameraHealth.h:1240
uint32_t ValueType
The type of the underlying value.
Definition CameraHealth.h:1178
Value()=default
Default constructor.
static constexpr const char * path
The full path for this value.
Definition CameraHealth.h:1167
bool operator!=(const Value &other) const
Comparison operator.
Definition CameraHealth.h:1216
void reset()
Reset the node to unset state.
bool hasValue() const
Check if the value is set.
constexpr Value(uint32_t value)
Constructor.
Definition CameraHealth.h:1190
bool operator==(const Value &other) const
Comparison operator.
Definition CameraHealth.h:1210
uint32_t value() const
Get the value.
bool operator>(const Value &other) const
Comparison operator.
Definition CameraHealth.h:1228
static constexpr const char * name
The name of this value.
Definition CameraHealth.h:1170
static constexpr const char * description
The description for this value.
Definition CameraHealth.h:1173
std::string toString() const
Get the value as string.
The end-to-end link speed between the camera and the host computer, defined as the minimum of the cam...
Definition CameraHealth.h:1034
const CameraHealth::MaxTransferSpeed::Value & get() const
Definition CameraHealth.h:1417
Value & value()
Get Value.
Definition CameraHealth.h:1394
Status & status()
Get Status.
Definition CameraHealth.h:1375
bool operator==(const MaxTransferSpeed &other) const
Equality operator.
void forEach(const F &f)
Run the given function on each direct member with the value of the member as parameter.
Definition CameraHealth.h:1444
MaxTransferSpeed()
Default constructor.
std::string toString() const
Get the value as string.
MaxTransferSpeed copyWith(Args &&...args) const
Returns a copy of this object with the given argument(s) set to the new value(s)
Definition CameraHealth.h:1349
void forEach(const F &f) const
Run the given function on each direct member with the value of the member as parameter.
Definition CameraHealth.h:1436
friend std::ostream & operator<<(std::ostream &stream, const MaxTransferSpeed &value)
Operator to send the value as string to a stream.
Definition CameraHealth.h:1460
const Value & value() const
Get Value.
Definition CameraHealth.h:1388
static constexpr const char * description
The description for this value.
Definition CameraHealth.h:1046
bool operator!=(const MaxTransferSpeed &other) const
Inequality operator.
MaxTransferSpeed & set(const Status &value)
Set Status.
Definition CameraHealth.h:1381
const CameraHealth::MaxTransferSpeed::Status & get() const
Definition CameraHealth.h:1409
const Status & status() const
Get Status.
Definition CameraHealth.h:1369
static constexpr const char * name
The name of this value.
Definition CameraHealth.h:1043
void set(Args &&...args)
Set multiple arguments.
Definition CameraHealth.h:1316
static constexpr DataModel::NodeType nodeType
The type of this node.
Definition CameraHealth.h:1037
static constexpr const char * path
The full path for this value.
Definition CameraHealth.h:1040
std::tuple< CameraHealth::MaxTransferSpeed::Status, CameraHealth::MaxTransferSpeed::Value > Descendants
Definition CameraHealth.h:1259
MaxTransferSpeed & set(const Value &value)
Set Value.
Definition CameraHealth.h:1400
Severity of the memory check.
Definition CameraHealth.h:1510
static constexpr const char * name
The name of this value.
Definition CameraHealth.h:1519
static constexpr DataModel::NodeType nodeType
The type of this node.
Definition CameraHealth.h:1513
static const Status unknown
unknown
Definition CameraHealth.h:1535
static std::set< ValueType > validValues()
All valid values of Status.
Definition CameraHealth.h:1538
bool operator!=(const Status &other) const
Comparison operator.
Definition CameraHealth.h:1570
std::string toString() const
Get the value as string.
friend std::ostream & operator<<(std::ostream &stream, const Status &value)
Operator to serialize the value to a stream.
Definition CameraHealth.h:1576
constexpr Status(ValueType value)
Constructor.
Definition CameraHealth.h:1547
static const Status error
error
Definition CameraHealth.h:1534
static constexpr const char * description
The description for this value.
Definition CameraHealth.h:1522
ValueType value() const
Get the value.
Status()=default
Default constructor.
static const Status ok
ok
Definition CameraHealth.h:1532
ValueType
The type of the underlying value.
Definition CameraHealth.h:1526
@ ok
Definition CameraHealth.h:1527
@ suboptimal
Definition CameraHealth.h:1528
@ unknown
Definition CameraHealth.h:1530
@ error
Definition CameraHealth.h:1529
static const Status suboptimal
suboptimal
Definition CameraHealth.h:1533
friend std::ostream & operator<<(std::ostream &stream, const Status::ValueType &value)
Operator to serialize ValueType to a stream.
Definition CameraHealth.h:1558
static constexpr const char * path
The full path for this value.
Definition CameraHealth.h:1516
bool operator==(const Status &other) const
Comparison operator.
Definition CameraHealth.h:1564
Number of memory errors detected by the memory test.
Definition CameraHealth.h:1604
static constexpr const char * description
The description for this value.
Definition CameraHealth.h:1616
void reset()
Reset the node to unset state.
friend std::ostream & operator<<(std::ostream &stream, const Value &value)
Operator to serialize the value to a stream.
Definition CameraHealth.h:1689
static constexpr const char * path
The full path for this value.
Definition CameraHealth.h:1610
constexpr Value(uint32_t value)
Constructor.
Definition CameraHealth.h:1633
std::string toString() const
Get the value as string.
bool operator==(const Value &other) const
Comparison operator.
Definition CameraHealth.h:1653
bool operator<=(const Value &other) const
Comparison operator.
Definition CameraHealth.h:1677
static constexpr DataModel::NodeType nodeType
The type of this node.
Definition CameraHealth.h:1607
static constexpr Range< uint32_t > validRange()
The range of valid values for Value.
Definition CameraHealth.h:1624
uint32_t ValueType
The type of the underlying value.
Definition CameraHealth.h:1621
bool operator!=(const Value &other) const
Comparison operator.
Definition CameraHealth.h:1659
Value()=default
Default constructor.
uint32_t value() const
Get the value.
static constexpr const char * name
The name of this value.
Definition CameraHealth.h:1613
bool hasValue() const
Check if the value is set.
bool operator>=(const Value &other) const
Comparison operator.
Definition CameraHealth.h:1683
bool operator<(const Value &other) const
Comparison operator.
Definition CameraHealth.h:1665
bool operator>(const Value &other) const
Comparison operator.
Definition CameraHealth.h:1671
The status of the camera's memory test.
Definition CameraHealth.h:1487
friend std::ostream & operator<<(std::ostream &stream, const Memory &value)
Operator to send the value as string to a stream.
Definition CameraHealth.h:1902
bool operator!=(const Memory &other) const
Inequality operator.
const CameraHealth::Memory::Value & get() const
Definition CameraHealth.h:1859
static constexpr const char * description
The description for this value.
Definition CameraHealth.h:1499
bool operator==(const Memory &other) const
Equality operator.
const Value & value() const
Get Value.
Definition CameraHealth.h:1830
static constexpr const char * name
The name of this value.
Definition CameraHealth.h:1496
Value & value()
Get Value.
Definition CameraHealth.h:1836
Memory & set(const Status &value)
Set Status.
Definition CameraHealth.h:1823
Memory copyWith(Args &&...args) const
Returns a copy of this object with the given argument(s) set to the new value(s)
Definition CameraHealth.h:1791
void forEach(const F &f)
Run the given function on each direct member with the value of the member as parameter.
Definition CameraHealth.h:1886
void forEach(const F &f) const
Run the given function on each direct member with the value of the member as parameter.
Definition CameraHealth.h:1878
std::string toString() const
Get the value as string.
std::tuple< CameraHealth::Memory::Status, CameraHealth::Memory::Value > Descendants
Definition CameraHealth.h:1702
const Status & status() const
Get Status.
Definition CameraHealth.h:1811
const CameraHealth::Memory::Status & get() const
Definition CameraHealth.h:1851
static constexpr const char * path
The full path for this value.
Definition CameraHealth.h:1493
Status & status()
Get Status.
Definition CameraHealth.h:1817
void set(Args &&...args)
Set multiple arguments.
Definition CameraHealth.h:1758
Memory()
Default constructor.
static constexpr DataModel::NodeType nodeType
The type of this node.
Definition CameraHealth.h:1490
Memory & set(const Value &value)
Set Value.
Definition CameraHealth.h:1842
The aggregated severity across all checks, taking the highest-precedence severity among them....
Definition CameraHealth.h:1929
static constexpr const char * name
The name of this value.
Definition CameraHealth.h:1938
friend std::ostream & operator<<(std::ostream &stream, const Overall &value)
Operator to serialize the value to a stream.
Definition CameraHealth.h:2002
ValueType value() const
Get the value.
static constexpr const char * path
The full path for this value.
Definition CameraHealth.h:1935
static const Overall suboptimal
suboptimal
Definition CameraHealth.h:1959
constexpr Overall(ValueType value)
Constructor.
Definition CameraHealth.h:1973
friend std::ostream & operator<<(std::ostream &stream, const Overall::ValueType &value)
Operator to serialize ValueType to a stream.
Definition CameraHealth.h:1984
bool operator!=(const Overall &other) const
Comparison operator.
Definition CameraHealth.h:1996
ValueType
The type of the underlying value.
Definition CameraHealth.h:1952
@ ok
Definition CameraHealth.h:1953
@ suboptimal
Definition CameraHealth.h:1954
@ unknown
Definition CameraHealth.h:1956
@ error
Definition CameraHealth.h:1955
bool operator==(const Overall &other) const
Comparison operator.
Definition CameraHealth.h:1990
static constexpr DataModel::NodeType nodeType
The type of this node.
Definition CameraHealth.h:1932
Overall()=default
Default constructor.
static const Overall ok
ok
Definition CameraHealth.h:1958
static const Overall error
error
Definition CameraHealth.h:1960
static std::set< ValueType > validValues()
All valid values of Overall.
Definition CameraHealth.h:1964
static constexpr const char * description
The description for this value.
Definition CameraHealth.h:1941
std::string toString() const
Get the value as string.
static const Overall unknown
unknown
Definition CameraHealth.h:1961
Severity of the DMD temperature check.
Definition CameraHealth.h:2086
Status()=default
Default constructor.
std::string toString() const
Get the value as string.
static const Status error
error
Definition CameraHealth.h:2112
bool operator==(const Status &other) const
Comparison operator.
Definition CameraHealth.h:2142
static constexpr const char * name
The name of this value.
Definition CameraHealth.h:2095
ValueType value() const
Get the value.
static const Status unknown
unknown
Definition CameraHealth.h:2113
constexpr Status(ValueType value)
Constructor.
Definition CameraHealth.h:2125
friend std::ostream & operator<<(std::ostream &stream, const Status &value)
Operator to serialize the value to a stream.
Definition CameraHealth.h:2154
static constexpr DataModel::NodeType nodeType
The type of this node.
Definition CameraHealth.h:2089
bool operator!=(const Status &other) const
Comparison operator.
Definition CameraHealth.h:2148
static constexpr const char * description
The description for this value.
Definition CameraHealth.h:2098
static const Status ok
ok
Definition CameraHealth.h:2110
ValueType
The type of the underlying value.
Definition CameraHealth.h:2104
@ ok
Definition CameraHealth.h:2105
@ suboptimal
Definition CameraHealth.h:2106
@ unknown
Definition CameraHealth.h:2108
@ error
Definition CameraHealth.h:2107
static std::set< ValueType > validValues()
All valid values of Status.
Definition CameraHealth.h:2116
static constexpr const char * path
The full path for this value.
Definition CameraHealth.h:2092
static const Status suboptimal
suboptimal
Definition CameraHealth.h:2111
friend std::ostream & operator<<(std::ostream &stream, const Status::ValueType &value)
Operator to serialize ValueType to a stream.
Definition CameraHealth.h:2136
DMD temperature in degrees Celsius.
Definition CameraHealth.h:2183
static constexpr const char * name
The name of this value.
Definition CameraHealth.h:2192
bool operator<=(const Value &other) const
Comparison operator.
Definition CameraHealth.h:2256
double ValueType
The type of the underlying value.
Definition CameraHealth.h:2200
friend std::ostream & operator<<(std::ostream &stream, const Value &value)
Operator to serialize the value to a stream.
Definition CameraHealth.h:2268
std::string toString() const
Get the value as string.
bool operator==(const Value &other) const
Comparison operator.
Definition CameraHealth.h:2232
bool operator>=(const Value &other) const
Comparison operator.
Definition CameraHealth.h:2262
static constexpr const char * path
The full path for this value.
Definition CameraHealth.h:2189
bool operator!=(const Value &other) const
Comparison operator.
Definition CameraHealth.h:2238
bool operator>(const Value &other) const
Comparison operator.
Definition CameraHealth.h:2250
Value()=default
Default constructor.
static constexpr const char * description
The description for this value.
Definition CameraHealth.h:2195
constexpr Value(double value)
Constructor.
Definition CameraHealth.h:2212
bool hasValue() const
Check if the value is set.
double value() const
Get the value.
void reset()
Reset the node to unset state.
bool operator<(const Value &other) const
Comparison operator.
Definition CameraHealth.h:2244
static constexpr Range< double > validRange()
The range of valid values for Value.
Definition CameraHealth.h:2203
static constexpr DataModel::NodeType nodeType
The type of this node.
Definition CameraHealth.h:2186
The status of the DMD (Digital Micromirror Device) temperature, in degrees Celsius.
Definition CameraHealth.h:2060
const CameraHealth::Temperature::DMD::Value & get() const
Definition CameraHealth.h:2443
bool operator!=(const DMD &other) const
Inequality operator.
static constexpr const char * description
The description for this value.
Definition CameraHealth.h:2072
void forEach(const F &f)
Run the given function on each direct member with the value of the member as parameter.
Definition CameraHealth.h:2470
DMD()
Default constructor.
bool operator==(const DMD &other) const
Equality operator.
const Status & status() const
Get Status.
Definition CameraHealth.h:2393
std::tuple< CameraHealth::Temperature::DMD::Status, CameraHealth::Temperature::DMD::Value > Descendants
Definition CameraHealth.h:2281
const Value & value() const
Get Value.
Definition CameraHealth.h:2412
static constexpr const char * path
The full path for this value.
Definition CameraHealth.h:2066
DMD & set(const Status &value)
Set Status.
Definition CameraHealth.h:2405
static constexpr const char * name
The name of this value.
Definition CameraHealth.h:2069
friend std::ostream & operator<<(std::ostream &stream, const DMD &value)
Operator to send the value as string to a stream.
Definition CameraHealth.h:2486
Status & status()
Get Status.
Definition CameraHealth.h:2399
void set(Args &&...args)
Set multiple arguments.
Definition CameraHealth.h:2338
DMD & set(const Value &value)
Set Value.
Definition CameraHealth.h:2424
static constexpr DataModel::NodeType nodeType
The type of this node.
Definition CameraHealth.h:2063
void forEach(const F &f) const
Run the given function on each direct member with the value of the member as parameter.
Definition CameraHealth.h:2462
std::string toString() const
Get the value as string.
DMD copyWith(Args &&...args) const
Returns a copy of this object with the given argument(s) set to the new value(s)
Definition CameraHealth.h:2372
Value & value()
Get Value.
Definition CameraHealth.h:2418
const CameraHealth::Temperature::DMD::Status & get() const
Definition CameraHealth.h:2434
Severity of the LED temperature check.
Definition CameraHealth.h:2538
ValueType value() const
Get the value.
static const Status suboptimal
suboptimal
Definition CameraHealth.h:2563
constexpr Status(ValueType value)
Constructor.
Definition CameraHealth.h:2577
Status()=default
Default constructor.
static const Status error
error
Definition CameraHealth.h:2564
friend std::ostream & operator<<(std::ostream &stream, const Status &value)
Operator to serialize the value to a stream.
Definition CameraHealth.h:2606
static constexpr const char * description
The description for this value.
Definition CameraHealth.h:2550
static const Status unknown
unknown
Definition CameraHealth.h:2565
static constexpr const char * path
The full path for this value.
Definition CameraHealth.h:2544
bool operator!=(const Status &other) const
Comparison operator.
Definition CameraHealth.h:2600
static std::set< ValueType > validValues()
All valid values of Status.
Definition CameraHealth.h:2568
static constexpr DataModel::NodeType nodeType
The type of this node.
Definition CameraHealth.h:2541
std::string toString() const
Get the value as string.
static constexpr const char * name
The name of this value.
Definition CameraHealth.h:2547
bool operator==(const Status &other) const
Comparison operator.
Definition CameraHealth.h:2594
static const Status ok
ok
Definition CameraHealth.h:2562
friend std::ostream & operator<<(std::ostream &stream, const Status::ValueType &value)
Operator to serialize ValueType to a stream.
Definition CameraHealth.h:2588
ValueType
The type of the underlying value.
Definition CameraHealth.h:2556
@ ok
Definition CameraHealth.h:2557
@ suboptimal
Definition CameraHealth.h:2558
@ unknown
Definition CameraHealth.h:2560
@ error
Definition CameraHealth.h:2559
LED temperature in degrees Celsius.
Definition CameraHealth.h:2635
Value()=default
Default constructor.
void reset()
Reset the node to unset state.
static constexpr const char * description
The description for this value.
Definition CameraHealth.h:2647
friend std::ostream & operator<<(std::ostream &stream, const Value &value)
Operator to serialize the value to a stream.
Definition CameraHealth.h:2720
double value() const
Get the value.
bool operator!=(const Value &other) const
Comparison operator.
Definition CameraHealth.h:2690
bool operator<=(const Value &other) const
Comparison operator.
Definition CameraHealth.h:2708
static constexpr const char * name
The name of this value.
Definition CameraHealth.h:2644
bool operator>(const Value &other) const
Comparison operator.
Definition CameraHealth.h:2702
static constexpr DataModel::NodeType nodeType
The type of this node.
Definition CameraHealth.h:2638
double ValueType
The type of the underlying value.
Definition CameraHealth.h:2652
bool hasValue() const
Check if the value is set.
bool operator>=(const Value &other) const
Comparison operator.
Definition CameraHealth.h:2714
static constexpr Range< double > validRange()
The range of valid values for Value.
Definition CameraHealth.h:2655
std::string toString() const
Get the value as string.
static constexpr const char * path
The full path for this value.
Definition CameraHealth.h:2641
bool operator==(const Value &other) const
Comparison operator.
Definition CameraHealth.h:2684
bool operator<(const Value &other) const
Comparison operator.
Definition CameraHealth.h:2696
constexpr Value(double value)
Constructor.
Definition CameraHealth.h:2664
The status of the LED temperature, in degrees Celsius.
Definition CameraHealth.h:2513
std::string toString() const
Get the value as string.
void set(Args &&...args)
Set multiple arguments.
Definition CameraHealth.h:2790
Status & status()
Get Status.
Definition CameraHealth.h:2851
const CameraHealth::Temperature::LED::Value & get() const
Definition CameraHealth.h:2895
LED & set(const Value &value)
Set Value.
Definition CameraHealth.h:2876
LED & set(const Status &value)
Set Status.
Definition CameraHealth.h:2857
const Value & value() const
Get Value.
Definition CameraHealth.h:2864
LED()
Default constructor.
std::tuple< CameraHealth::Temperature::LED::Status, CameraHealth::Temperature::LED::Value > Descendants
Definition CameraHealth.h:2733
const CameraHealth::Temperature::LED::Status & get() const
Definition CameraHealth.h:2886
static constexpr DataModel::NodeType nodeType
The type of this node.
Definition CameraHealth.h:2516
friend std::ostream & operator<<(std::ostream &stream, const LED &value)
Operator to send the value as string to a stream.
Definition CameraHealth.h:2938
static constexpr const char * path
The full path for this value.
Definition CameraHealth.h:2519
void forEach(const F &f)
Run the given function on each direct member with the value of the member as parameter.
Definition CameraHealth.h:2922
bool operator!=(const LED &other) const
Inequality operator.
static constexpr const char * name
The name of this value.
Definition CameraHealth.h:2522
Value & value()
Get Value.
Definition CameraHealth.h:2870
void forEach(const F &f) const
Run the given function on each direct member with the value of the member as parameter.
Definition CameraHealth.h:2914
static constexpr const char * description
The description for this value.
Definition CameraHealth.h:2525
const Status & status() const
Get Status.
Definition CameraHealth.h:2845
LED copyWith(Args &&...args) const
Returns a copy of this object with the given argument(s) set to the new value(s)
Definition CameraHealth.h:2824
bool operator==(const LED &other) const
Equality operator.
Severity of the lens temperature check.
Definition CameraHealth.h:2990
static constexpr const char * description
The description for this value.
Definition CameraHealth.h:3002
std::string toString() const
Get the value as string.
static std::set< ValueType > validValues()
All valid values of Status.
Definition CameraHealth.h:3020
static const Status unknown
unknown
Definition CameraHealth.h:3017
static const Status error
error
Definition CameraHealth.h:3016
ValueType
The type of the underlying value.
Definition CameraHealth.h:3008
@ ok
Definition CameraHealth.h:3009
@ suboptimal
Definition CameraHealth.h:3010
@ unknown
Definition CameraHealth.h:3012
@ error
Definition CameraHealth.h:3011
constexpr Status(ValueType value)
Constructor.
Definition CameraHealth.h:3029
static const Status suboptimal
suboptimal
Definition CameraHealth.h:3015
friend std::ostream & operator<<(std::ostream &stream, const Status &value)
Operator to serialize the value to a stream.
Definition CameraHealth.h:3058
Status()=default
Default constructor.
static constexpr DataModel::NodeType nodeType
The type of this node.
Definition CameraHealth.h:2993
bool operator==(const Status &other) const
Comparison operator.
Definition CameraHealth.h:3046
ValueType value() const
Get the value.
bool operator!=(const Status &other) const
Comparison operator.
Definition CameraHealth.h:3052
static constexpr const char * path
The full path for this value.
Definition CameraHealth.h:2996
static constexpr const char * name
The name of this value.
Definition CameraHealth.h:2999
static const Status ok
ok
Definition CameraHealth.h:3014
friend std::ostream & operator<<(std::ostream &stream, const Status::ValueType &value)
Operator to serialize ValueType to a stream.
Definition CameraHealth.h:3040
Lens temperature in degrees Celsius.
Definition CameraHealth.h:3087
static constexpr DataModel::NodeType nodeType
The type of this node.
Definition CameraHealth.h:3090
friend std::ostream & operator<<(std::ostream &stream, const Value &value)
Operator to serialize the value to a stream.
Definition CameraHealth.h:3172
bool operator==(const Value &other) const
Comparison operator.
Definition CameraHealth.h:3136
static constexpr Range< double > validRange()
The range of valid values for Value.
Definition CameraHealth.h:3107
static constexpr const char * path
The full path for this value.
Definition CameraHealth.h:3093
bool hasValue() const
Check if the value is set.
static constexpr const char * name
The name of this value.
Definition CameraHealth.h:3096
void reset()
Reset the node to unset state.
bool operator<=(const Value &other) const
Comparison operator.
Definition CameraHealth.h:3160
Value()=default
Default constructor.
bool operator>(const Value &other) const
Comparison operator.
Definition CameraHealth.h:3154
bool operator<(const Value &other) const
Comparison operator.
Definition CameraHealth.h:3148
static constexpr const char * description
The description for this value.
Definition CameraHealth.h:3099
constexpr Value(double value)
Constructor.
Definition CameraHealth.h:3116
std::string toString() const
Get the value as string.
bool operator>=(const Value &other) const
Comparison operator.
Definition CameraHealth.h:3166
bool operator!=(const Value &other) const
Comparison operator.
Definition CameraHealth.h:3142
double value() const
Get the value.
double ValueType
The type of the underlying value.
Definition CameraHealth.h:3104
The status of the lens temperature, in degrees Celsius.
Definition CameraHealth.h:2965
void set(Args &&...args)
Set multiple arguments.
Definition CameraHealth.h:3242
static constexpr const char * description
The description for this value.
Definition CameraHealth.h:2977
const CameraHealth::Temperature::Lens::Value & get() const
Definition CameraHealth.h:3347
Value & value()
Get Value.
Definition CameraHealth.h:3322
const CameraHealth::Temperature::Lens::Status & get() const
Definition CameraHealth.h:3338
static constexpr const char * path
The full path for this value.
Definition CameraHealth.h:2971
std::tuple< CameraHealth::Temperature::Lens::Status, CameraHealth::Temperature::Lens::Value > Descendants
Definition CameraHealth.h:3185
static constexpr DataModel::NodeType nodeType
The type of this node.
Definition CameraHealth.h:2968
Lens & set(const Status &value)
Set Status.
Definition CameraHealth.h:3309
Lens()
Default constructor.
bool operator!=(const Lens &other) const
Inequality operator.
void forEach(const F &f)
Run the given function on each direct member with the value of the member as parameter.
Definition CameraHealth.h:3374
Status & status()
Get Status.
Definition CameraHealth.h:3303
Lens & set(const Value &value)
Set Value.
Definition CameraHealth.h:3328
std::string toString() const
Get the value as string.
const Value & value() const
Get Value.
Definition CameraHealth.h:3316
Lens copyWith(Args &&...args) const
Returns a copy of this object with the given argument(s) set to the new value(s)
Definition CameraHealth.h:3276
void forEach(const F &f) const
Run the given function on each direct member with the value of the member as parameter.
Definition CameraHealth.h:3366
friend std::ostream & operator<<(std::ostream &stream, const Lens &value)
Operator to send the value as string to a stream.
Definition CameraHealth.h:3390
bool operator==(const Lens &other) const
Equality operator.
const Status & status() const
Get Status.
Definition CameraHealth.h:3297
static constexpr const char * name
The name of this value.
Definition CameraHealth.h:2974
The status of the camera's temperatures. Each sub-status reflects the temperature of a specific compo...
Definition CameraHealth.h:2032
Temperature & set(const Lens::Status &value)
Set Lens::Status.
Definition CameraHealth.h:3632
const CameraHealth::Temperature::DMD::Value & get() const
Definition CameraHealth.h:3664
Lens & lens()
Get Lens.
Definition CameraHealth.h:3619
static constexpr const char * path
The full path for this value.
Definition CameraHealth.h:2038
Temperature copyWith(Args &&...args) const
Returns a copy of this object with the given argument(s) set to the new value(s)
Definition CameraHealth.h:3527
Temperature & set(const Lens &value)
Set Lens.
Definition CameraHealth.h:3625
bool operator!=(const Temperature &other) const
Inequality operator.
const CameraHealth::Temperature::DMD::Status & get() const
Definition CameraHealth.h:3656
static constexpr const char * name
The name of this value.
Definition CameraHealth.h:2041
const CameraHealth::Temperature::Lens & get() const
Definition CameraHealth.h:3696
Temperature()
Default constructor.
const Lens & lens() const
Get Lens.
Definition CameraHealth.h:3613
const CameraHealth::Temperature::LED::Status & get() const
Definition CameraHealth.h:3680
Temperature & set(const DMD::Value &value)
Set DMD::Value.
Definition CameraHealth.h:3573
void forEach(const F &f)
Run the given function on each direct member with the value of the member as parameter.
Definition CameraHealth.h:3746
Temperature & set(const LED &value)
Set LED.
Definition CameraHealth.h:3592
friend std::ostream & operator<<(std::ostream &stream, const Temperature &value)
Operator to send the value as string to a stream.
Definition CameraHealth.h:3763
const CameraHealth::Temperature::Lens::Status & get() const
Definition CameraHealth.h:3704
const CameraHealth::Temperature::LED::Value & get() const
Definition CameraHealth.h:3688
void forEach(const F &f) const
Run the given function on each direct member with the value of the member as parameter.
Definition CameraHealth.h:3737
std::string toString() const
Get the value as string.
const CameraHealth::Temperature::Lens::Value & get() const
Definition CameraHealth.h:3712
Temperature & set(const LED::Status &value)
Set LED::Status.
Definition CameraHealth.h:3599
static constexpr DataModel::NodeType nodeType
The type of this node.
Definition CameraHealth.h:2035
Temperature & set(const DMD &value)
Set DMD.
Definition CameraHealth.h:3559
Temperature & set(const Lens::Value &value)
Set Lens::Value.
Definition CameraHealth.h:3639
void set(Args &&...args)
Set multiple arguments.
Definition CameraHealth.h:3487
std::tuple< CameraHealth::Temperature::DMD, CameraHealth::Temperature::DMD::Status, CameraHealth::Temperature::DMD::Value, CameraHealth::Temperature::LED, CameraHealth::Temperature::LED::Status, CameraHealth::Temperature::LED::Value, CameraHealth::Temperature::Lens, CameraHealth::Temperature::Lens::Status, CameraHealth::Temperature::Lens::Value > Descendants
Definition CameraHealth.h:3408
const DMD & dmd() const
Get DMD.
Definition CameraHealth.h:3547
const CameraHealth::Temperature::LED & get() const
Definition CameraHealth.h:3672
static constexpr const char * description
The description for this value.
Definition CameraHealth.h:2044
const CameraHealth::Temperature::DMD & get() const
Definition CameraHealth.h:3648
bool operator==(const Temperature &other) const
Equality operator.
DMD & dmd()
Get DMD.
Definition CameraHealth.h:3553
Temperature & set(const DMD::Status &value)
Set DMD::Status.
Definition CameraHealth.h:3566
Temperature & set(const LED::Value &value)
Set LED::Value.
Definition CameraHealth.h:3606
const LED & led() const
Get LED.
Definition CameraHealth.h:3580
LED & led()
Get LED.
Definition CameraHealth.h:3586
Result of running the camera's health checks. Each check has a Status (severity) and a Value (the und...
Definition CameraHealth.h:89
CameraHealth & set(const Temperature::DMD &value)
Set Temperature::DMD.
Definition CameraHealth.h:4162
const CameraHealth::Memory & get() const
Definition CameraHealth.h:4291
CameraHealth(const std::string &fileName)
Construct CameraHealth by loading from file.
static constexpr size_t version
Definition CameraHealth.h:115
InfieldVerification & infieldVerification()
Get InfieldVerification.
Definition CameraHealth.h:4031
CameraHealth & set(const Temperature::DMD::Status &value)
Set Temperature::DMD::Status.
Definition CameraHealth.h:4169
CameraHealth & set(const MaxTransferSpeed::Value &value)
Set MaxTransferSpeed::Value.
Definition CameraHealth.h:4084
const CameraHealth::MaxTransferSpeed & get() const
Definition CameraHealth.h:4269
void save(const std::string &fileName) const
Save to the given file.
const CameraHealth::Fan::Value & get() const
Definition CameraHealth.h:4237
static constexpr DataModel::NodeType nodeType
The type of this node.
Definition CameraHealth.h:92
const CameraHealth::Fan & get() const
Definition CameraHealth.h:4225
const CameraHealth::Temperature::Lens & get() const
Definition CameraHealth.h:4375
CameraHealth & set(const Memory::Value &value)
Set Memory::Value.
Definition CameraHealth.h:4117
CameraHealth & set(const Temperature::LED &value)
Set Temperature::LED.
Definition CameraHealth.h:4183
const Memory & memory() const
Get Memory.
Definition CameraHealth.h:4091
void load(const std::string &fileName)
Load from the given file.
CameraHealth & set(const Memory::Status &value)
Set Memory::Status.
Definition CameraHealth.h:4110
CameraHealth & set(const InfieldVerification::Value &value)
Set InfieldVerification::Value.
Definition CameraHealth.h:4051
MaxTransferSpeed & maxTransferSpeed()
Get MaxTransferSpeed.
Definition CameraHealth.h:4064
CameraHealth & set(const Temperature::Lens::Value &value)
Set Temperature::Lens::Value.
Definition CameraHealth.h:4218
CameraHealth & set(const Overall &value)
Set Overall.
Definition CameraHealth.h:4136
Fan & fan()
Get Fan.
Definition CameraHealth.h:3998
CameraHealth & set(const Temperature &value)
Set Temperature.
Definition CameraHealth.h:4155
const CameraHealth::Memory::Status & get() const
Definition CameraHealth.h:4299
const Overall & overall() const
Get Overall.
Definition CameraHealth.h:4124
CameraHealth(Args &&...args)
Constructor taking variadic number of arguments.
Definition CameraHealth.h:3870
static CameraHealth fromSerialized(const std::string &value)
Construct a new CameraHealth instance from a previously serialized string.
const MaxTransferSpeed & maxTransferSpeed() const
Get MaxTransferSpeed.
Definition CameraHealth.h:4058
const CameraHealth::Fan::Status & get() const
Definition CameraHealth.h:4231
CameraHealth & set(const Temperature::DMD::Value &value)
Set Temperature::DMD::Value.
Definition CameraHealth.h:4176
const CameraHealth::InfieldVerification & get() const
Definition CameraHealth.h:4245
const CameraHealth::Temperature::Lens::Value & get() const
Definition CameraHealth.h:4391
CameraHealth & set(const InfieldVerification::Status &value)
Set InfieldVerification::Status.
Definition CameraHealth.h:4044
const CameraHealth::Temperature::DMD::Value & get() const
Definition CameraHealth.h:4343
CameraHealth & set(const Fan::Status &value)
Set Fan::Status.
Definition CameraHealth.h:4011
const CameraHealth::MaxTransferSpeed::Status & get() const
Definition CameraHealth.h:4277
const CameraHealth::InfieldVerification::Status & get() const
Definition CameraHealth.h:4253
const CameraHealth::Temperature::DMD & get() const
Definition CameraHealth.h:4327
static constexpr const char * path
The full path for this value.
Definition CameraHealth.h:95
CameraHealth & set(const Memory &value)
Set Memory.
Definition CameraHealth.h:4103
const CameraHealth::Memory::Value & get() const
Definition CameraHealth.h:4307
static constexpr const char * name
The name of this value.
Definition CameraHealth.h:98
Temperature & temperature()
Get Temperature.
Definition CameraHealth.h:4149
Overall & overall()
Get Overall.
Definition CameraHealth.h:4130
Memory & memory()
Get Memory.
Definition CameraHealth.h:4097
static constexpr const char * description
The description for this value.
Definition CameraHealth.h:101
const Temperature & temperature() const
Get Temperature.
Definition CameraHealth.h:4143
bool operator==(const CameraHealth &other) const
Equality operator.
const CameraHealth::MaxTransferSpeed::Value & get() const
Definition CameraHealth.h:4285
void set(Args &&...args)
Set multiple arguments.
Definition CameraHealth.h:3919
bool operator!=(const CameraHealth &other) const
Inequality operator.
std::string serialize() const
Serialize to a string.
const CameraHealth::Temperature::Lens::Status & get() const
Definition CameraHealth.h:4383
void forEach(const F &f) const
Run the given function on each direct member with the value of the member as parameter.
Definition CameraHealth.h:4434
const CameraHealth::Temperature::LED & get() const
Definition CameraHealth.h:4351
CameraHealth & set(const Temperature::Lens &value)
Set Temperature::Lens.
Definition CameraHealth.h:4204
CameraHealth & set(const Fan::Value &value)
Set Fan::Value.
Definition CameraHealth.h:4018
void forEach(const F &f)
Run the given function on each direct member with the value of the member as parameter.
Definition CameraHealth.h:4446
const CameraHealth::Temperature::DMD::Status & get() const
Definition CameraHealth.h:4335
std::string toString() const
Get the value as string.
CameraHealth & set(const InfieldVerification &value)
Set InfieldVerification.
Definition CameraHealth.h:4037
CameraHealth()
Default constructor.
const CameraHealth::Temperature::LED::Value & get() const
Definition CameraHealth.h:4367
CameraHealth & set(const Temperature::LED::Status &value)
Set Temperature::LED::Status.
Definition CameraHealth.h:4190
std::tuple< CameraHealth::Fan, CameraHealth::Fan::Status, CameraHealth::Fan::Value, CameraHealth::InfieldVerification, CameraHealth::InfieldVerification::Status, CameraHealth::InfieldVerification::Value, CameraHealth::MaxTransferSpeed, CameraHealth::MaxTransferSpeed::Status, CameraHealth::MaxTransferSpeed::Value, CameraHealth::Memory, CameraHealth::Memory::Status, CameraHealth::Memory::Value, CameraHealth::Overall, CameraHealth::Temperature, CameraHealth::Temperature::DMD, CameraHealth::Temperature::DMD::Status, CameraHealth::Temperature::DMD::Value, CameraHealth::Temperature::LED, CameraHealth::Temperature::LED::Status, CameraHealth::Temperature::LED::Value, CameraHealth::Temperature::Lens, CameraHealth::Temperature::Lens::Status, CameraHealth::Temperature::Lens::Value > Descendants
Definition CameraHealth.h:3782
CameraHealth & set(const Fan &value)
Set Fan.
Definition CameraHealth.h:4004
friend std::ostream & operator<<(std::ostream &stream, const CameraHealth &value)
Operator to send the value as string to a stream.
Definition CameraHealth.h:4466
const CameraHealth::Temperature & get() const
Definition CameraHealth.h:4319
const Fan & fan() const
Get Fan.
Definition CameraHealth.h:3992
CameraHealth & set(const MaxTransferSpeed &value)
Set MaxTransferSpeed.
Definition CameraHealth.h:4070
CameraHealth & set(const Temperature::Lens::Status &value)
Set Temperature::Lens::Status.
Definition CameraHealth.h:4211
CameraHealth & set(const Temperature::LED::Value &value)
Set Temperature::LED::Value.
Definition CameraHealth.h:4197
const InfieldVerification & infieldVerification() const
Get InfieldVerification.
Definition CameraHealth.h:4025
const CameraHealth::Temperature::LED::Status & get() const
Definition CameraHealth.h:4359
CameraHealth & set(const MaxTransferSpeed::Status &value)
Set MaxTransferSpeed::Status.
Definition CameraHealth.h:4077
const CameraHealth::InfieldVerification::Value & get() const
Definition CameraHealth.h:4261
const CameraHealth::Overall & get() const
Definition CameraHealth.h:4313
CameraHealth copyWith(Args &&...args) const
Returns a copy of this object with the given argument(s) set to the new value(s)
Definition CameraHealth.h:3973
Class describing a range of values for a given type T.
Definition Range.h:75
NodeType
Definition NodeType.h:49
@ leafValue
Definition NodeType.h:52
@ group
Definition NodeType.h:50
Definition EnvironmentInfo.h:74
Get version information for the library.
Definition Version.h:58
The main Zivid namespace. All Zivid code is found here.
Definition Application.h:85