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;
1037 static constexpr const char *
path{
"MaxTransferSpeed" };
1040 static constexpr const char *
name{
"MaxTransferSpeed" };
1044 R
"description(The end-to-end link speed between the camera and the host
1045computer, defined as the minimum of the camera's link speed
1046and the PC's link speed.
1048 - OK: Max transfer speed > 1 Gbps
1049 - Suboptimal: Max transfer speed = 1 Gbps
1050 - Error: Max transfer speed < 1 Gbps
1051 - Unknown: Max transfer speed could not be determined
1065 static constexpr const char *
path{
"MaxTransferSpeed/Status" };
1068 static constexpr const char *
name{
"Status" };
1072 R
"description(Severity of the max transfer speed check.)description"
1099 : m_value{ verifyValue(
value) }
1117 return m_value == other.m_value;
1123 return m_value != other.m_value;
1129 return stream <<
value.toString();
1133 void setFromString(
const std::string &
value);
1135 constexpr ValueType
static verifyValue(
const ValueType &
value)
1137 return value == ValueType::ok ||
value == ValueType::suboptimal ||
value == ValueType::error
1138 ||
value == ValueType::unknown
1140 :
throw std::invalid_argument{
1141 "Invalid value: Status{ "
1142 + std::to_string(
static_cast<std::underlying_type<ValueType>::type
>(
value)) +
" }"
1148 friend struct DataModel::Detail::Befriend<
Status>;
1161 static constexpr const char *
path{
"MaxTransferSpeed/Value" };
1164 static constexpr const char *
name{
"Value" };
1168 R
"description(Max transfer speed in megabits per second (Mbps).)description"
1177 return { std::numeric_limits<uint32_t>::lowest(), std::numeric_limits<uint32_t>::max() };
1206 return m_opt == other.m_opt;
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 stream <<
value.toString();
1246 void setFromString(
const std::string &
value);
1248 std::optional<uint32_t> m_opt;
1250 friend struct DataModel::Detail::Befriend<
Value>;
1254 std::tuple<CameraHealth::MaxTransferSpeed::Status, CameraHealth::MaxTransferSpeed::Value>;
1274 typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0,
1275 typename std::enable_if<
1276 Zivid::Detail::TypeTraits::AllArgsAreInTuple<
Descendants,
typename std::decay<Args>::type...>::
1280 template<typename... Args>
1284 using namespace Zivid::Detail::TypeTraits;
1287 AllArgsDecayedAreUnique<Args...>
::value,
1288 "Found duplicate types among the arguments passed to MaxTransferSpeed(...). "
1289 "Types should be listed at most once.");
1291 set(std::forward<Args>(args)...);
1306 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 2,
int>::type = 0>
1308 template<typename... Args>
1312 using namespace Zivid::Detail::TypeTraits;
1314 using AllArgsAreDescendantNodes = AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
1316 AllArgsAreDescendantNodes::value,
"All arguments passed to set(...) must be descendant nodes.");
1319 AllArgsDecayedAreUnique<Args...>
::value,
1320 "Found duplicate types among the arguments passed to set(...). "
1321 "Types should be listed at most once.");
1323 Zivid::DataModel::Detail::invokeSetWithEachArgument(*
this, std::forward<Args>(args)...);
1339 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0>
1341 template<typename... Args>
1345 using namespace Zivid::Detail::TypeTraits;
1347 using AllArgsAreDescendantNodes = AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
1349 AllArgsAreDescendantNodes::value,
1350 "All arguments passed to copyWith(...) must be descendant nodes.");
1353 AllArgsDecayedAreUnique<Args...>
::value,
1354 "Found duplicate types among the arguments passed to copyWith(...). "
1355 "Types should be listed at most once.");
1358 copy.set(std::forward<Args>(args)...);
1402 typename std::enable_if<std::is_same<T, CameraHealth::MaxTransferSpeed::Status>::value,
int>::type = 0>
1410 typename std::enable_if<std::is_same<T, CameraHealth::MaxTransferSpeed::Value>::value,
int>::type = 0>
1416 template<size_t i, typename std::enable_if<i == 0, int>::type = 0>
1422 template<size_t i, typename std::enable_if<i == 1, int>::type = 0>
1429 template<
typename F>
1437 template<
typename F>
1456 return stream <<
value.toString();
1460 void setFromString(
const std::string &value);
1462 void setFromString(
const std::string &fullPath,
const std::string &value);
1464 std::string getString(
const std::string &fullPath)
const;
1487 static constexpr const char *
path{
"Memory" };
1490 static constexpr const char *
name{
"Memory" };
1493 static constexpr const char *
description{ R
"description(The status of the camera's memory test.
1495 - OK: Memory was tested and reported zero errors
1496 - Error: Memory was tested and an error was located
1497 - Unknown: Memory test was not performed
1510 static constexpr const char *
path{
"Memory/Status" };
1513 static constexpr const char *
name{
"Status" };
1516 static constexpr const char *
description{ R
"description(Severity of the memory check.)description" };
1542 : m_value{ verifyValue(
value) }
1560 return m_value == other.m_value;
1566 return m_value != other.m_value;
1572 return stream <<
value.toString();
1576 void setFromString(
const std::string &
value);
1578 constexpr ValueType
static verifyValue(
const ValueType &
value)
1580 return value == ValueType::ok ||
value == ValueType::suboptimal ||
value == ValueType::error
1581 ||
value == ValueType::unknown
1583 :
throw std::invalid_argument{
1584 "Invalid value: Status{ "
1585 + std::to_string(
static_cast<std::underlying_type<ValueType>::type
>(
value)) +
" }"
1591 friend struct DataModel::Detail::Befriend<
Status>;
1604 static constexpr const char *
path{
"Memory/Value" };
1607 static constexpr const char *
name{
"Value" };
1611 R
"description(Number of memory errors detected by the memory test.)description"
1620 return { std::numeric_limits<uint32_t>::lowest(), std::numeric_limits<uint32_t>::max() };
1649 return m_opt == other.m_opt;
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 stream <<
value.toString();
1689 void setFromString(
const std::string &
value);
1691 std::optional<uint32_t> m_opt;
1693 friend struct DataModel::Detail::Befriend<
Value>;
1696 using Descendants = std::tuple<CameraHealth::Memory::Status, CameraHealth::Memory::Value>;
1716 typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0,
1717 typename std::enable_if<
1718 Zivid::Detail::TypeTraits::AllArgsAreInTuple<
Descendants,
typename std::decay<Args>::type...>::
1722 template<typename... Args>
1726 using namespace Zivid::Detail::TypeTraits;
1729 AllArgsDecayedAreUnique<Args...>
::value,
1730 "Found duplicate types among the arguments passed to Memory(...). "
1731 "Types should be listed at most once.");
1733 set(std::forward<Args>(args)...);
1748 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 2,
int>::type = 0>
1750 template<typename... Args>
1754 using namespace Zivid::Detail::TypeTraits;
1756 using AllArgsAreDescendantNodes = AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
1758 AllArgsAreDescendantNodes::value,
"All arguments passed to set(...) must be descendant nodes.");
1761 AllArgsDecayedAreUnique<Args...>
::value,
1762 "Found duplicate types among the arguments passed to set(...). "
1763 "Types should be listed at most once.");
1765 Zivid::DataModel::Detail::invokeSetWithEachArgument(*
this, std::forward<Args>(args)...);
1781 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0>
1783 template<typename... Args>
1787 using namespace Zivid::Detail::TypeTraits;
1789 using AllArgsAreDescendantNodes = AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
1791 AllArgsAreDescendantNodes::value,
1792 "All arguments passed to copyWith(...) must be descendant nodes.");
1795 AllArgsDecayedAreUnique<Args...>
::value,
1796 "Found duplicate types among the arguments passed to copyWith(...). "
1797 "Types should be listed at most once.");
1800 copy.set(std::forward<Args>(args)...);
1844 typename std::enable_if<std::is_same<T, CameraHealth::Memory::Status>::value,
int>::type = 0>
1852 typename std::enable_if<std::is_same<T, CameraHealth::Memory::Value>::value,
int>::type = 0>
1858 template<size_t i, typename std::enable_if<i == 0, int>::type = 0>
1864 template<size_t i, typename std::enable_if<i == 1, int>::type = 0>
1871 template<
typename F>
1879 template<
typename F>
1898 return stream <<
value.toString();
1902 void setFromString(
const std::string &value);
1904 void setFromString(
const std::string &fullPath,
const std::string &value);
1906 std::string getString(
const std::string &fullPath)
const;
1911 friend struct DataModel::Detail::Befriend<
Memory>;
1929 static constexpr const char *
path{
"Overall" };
1932 static constexpr const char *
name{
"Overall" };
1936 R
"description(The aggregated severity across all checks, taking the
1937highest-precedence severity among them. Precedence from highest to
1938lowest is Error, Unknown, Suboptimal, OK: a failing check is the
1939most important to surface, and a check whose outcome could not be
1940determined (Unknown) takes precedence over a Suboptimal one.
1968 : m_value{ verifyValue(
value) }
1986 return m_value == other.m_value;
1992 return m_value != other.m_value;
1998 return stream <<
value.toString();
2002 void setFromString(
const std::string &value);
2004 constexpr ValueType
static verifyValue(
const ValueType &value)
2006 return value == ValueType::ok || value == ValueType::suboptimal || value == ValueType::error
2007 || value == ValueType::unknown
2009 :
throw std::invalid_argument{
2010 "Invalid value: Overall{ "
2011 + std::to_string(
static_cast<std::underlying_type<ValueType>::type
>(value)) +
" }"
2017 friend struct DataModel::Detail::Befriend<
Overall>;
2032 static constexpr const char *
path{
"Temperature" };
2035 static constexpr const char *
name{
"Temperature" };
2039 R
"description(The status of the camera's temperatures. Each sub-status
2040reflects the temperature of a specific component.
2060 static constexpr const char *
path{
"Temperature/DMD" };
2063 static constexpr const char *
name{
"DMD" };
2067 R
"description(The status of the DMD (Digital Micromirror Device)
2068temperature, in degrees Celsius.
2070 - OK: Temperature in (0, 50)
2071 - Suboptimal: Temperature in [50, 60]
2072 - Error: Temperature < 0 or > 60
2086 static constexpr const char *
path{
"Temperature/DMD/Status" };
2089 static constexpr const char *
name{
"Status" };
2093 R
"description(Severity of the DMD temperature check.)description"
2120 : m_value{ verifyValue(
value) }
2138 return m_value == other.m_value;
2144 return m_value != other.m_value;
2150 return stream <<
value.toString();
2154 void setFromString(
const std::string &
value);
2156 constexpr ValueType
static verifyValue(
const ValueType &
value)
2158 return value == ValueType::ok ||
value == ValueType::suboptimal ||
value == ValueType::error
2159 ||
value == ValueType::unknown
2161 :
throw std::invalid_argument{
2162 "Invalid value: Status{ "
2163 + std::to_string(
static_cast<std::underlying_type<ValueType>::type
>(
value))
2170 friend struct DataModel::Detail::Befriend<
Status>;
2183 static constexpr const char *
path{
"Temperature/DMD/Value" };
2186 static constexpr const char *
name{
"Value" };
2190 R
"description(DMD temperature in degrees Celsius.)description"
2199 return { std::numeric_limits<double>::lowest(), std::numeric_limits<double>::max() };
2228 return m_opt == other.m_opt;
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 stream <<
value.toString();
2268 void setFromString(
const std::string &
value);
2270 std::optional<double> m_opt;
2272 friend struct DataModel::Detail::Befriend<
Value>;
2276 std::tuple<CameraHealth::Temperature::DMD::Status, CameraHealth::Temperature::DMD::Value>;
2296 typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0,
2297 typename std::enable_if<
2298 Zivid::Detail::TypeTraits::AllArgsAreInTuple<
Descendants,
typename std::decay<Args>::type...>::
2302 template<typename... Args>
2306 using namespace Zivid::Detail::TypeTraits;
2309 AllArgsDecayedAreUnique<Args...>
::value,
2310 "Found duplicate types among the arguments passed to DMD(...). "
2311 "Types should be listed at most once.");
2313 set(std::forward<Args>(args)...);
2328 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 2,
int>::type = 0>
2330 template<typename... Args>
2334 using namespace Zivid::Detail::TypeTraits;
2336 using AllArgsAreDescendantNodes =
2337 AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
2339 AllArgsAreDescendantNodes::value,
"All arguments passed to set(...) must be descendant nodes.");
2342 AllArgsDecayedAreUnique<Args...>
::value,
2343 "Found duplicate types among the arguments passed to set(...). "
2344 "Types should be listed at most once.");
2346 Zivid::DataModel::Detail::invokeSetWithEachArgument(*
this, std::forward<Args>(args)...);
2362 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0>
2364 template<typename... Args>
2368 using namespace Zivid::Detail::TypeTraits;
2370 using AllArgsAreDescendantNodes =
2371 AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
2373 AllArgsAreDescendantNodes::value,
2374 "All arguments passed to copyWith(...) must be descendant nodes.");
2377 AllArgsDecayedAreUnique<Args...>
::value,
2378 "Found duplicate types among the arguments passed to copyWith(...). "
2379 "Types should be listed at most once.");
2382 copy.set(std::forward<Args>(args)...);
2426 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::DMD::Status>::value,
int>::type =
2435 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::DMD::Value>::value,
int>::type =
2442 template<size_t i, typename std::enable_if<i == 0, int>::type = 0>
2448 template<size_t i, typename std::enable_if<i == 1, int>::type = 0>
2455 template<
typename F>
2463 template<
typename F>
2482 return stream <<
value.toString();
2486 void setFromString(
const std::string &value);
2488 void setFromString(
const std::string &fullPath,
const std::string &value);
2490 std::string getString(
const std::string &fullPath)
const;
2495 friend struct DataModel::Detail::Befriend<
DMD>;
2513 static constexpr const char *
path{
"Temperature/LED" };
2516 static constexpr const char *
name{
"LED" };
2520 R
"description(The status of the LED temperature, in degrees Celsius.
2522 - OK: Temperature in (0, 60)
2523 - Suboptimal: Temperature in [60, 70]
2524 - Error: Temperature < 0 or > 70
2538 static constexpr const char *
path{
"Temperature/LED/Status" };
2541 static constexpr const char *
name{
"Status" };
2545 R
"description(Severity of the LED temperature check.)description"
2572 : m_value{ verifyValue(
value) }
2590 return m_value == other.m_value;
2596 return m_value != other.m_value;
2602 return stream <<
value.toString();
2606 void setFromString(
const std::string &
value);
2608 constexpr ValueType
static verifyValue(
const ValueType &
value)
2610 return value == ValueType::ok ||
value == ValueType::suboptimal ||
value == ValueType::error
2611 ||
value == ValueType::unknown
2613 :
throw std::invalid_argument{
2614 "Invalid value: Status{ "
2615 + std::to_string(
static_cast<std::underlying_type<ValueType>::type
>(
value))
2622 friend struct DataModel::Detail::Befriend<
Status>;
2635 static constexpr const char *
path{
"Temperature/LED/Value" };
2638 static constexpr const char *
name{
"Value" };
2642 R
"description(LED temperature in degrees Celsius.)description"
2651 return { std::numeric_limits<double>::lowest(), std::numeric_limits<double>::max() };
2680 return m_opt == other.m_opt;
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 stream <<
value.toString();
2720 void setFromString(
const std::string &
value);
2722 std::optional<double> m_opt;
2724 friend struct DataModel::Detail::Befriend<
Value>;
2728 std::tuple<CameraHealth::Temperature::LED::Status, CameraHealth::Temperature::LED::Value>;
2748 typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0,
2749 typename std::enable_if<
2750 Zivid::Detail::TypeTraits::AllArgsAreInTuple<
Descendants,
typename std::decay<Args>::type...>::
2754 template<typename... Args>
2758 using namespace Zivid::Detail::TypeTraits;
2761 AllArgsDecayedAreUnique<Args...>
::value,
2762 "Found duplicate types among the arguments passed to LED(...). "
2763 "Types should be listed at most once.");
2765 set(std::forward<Args>(args)...);
2780 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 2,
int>::type = 0>
2782 template<typename... Args>
2786 using namespace Zivid::Detail::TypeTraits;
2788 using AllArgsAreDescendantNodes =
2789 AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
2791 AllArgsAreDescendantNodes::value,
"All arguments passed to set(...) must be descendant nodes.");
2794 AllArgsDecayedAreUnique<Args...>
::value,
2795 "Found duplicate types among the arguments passed to set(...). "
2796 "Types should be listed at most once.");
2798 Zivid::DataModel::Detail::invokeSetWithEachArgument(*
this, std::forward<Args>(args)...);
2814 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0>
2816 template<typename... Args>
2820 using namespace Zivid::Detail::TypeTraits;
2822 using AllArgsAreDescendantNodes =
2823 AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
2825 AllArgsAreDescendantNodes::value,
2826 "All arguments passed to copyWith(...) must be descendant nodes.");
2829 AllArgsDecayedAreUnique<Args...>
::value,
2830 "Found duplicate types among the arguments passed to copyWith(...). "
2831 "Types should be listed at most once.");
2834 copy.set(std::forward<Args>(args)...);
2878 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::LED::Status>::value,
int>::type =
2887 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::LED::Value>::value,
int>::type =
2894 template<size_t i, typename std::enable_if<i == 0, int>::type = 0>
2900 template<size_t i, typename std::enable_if<i == 1, int>::type = 0>
2907 template<
typename F>
2915 template<
typename F>
2934 return stream <<
value.toString();
2938 void setFromString(
const std::string &value);
2940 void setFromString(
const std::string &fullPath,
const std::string &value);
2942 std::string getString(
const std::string &fullPath)
const;
2947 friend struct DataModel::Detail::Befriend<
LED>;
2965 static constexpr const char *
path{
"Temperature/Lens" };
2968 static constexpr const char *
name{
"Lens" };
2972 R
"description(The status of the lens temperature, in degrees Celsius.
2974 - OK: Temperature in (0, 50)
2975 - Suboptimal: Temperature in [50, 60]
2976 - Error: Temperature < 0 or > 60
2990 static constexpr const char *
path{
"Temperature/Lens/Status" };
2993 static constexpr const char *
name{
"Status" };
2997 R
"description(Severity of the lens temperature check.)description"
3024 : m_value{ verifyValue(
value) }
3042 return m_value == other.m_value;
3048 return m_value != other.m_value;
3054 return stream <<
value.toString();
3058 void setFromString(
const std::string &
value);
3060 constexpr ValueType
static verifyValue(
const ValueType &
value)
3062 return value == ValueType::ok ||
value == ValueType::suboptimal ||
value == ValueType::error
3063 ||
value == ValueType::unknown
3065 :
throw std::invalid_argument{
3066 "Invalid value: Status{ "
3067 + std::to_string(
static_cast<std::underlying_type<ValueType>::type
>(
value))
3074 friend struct DataModel::Detail::Befriend<
Status>;
3087 static constexpr const char *
path{
"Temperature/Lens/Value" };
3090 static constexpr const char *
name{
"Value" };
3094 R
"description(Lens temperature in degrees Celsius.)description"
3103 return { std::numeric_limits<double>::lowest(), std::numeric_limits<double>::max() };
3132 return m_opt == other.m_opt;
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 stream <<
value.toString();
3172 void setFromString(
const std::string &
value);
3174 std::optional<double> m_opt;
3176 friend struct DataModel::Detail::Befriend<
Value>;
3180 std::tuple<CameraHealth::Temperature::Lens::Status, CameraHealth::Temperature::Lens::Value>;
3200 typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0,
3201 typename std::enable_if<
3202 Zivid::Detail::TypeTraits::AllArgsAreInTuple<
Descendants,
typename std::decay<Args>::type...>::
3206 template<typename... Args>
3210 using namespace Zivid::Detail::TypeTraits;
3213 AllArgsDecayedAreUnique<Args...>
::value,
3214 "Found duplicate types among the arguments passed to Lens(...). "
3215 "Types should be listed at most once.");
3217 set(std::forward<Args>(args)...);
3232 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 2,
int>::type = 0>
3234 template<typename... Args>
3238 using namespace Zivid::Detail::TypeTraits;
3240 using AllArgsAreDescendantNodes =
3241 AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
3243 AllArgsAreDescendantNodes::value,
"All arguments passed to set(...) must be descendant nodes.");
3246 AllArgsDecayedAreUnique<Args...>
::value,
3247 "Found duplicate types among the arguments passed to set(...). "
3248 "Types should be listed at most once.");
3250 Zivid::DataModel::Detail::invokeSetWithEachArgument(*
this, std::forward<Args>(args)...);
3266 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0>
3268 template<typename... Args>
3272 using namespace Zivid::Detail::TypeTraits;
3274 using AllArgsAreDescendantNodes =
3275 AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
3277 AllArgsAreDescendantNodes::value,
3278 "All arguments passed to copyWith(...) must be descendant nodes.");
3281 AllArgsDecayedAreUnique<Args...>
::value,
3282 "Found duplicate types among the arguments passed to copyWith(...). "
3283 "Types should be listed at most once.");
3286 copy.set(std::forward<Args>(args)...);
3330 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::Lens::Status>::value,
int>::
3339 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::Lens::Value>::value,
int>::type =
3346 template<size_t i, typename std::enable_if<i == 0, int>::type = 0>
3352 template<size_t i, typename std::enable_if<i == 1, int>::type = 0>
3359 template<
typename F>
3367 template<
typename F>
3386 return stream <<
value.toString();
3390 void setFromString(
const std::string &value);
3392 void setFromString(
const std::string &fullPath,
const std::string &value);
3394 std::string getString(
const std::string &fullPath)
const;
3399 friend struct DataModel::Detail::Befriend<
Lens>;
3438 typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0,
3439 typename std::enable_if<
3440 Zivid::Detail::TypeTraits::AllArgsAreInTuple<
Descendants,
typename std::decay<Args>::type...>::
3444 template<typename... Args>
3448 using namespace Zivid::Detail::TypeTraits;
3451 AllArgsDecayedAreUnique<Args...>::value,
3452 "Found duplicate types among the arguments passed to Temperature(...). "
3453 "Types should be listed at most once.");
3455 set(std::forward<Args>(args)...);
3477 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 2,
int>::type = 0>
3479 template<typename... Args>
3483 using namespace Zivid::Detail::TypeTraits;
3485 using AllArgsAreDescendantNodes = AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
3487 AllArgsAreDescendantNodes::value,
"All arguments passed to set(...) must be descendant nodes.");
3490 AllArgsDecayedAreUnique<Args...>::value,
3491 "Found duplicate types among the arguments passed to set(...). "
3492 "Types should be listed at most once.");
3494 Zivid::DataModel::Detail::invokeSetWithEachArgument(*
this, std::forward<Args>(args)...);
3517 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0>
3519 template<typename... Args>
3523 using namespace Zivid::Detail::TypeTraits;
3525 using AllArgsAreDescendantNodes = AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
3527 AllArgsAreDescendantNodes::value,
3528 "All arguments passed to copyWith(...) must be descendant nodes.");
3531 AllArgsDecayedAreUnique<Args...>::value,
3532 "Found duplicate types among the arguments passed to copyWith(...). "
3533 "Types should be listed at most once.");
3536 copy.set(std::forward<Args>(args)...);
3641 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::DMD>::value,
int>::type = 0>
3649 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::DMD::Status>::value,
int>::type = 0>
3657 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::DMD::Value>::value,
int>::type = 0>
3665 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::LED>::value,
int>::type = 0>
3673 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::LED::Status>::value,
int>::type = 0>
3681 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::LED::Value>::value,
int>::type = 0>
3689 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::Lens>::value,
int>::type = 0>
3697 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::Lens::Status>::value,
int>::type = 0>
3705 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::Lens::Value>::value,
int>::type = 0>
3711 template<size_t i, typename std::enable_if<i == 0, int>::type = 0>
3717 template<size_t i, typename std::enable_if<i == 1, int>::type = 0>
3723 template<size_t i, typename std::enable_if<i == 2, int>::type = 0>
3730 template<
typename F>
3739 template<
typename F>
3763 void setFromString(
const std::string &value);
3765 void setFromString(
const std::string &fullPath,
const std::string &value);
3767 std::string getString(
const std::string &fullPath)
const;
3773 friend struct DataModel::Detail::Befriend<
Temperature>;
3857 typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0,
3858 typename std::enable_if<
3859 Zivid::Detail::TypeTraits::AllArgsAreInTuple<
Descendants,
typename std::decay<Args>::type...>::value,
3862 template<typename... Args>
3866 using namespace Zivid::Detail::TypeTraits;
3869 AllArgsDecayedAreUnique<Args...>::value,
3870 "Found duplicate types among the arguments passed to CameraHealth(...). "
3871 "Types should be listed at most once.");
3873 set(std::forward<Args>(args)...);
3909 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 2,
int>::type = 0>
3911 template<typename... Args>
3915 using namespace Zivid::Detail::TypeTraits;
3917 using AllArgsAreDescendantNodes = AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
3919 AllArgsAreDescendantNodes::value,
"All arguments passed to set(...) must be descendant nodes.");
3922 AllArgsDecayedAreUnique<Args...>::value,
3923 "Found duplicate types among the arguments passed to set(...). "
3924 "Types should be listed at most once.");
3926 Zivid::DataModel::Detail::invokeSetWithEachArgument(*
this, std::forward<Args>(args)...);
3963 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0>
3965 template<typename... Args>
3969 using namespace Zivid::Detail::TypeTraits;
3971 using AllArgsAreDescendantNodes = AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
3973 AllArgsAreDescendantNodes::value,
"All arguments passed to copyWith(...) must be descendant nodes.");
3976 AllArgsDecayedAreUnique<Args...>::value,
3977 "Found duplicate types among the arguments passed to copyWith(...). "
3978 "Types should be listed at most once.");
3981 copy.set(std::forward<Args>(args)...);
4021 return m_infieldVerification;
4027 return m_infieldVerification;
4033 m_infieldVerification = value;
4040 m_infieldVerification.
set(value);
4047 m_infieldVerification.
set(value);
4054 return m_maxTransferSpeed;
4060 return m_maxTransferSpeed;
4066 m_maxTransferSpeed = value;
4073 m_maxTransferSpeed.
set(value);
4080 m_maxTransferSpeed.
set(value);
4106 m_memory.
set(value);
4113 m_memory.
set(value);
4139 return m_temperature;
4145 return m_temperature;
4151 m_temperature = value;
4158 m_temperature.
set(value);
4165 m_temperature.
set(value);
4172 m_temperature.
set(value);
4179 m_temperature.
set(value);
4186 m_temperature.
set(value);
4193 m_temperature.
set(value);
4200 m_temperature.
set(value);
4207 m_temperature.
set(value);
4214 m_temperature.
set(value);
4218 template<typename T, typename std::enable_if<std::is_same<T, CameraHealth::Fan>::value,
int>::type = 0>
4224 template<typename T, typename std::enable_if<std::is_same<T, CameraHealth::Fan::Status>::value,
int>::type = 0>
4230 template<typename T, typename std::enable_if<std::is_same<T, CameraHealth::Fan::Value>::value,
int>::type = 0>
4238 typename std::enable_if<std::is_same<T, CameraHealth::InfieldVerification>::value,
int>::type = 0>
4241 return m_infieldVerification;
4246 typename std::enable_if<std::is_same<T, CameraHealth::InfieldVerification::Status>::value,
int>::type = 0>
4254 typename std::enable_if<std::is_same<T, CameraHealth::InfieldVerification::Value>::value,
int>::type = 0>
4262 typename std::enable_if<std::is_same<T, CameraHealth::MaxTransferSpeed>::value,
int>::type = 0>
4265 return m_maxTransferSpeed;
4270 typename std::enable_if<std::is_same<T, CameraHealth::MaxTransferSpeed::Status>::value,
int>::type = 0>
4278 typename std::enable_if<std::is_same<T, CameraHealth::MaxTransferSpeed::Value>::value,
int>::type = 0>
4284 template<typename T, typename std::enable_if<std::is_same<T, CameraHealth::Memory>::value,
int>::type = 0>
4292 typename std::enable_if<std::is_same<T, CameraHealth::Memory::Status>::value,
int>::type = 0>
4300 typename std::enable_if<std::is_same<T, CameraHealth::Memory::Value>::value,
int>::type = 0>
4306 template<typename T, typename std::enable_if<std::is_same<T, CameraHealth::Overall>::value,
int>::type = 0>
4312 template<typename T, typename std::enable_if<std::is_same<T, CameraHealth::Temperature>::value,
int>::type = 0>
4315 return m_temperature;
4320 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::DMD>::value,
int>::type = 0>
4328 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::DMD::Status>::value,
int>::type = 0>
4336 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::DMD::Value>::value,
int>::type = 0>
4344 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::LED>::value,
int>::type = 0>
4352 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::LED::Status>::value,
int>::type = 0>
4360 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::LED::Value>::value,
int>::type = 0>
4368 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::Lens>::value,
int>::type = 0>
4376 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::Lens::Status>::value,
int>::type = 0>
4384 typename std::enable_if<std::is_same<T, CameraHealth::Temperature::Lens::Value>::value,
int>::type = 0>
4390 template<size_t i, typename std::enable_if<i == 0, int>::type = 0>
4396 template<size_t i, typename std::enable_if<i == 1, int>::type = 0>
4399 return m_infieldVerification;
4402 template<size_t i, typename std::enable_if<i == 2, int>::type = 0>
4405 return m_maxTransferSpeed;
4408 template<size_t i, typename std::enable_if<i == 3, int>::type = 0>
4414 template<size_t i, typename std::enable_if<i == 4, int>::type = 0>
4420 template<size_t i, typename std::enable_if<i == 5, int>::type = 0>
4423 return m_temperature;
4427 template<
typename F>
4431 f(m_infieldVerification);
4432 f(m_maxTransferSpeed);
4439 template<
typename F>
4443 f(m_infieldVerification);
4444 f(m_maxTransferSpeed);
4466 void save(
const std::string &fileName)
const;
4469 void load(
const std::string &fileName);
4472 void setFromString(
const std::string &value);
4474 void setFromString(
const std::string &fullPath,
const std::string &value);
4476 std::string getString(
const std::string &fullPath)
const;
4485 friend struct DataModel::Detail::Befriend<
CameraHealth>;
4490 struct CameraHealth::Version<1>
4503 ZIVID_CORE_EXPORT void save(
const Zivid::CameraHealth &dataModel, std::ostream &ostream);
4504 ZIVID_CORE_EXPORT void load(Zivid::CameraHealth &dataModel, std::istream &istream);
4510# pragma warning(pop)
4514# if !(defined(_MSC_VER) && (_MSC_VER <= 1900))
4519 struct tuple_size<Zivid::CameraHealth::Fan> : integral_constant<size_t, 2>
4523 struct tuple_element<i, Zivid::CameraHealth::Fan>
4525 static_assert(i < tuple_size<Zivid::CameraHealth::Fan>::value,
"Index must be less than 2");
4528 =
decltype(declval<Zivid::CameraHealth::Fan>().get<i>());
4532 struct tuple_size<Zivid::CameraHealth::InfieldVerification> : integral_constant<size_t, 2>
4536 struct tuple_element<i, Zivid::CameraHealth::InfieldVerification>
4538 static_assert(i < tuple_size<Zivid::CameraHealth::InfieldVerification>::value,
"Index must be less than 2");
4541 =
decltype(declval<Zivid::CameraHealth::InfieldVerification>().get<i>());
4545 struct tuple_size<Zivid::CameraHealth::MaxTransferSpeed> : integral_constant<size_t, 2>
4549 struct tuple_element<i, Zivid::CameraHealth::MaxTransferSpeed>
4551 static_assert(i < tuple_size<Zivid::CameraHealth::MaxTransferSpeed>::value,
"Index must be less than 2");
4554 =
decltype(declval<Zivid::CameraHealth::MaxTransferSpeed>().get<i>());
4558 struct tuple_size<Zivid::CameraHealth::Memory> : integral_constant<size_t, 2>
4562 struct tuple_element<i, Zivid::CameraHealth::Memory>
4564 static_assert(i < tuple_size<Zivid::CameraHealth::Memory>::value,
"Index must be less than 2");
4567 =
decltype(declval<Zivid::CameraHealth::Memory>().get<i>());
4571 struct tuple_size<Zivid::CameraHealth::Temperature> : integral_constant<size_t, 3>
4575 struct tuple_element<i, Zivid::CameraHealth::Temperature>
4577 static_assert(i < tuple_size<Zivid::CameraHealth::Temperature>::value,
"Index must be less than 3");
4580 =
decltype(declval<Zivid::CameraHealth::Temperature>().get<i>());
4584 struct tuple_size<Zivid::CameraHealth::Temperature::DMD> : integral_constant<size_t, 2>
4588 struct tuple_element<i, Zivid::CameraHealth::Temperature::DMD>
4590 static_assert(i < tuple_size<Zivid::CameraHealth::Temperature::DMD>::value,
"Index must be less than 2");
4593 =
decltype(declval<Zivid::CameraHealth::Temperature::DMD>().get<i>());
4597 struct tuple_size<Zivid::CameraHealth::Temperature::LED> : integral_constant<size_t, 2>
4601 struct tuple_element<i, Zivid::CameraHealth::Temperature::LED>
4603 static_assert(i < tuple_size<Zivid::CameraHealth::Temperature::LED>::value,
"Index must be less than 2");
4606 =
decltype(declval<Zivid::CameraHealth::Temperature::LED>().get<i>());
4610 struct tuple_size<Zivid::CameraHealth::Temperature::Lens> : integral_constant<size_t, 2>
4614 struct tuple_element<i, Zivid::CameraHealth::Temperature::Lens>
4616 static_assert(i < tuple_size<Zivid::CameraHealth::Temperature::Lens>::value,
"Index must be less than 2");
4619 =
decltype(declval<Zivid::CameraHealth::Temperature::Lens>().get<i>());
4623 struct tuple_size<Zivid::CameraHealth> : integral_constant<size_t, 6>
4627 struct tuple_element<i, Zivid::CameraHealth>
4629 static_assert(i < tuple_size<Zivid::CameraHealth>::value,
"Index must be less than 6");
4632 =
decltype(declval<Zivid::CameraHealth>().get<i>());
4641#if defined(__has_include) && !defined(NO_DOC)
4642# if __has_include("Zivid/CameraHealthInternal.h") && __has_include("Zivid/DataModelNodeMetaData.h")
4643# 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:1059
bool operator==(const Status &other) const
Comparison operator.
Definition CameraHealth.h:1115
static const Status error
error
Definition CameraHealth.h:1085
ValueType value() const
Get the value.
Status()=default
Default constructor.
bool operator!=(const Status &other) const
Comparison operator.
Definition CameraHealth.h:1121
friend std::ostream & operator<<(std::ostream &stream, const Status &value)
Operator to serialize the value to a stream.
Definition CameraHealth.h:1127
static const Status ok
ok
Definition CameraHealth.h:1083
static constexpr const char * name
The name of this value.
Definition CameraHealth.h:1068
ValueType
The type of the underlying value.
Definition CameraHealth.h:1077
@ ok
Definition CameraHealth.h:1078
@ suboptimal
Definition CameraHealth.h:1079
@ unknown
Definition CameraHealth.h:1081
@ error
Definition CameraHealth.h:1080
static constexpr const char * description
The description for this value.
Definition CameraHealth.h:1071
static std::set< ValueType > validValues()
All valid values of Status.
Definition CameraHealth.h:1089
std::string toString() const
Get the value as string.
static constexpr DataModel::NodeType nodeType
The type of this node.
Definition CameraHealth.h:1062
static constexpr const char * path
The full path for this value.
Definition CameraHealth.h:1065
constexpr Status(ValueType value)
Constructor.
Definition CameraHealth.h:1098
static const Status suboptimal
suboptimal
Definition CameraHealth.h:1084
static const Status unknown
unknown
Definition CameraHealth.h:1086
friend std::ostream & operator<<(std::ostream &stream, const Status::ValueType &value)
Operator to serialize ValueType to a stream.
Definition CameraHealth.h:1109
Max transfer speed in megabits per second (Mbps).
Definition CameraHealth.h:1155
bool operator<(const Value &other) const
Comparison operator.
Definition CameraHealth.h:1216
bool operator<=(const Value &other) const
Comparison operator.
Definition CameraHealth.h:1228
static constexpr DataModel::NodeType nodeType
The type of this node.
Definition CameraHealth.h:1158
friend std::ostream & operator<<(std::ostream &stream, const Value &value)
Operator to serialize the value to a stream.
Definition CameraHealth.h:1240
static constexpr Range< uint32_t > validRange()
The range of valid values for Value.
Definition CameraHealth.h:1175
bool operator>=(const Value &other) const
Comparison operator.
Definition CameraHealth.h:1234
uint32_t ValueType
The type of the underlying value.
Definition CameraHealth.h:1172
Value()=default
Default constructor.
static constexpr const char * path
The full path for this value.
Definition CameraHealth.h:1161
bool operator!=(const Value &other) const
Comparison operator.
Definition CameraHealth.h:1210
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:1184
bool operator==(const Value &other) const
Comparison operator.
Definition CameraHealth.h:1204
uint32_t value() const
Get the value.
bool operator>(const Value &other) const
Comparison operator.
Definition CameraHealth.h:1222
static constexpr const char * name
The name of this value.
Definition CameraHealth.h:1164
static constexpr const char * description
The description for this value.
Definition CameraHealth.h:1167
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:1031
const CameraHealth::MaxTransferSpeed::Value & get() const
Definition CameraHealth.h:1411
Value & value()
Get Value.
Definition CameraHealth.h:1388
Status & status()
Get Status.
Definition CameraHealth.h:1369
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:1438
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:1343
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:1430
friend std::ostream & operator<<(std::ostream &stream, const MaxTransferSpeed &value)
Operator to send the value as string to a stream.
Definition CameraHealth.h:1454
const Value & value() const
Get Value.
Definition CameraHealth.h:1382
static constexpr const char * description
The description for this value.
Definition CameraHealth.h:1043
bool operator!=(const MaxTransferSpeed &other) const
Inequality operator.
MaxTransferSpeed & set(const Status &value)
Set Status.
Definition CameraHealth.h:1375
const CameraHealth::MaxTransferSpeed::Status & get() const
Definition CameraHealth.h:1403
const Status & status() const
Get Status.
Definition CameraHealth.h:1363
static constexpr const char * name
The name of this value.
Definition CameraHealth.h:1040
void set(Args &&...args)
Set multiple arguments.
Definition CameraHealth.h:1310
static constexpr DataModel::NodeType nodeType
The type of this node.
Definition CameraHealth.h:1034
static constexpr const char * path
The full path for this value.
Definition CameraHealth.h:1037
std::tuple< CameraHealth::MaxTransferSpeed::Status, CameraHealth::MaxTransferSpeed::Value > Descendants
Definition CameraHealth.h:1253
MaxTransferSpeed & set(const Value &value)
Set Value.
Definition CameraHealth.h:1394
Severity of the memory check.
Definition CameraHealth.h:1504
static constexpr const char * name
The name of this value.
Definition CameraHealth.h:1513
static constexpr DataModel::NodeType nodeType
The type of this node.
Definition CameraHealth.h:1507
static const Status unknown
unknown
Definition CameraHealth.h:1529
static std::set< ValueType > validValues()
All valid values of Status.
Definition CameraHealth.h:1532
bool operator!=(const Status &other) const
Comparison operator.
Definition CameraHealth.h:1564
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:1570
constexpr Status(ValueType value)
Constructor.
Definition CameraHealth.h:1541
static const Status error
error
Definition CameraHealth.h:1528
static constexpr const char * description
The description for this value.
Definition CameraHealth.h:1516
ValueType value() const
Get the value.
Status()=default
Default constructor.
static const Status ok
ok
Definition CameraHealth.h:1526
ValueType
The type of the underlying value.
Definition CameraHealth.h:1520
@ ok
Definition CameraHealth.h:1521
@ suboptimal
Definition CameraHealth.h:1522
@ unknown
Definition CameraHealth.h:1524
@ error
Definition CameraHealth.h:1523
static const Status suboptimal
suboptimal
Definition CameraHealth.h:1527
friend std::ostream & operator<<(std::ostream &stream, const Status::ValueType &value)
Operator to serialize ValueType to a stream.
Definition CameraHealth.h:1552
static constexpr const char * path
The full path for this value.
Definition CameraHealth.h:1510
bool operator==(const Status &other) const
Comparison operator.
Definition CameraHealth.h:1558
Number of memory errors detected by the memory test.
Definition CameraHealth.h:1598
static constexpr const char * description
The description for this value.
Definition CameraHealth.h:1610
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:1683
static constexpr const char * path
The full path for this value.
Definition CameraHealth.h:1604
constexpr Value(uint32_t value)
Constructor.
Definition CameraHealth.h:1627
std::string toString() const
Get the value as string.
bool operator==(const Value &other) const
Comparison operator.
Definition CameraHealth.h:1647
bool operator<=(const Value &other) const
Comparison operator.
Definition CameraHealth.h:1671
static constexpr DataModel::NodeType nodeType
The type of this node.
Definition CameraHealth.h:1601
static constexpr Range< uint32_t > validRange()
The range of valid values for Value.
Definition CameraHealth.h:1618
uint32_t ValueType
The type of the underlying value.
Definition CameraHealth.h:1615
bool operator!=(const Value &other) const
Comparison operator.
Definition CameraHealth.h:1653
Value()=default
Default constructor.
uint32_t value() const
Get the value.
static constexpr const char * name
The name of this value.
Definition CameraHealth.h:1607
bool hasValue() const
Check if the value is set.
bool operator>=(const Value &other) const
Comparison operator.
Definition CameraHealth.h:1677
bool operator<(const Value &other) const
Comparison operator.
Definition CameraHealth.h:1659
bool operator>(const Value &other) const
Comparison operator.
Definition CameraHealth.h:1665
The status of the camera's memory test.
Definition CameraHealth.h:1481
friend std::ostream & operator<<(std::ostream &stream, const Memory &value)
Operator to send the value as string to a stream.
Definition CameraHealth.h:1896
bool operator!=(const Memory &other) const
Inequality operator.
const CameraHealth::Memory::Value & get() const
Definition CameraHealth.h:1853
static constexpr const char * description
The description for this value.
Definition CameraHealth.h:1493
bool operator==(const Memory &other) const
Equality operator.
const Value & value() const
Get Value.
Definition CameraHealth.h:1824
static constexpr const char * name
The name of this value.
Definition CameraHealth.h:1490
Value & value()
Get Value.
Definition CameraHealth.h:1830
Memory & set(const Status &value)
Set Status.
Definition CameraHealth.h:1817
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:1785
void forEach(const F &f)
Run the given function on each direct member with the value of the member as parameter.
Definition CameraHealth.h:1880
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:1872
std::string toString() const
Get the value as string.
std::tuple< CameraHealth::Memory::Status, CameraHealth::Memory::Value > Descendants
Definition CameraHealth.h:1696
const Status & status() const
Get Status.
Definition CameraHealth.h:1805
const CameraHealth::Memory::Status & get() const
Definition CameraHealth.h:1845
static constexpr const char * path
The full path for this value.
Definition CameraHealth.h:1487
Status & status()
Get Status.
Definition CameraHealth.h:1811
void set(Args &&...args)
Set multiple arguments.
Definition CameraHealth.h:1752
Memory()
Default constructor.
static constexpr DataModel::NodeType nodeType
The type of this node.
Definition CameraHealth.h:1484
Memory & set(const Value &value)
Set Value.
Definition CameraHealth.h:1836
The aggregated severity across all checks, taking the highest-precedence severity among them....
Definition CameraHealth.h:1923
static constexpr const char * name
The name of this value.
Definition CameraHealth.h:1932
friend std::ostream & operator<<(std::ostream &stream, const Overall &value)
Operator to serialize the value to a stream.
Definition CameraHealth.h:1996
ValueType value() const
Get the value.
static constexpr const char * path
The full path for this value.
Definition CameraHealth.h:1929
static const Overall suboptimal
suboptimal
Definition CameraHealth.h:1953
constexpr Overall(ValueType value)
Constructor.
Definition CameraHealth.h:1967
friend std::ostream & operator<<(std::ostream &stream, const Overall::ValueType &value)
Operator to serialize ValueType to a stream.
Definition CameraHealth.h:1978
bool operator!=(const Overall &other) const
Comparison operator.
Definition CameraHealth.h:1990
ValueType
The type of the underlying value.
Definition CameraHealth.h:1946
@ ok
Definition CameraHealth.h:1947
@ suboptimal
Definition CameraHealth.h:1948
@ unknown
Definition CameraHealth.h:1950
@ error
Definition CameraHealth.h:1949
bool operator==(const Overall &other) const
Comparison operator.
Definition CameraHealth.h:1984
static constexpr DataModel::NodeType nodeType
The type of this node.
Definition CameraHealth.h:1926
Overall()=default
Default constructor.
static const Overall ok
ok
Definition CameraHealth.h:1952
static const Overall error
error
Definition CameraHealth.h:1954
static std::set< ValueType > validValues()
All valid values of Overall.
Definition CameraHealth.h:1958
static constexpr const char * description
The description for this value.
Definition CameraHealth.h:1935
std::string toString() const
Get the value as string.
static const Overall unknown
unknown
Definition CameraHealth.h:1955
Severity of the DMD temperature check.
Definition CameraHealth.h:2080
Status()=default
Default constructor.
std::string toString() const
Get the value as string.
static const Status error
error
Definition CameraHealth.h:2106
bool operator==(const Status &other) const
Comparison operator.
Definition CameraHealth.h:2136
static constexpr const char * name
The name of this value.
Definition CameraHealth.h:2089
ValueType value() const
Get the value.
static const Status unknown
unknown
Definition CameraHealth.h:2107
constexpr Status(ValueType value)
Constructor.
Definition CameraHealth.h:2119
friend std::ostream & operator<<(std::ostream &stream, const Status &value)
Operator to serialize the value to a stream.
Definition CameraHealth.h:2148
static constexpr DataModel::NodeType nodeType
The type of this node.
Definition CameraHealth.h:2083
bool operator!=(const Status &other) const
Comparison operator.
Definition CameraHealth.h:2142
static constexpr const char * description
The description for this value.
Definition CameraHealth.h:2092
static const Status ok
ok
Definition CameraHealth.h:2104
ValueType
The type of the underlying value.
Definition CameraHealth.h:2098
@ ok
Definition CameraHealth.h:2099
@ suboptimal
Definition CameraHealth.h:2100
@ unknown
Definition CameraHealth.h:2102
@ error
Definition CameraHealth.h:2101
static std::set< ValueType > validValues()
All valid values of Status.
Definition CameraHealth.h:2110
static constexpr const char * path
The full path for this value.
Definition CameraHealth.h:2086
static const Status suboptimal
suboptimal
Definition CameraHealth.h:2105
friend std::ostream & operator<<(std::ostream &stream, const Status::ValueType &value)
Operator to serialize ValueType to a stream.
Definition CameraHealth.h:2130
DMD temperature in degrees Celsius.
Definition CameraHealth.h:2177
static constexpr const char * name
The name of this value.
Definition CameraHealth.h:2186
bool operator<=(const Value &other) const
Comparison operator.
Definition CameraHealth.h:2250
double ValueType
The type of the underlying value.
Definition CameraHealth.h:2194
friend std::ostream & operator<<(std::ostream &stream, const Value &value)
Operator to serialize the value to a stream.
Definition CameraHealth.h:2262
std::string toString() const
Get the value as string.
bool operator==(const Value &other) const
Comparison operator.
Definition CameraHealth.h:2226
bool operator>=(const Value &other) const
Comparison operator.
Definition CameraHealth.h:2256
static constexpr const char * path
The full path for this value.
Definition CameraHealth.h:2183
bool operator!=(const Value &other) const
Comparison operator.
Definition CameraHealth.h:2232
bool operator>(const Value &other) const
Comparison operator.
Definition CameraHealth.h:2244
Value()=default
Default constructor.
static constexpr const char * description
The description for this value.
Definition CameraHealth.h:2189
constexpr Value(double value)
Constructor.
Definition CameraHealth.h:2206
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:2238
static constexpr Range< double > validRange()
The range of valid values for Value.
Definition CameraHealth.h:2197
static constexpr DataModel::NodeType nodeType
The type of this node.
Definition CameraHealth.h:2180
The status of the DMD (Digital Micromirror Device) temperature, in degrees Celsius.
Definition CameraHealth.h:2054
const CameraHealth::Temperature::DMD::Value & get() const
Definition CameraHealth.h:2437
bool operator!=(const DMD &other) const
Inequality operator.
static constexpr const char * description
The description for this value.
Definition CameraHealth.h:2066
void forEach(const F &f)
Run the given function on each direct member with the value of the member as parameter.
Definition CameraHealth.h:2464
DMD()
Default constructor.
bool operator==(const DMD &other) const
Equality operator.
const Status & status() const
Get Status.
Definition CameraHealth.h:2387
std::tuple< CameraHealth::Temperature::DMD::Status, CameraHealth::Temperature::DMD::Value > Descendants
Definition CameraHealth.h:2275
const Value & value() const
Get Value.
Definition CameraHealth.h:2406
static constexpr const char * path
The full path for this value.
Definition CameraHealth.h:2060
DMD & set(const Status &value)
Set Status.
Definition CameraHealth.h:2399
static constexpr const char * name
The name of this value.
Definition CameraHealth.h:2063
friend std::ostream & operator<<(std::ostream &stream, const DMD &value)
Operator to send the value as string to a stream.
Definition CameraHealth.h:2480
Status & status()
Get Status.
Definition CameraHealth.h:2393
void set(Args &&...args)
Set multiple arguments.
Definition CameraHealth.h:2332
DMD & set(const Value &value)
Set Value.
Definition CameraHealth.h:2418
static constexpr DataModel::NodeType nodeType
The type of this node.
Definition CameraHealth.h:2057
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:2456
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:2366
Value & value()
Get Value.
Definition CameraHealth.h:2412
const CameraHealth::Temperature::DMD::Status & get() const
Definition CameraHealth.h:2428
Severity of the LED temperature check.
Definition CameraHealth.h:2532
ValueType value() const
Get the value.
static const Status suboptimal
suboptimal
Definition CameraHealth.h:2557
constexpr Status(ValueType value)
Constructor.
Definition CameraHealth.h:2571
Status()=default
Default constructor.
static const Status error
error
Definition CameraHealth.h:2558
friend std::ostream & operator<<(std::ostream &stream, const Status &value)
Operator to serialize the value to a stream.
Definition CameraHealth.h:2600
static constexpr const char * description
The description for this value.
Definition CameraHealth.h:2544
static const Status unknown
unknown
Definition CameraHealth.h:2559
static constexpr const char * path
The full path for this value.
Definition CameraHealth.h:2538
bool operator!=(const Status &other) const
Comparison operator.
Definition CameraHealth.h:2594
static std::set< ValueType > validValues()
All valid values of Status.
Definition CameraHealth.h:2562
static constexpr DataModel::NodeType nodeType
The type of this node.
Definition CameraHealth.h:2535
std::string toString() const
Get the value as string.
static constexpr const char * name
The name of this value.
Definition CameraHealth.h:2541
bool operator==(const Status &other) const
Comparison operator.
Definition CameraHealth.h:2588
static const Status ok
ok
Definition CameraHealth.h:2556
friend std::ostream & operator<<(std::ostream &stream, const Status::ValueType &value)
Operator to serialize ValueType to a stream.
Definition CameraHealth.h:2582
ValueType
The type of the underlying value.
Definition CameraHealth.h:2550
@ ok
Definition CameraHealth.h:2551
@ suboptimal
Definition CameraHealth.h:2552
@ unknown
Definition CameraHealth.h:2554
@ error
Definition CameraHealth.h:2553
LED temperature in degrees Celsius.
Definition CameraHealth.h:2629
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:2641
friend std::ostream & operator<<(std::ostream &stream, const Value &value)
Operator to serialize the value to a stream.
Definition CameraHealth.h:2714
double value() const
Get the value.
bool operator!=(const Value &other) const
Comparison operator.
Definition CameraHealth.h:2684
bool operator<=(const Value &other) const
Comparison operator.
Definition CameraHealth.h:2702
static constexpr const char * name
The name of this value.
Definition CameraHealth.h:2638
bool operator>(const Value &other) const
Comparison operator.
Definition CameraHealth.h:2696
static constexpr DataModel::NodeType nodeType
The type of this node.
Definition CameraHealth.h:2632
double ValueType
The type of the underlying value.
Definition CameraHealth.h:2646
bool hasValue() const
Check if the value is set.
bool operator>=(const Value &other) const
Comparison operator.
Definition CameraHealth.h:2708
static constexpr Range< double > validRange()
The range of valid values for Value.
Definition CameraHealth.h:2649
std::string toString() const
Get the value as string.
static constexpr const char * path
The full path for this value.
Definition CameraHealth.h:2635
bool operator==(const Value &other) const
Comparison operator.
Definition CameraHealth.h:2678
bool operator<(const Value &other) const
Comparison operator.
Definition CameraHealth.h:2690
constexpr Value(double value)
Constructor.
Definition CameraHealth.h:2658
The status of the LED temperature, in degrees Celsius.
Definition CameraHealth.h:2507
std::string toString() const
Get the value as string.
void set(Args &&...args)
Set multiple arguments.
Definition CameraHealth.h:2784
Status & status()
Get Status.
Definition CameraHealth.h:2845
const CameraHealth::Temperature::LED::Value & get() const
Definition CameraHealth.h:2889
LED & set(const Value &value)
Set Value.
Definition CameraHealth.h:2870
LED & set(const Status &value)
Set Status.
Definition CameraHealth.h:2851
const Value & value() const
Get Value.
Definition CameraHealth.h:2858
LED()
Default constructor.
std::tuple< CameraHealth::Temperature::LED::Status, CameraHealth::Temperature::LED::Value > Descendants
Definition CameraHealth.h:2727
const CameraHealth::Temperature::LED::Status & get() const
Definition CameraHealth.h:2880
static constexpr DataModel::NodeType nodeType
The type of this node.
Definition CameraHealth.h:2510
friend std::ostream & operator<<(std::ostream &stream, const LED &value)
Operator to send the value as string to a stream.
Definition CameraHealth.h:2932
static constexpr const char * path
The full path for this value.
Definition CameraHealth.h:2513
void forEach(const F &f)
Run the given function on each direct member with the value of the member as parameter.
Definition CameraHealth.h:2916
bool operator!=(const LED &other) const
Inequality operator.
static constexpr const char * name
The name of this value.
Definition CameraHealth.h:2516
Value & value()
Get Value.
Definition CameraHealth.h:2864
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:2908
static constexpr const char * description
The description for this value.
Definition CameraHealth.h:2519
const Status & status() const
Get Status.
Definition CameraHealth.h:2839
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:2818
bool operator==(const LED &other) const
Equality operator.
Severity of the lens temperature check.
Definition CameraHealth.h:2984
static constexpr const char * description
The description for this value.
Definition CameraHealth.h:2996
std::string toString() const
Get the value as string.
static std::set< ValueType > validValues()
All valid values of Status.
Definition CameraHealth.h:3014
static const Status unknown
unknown
Definition CameraHealth.h:3011
static const Status error
error
Definition CameraHealth.h:3010
ValueType
The type of the underlying value.
Definition CameraHealth.h:3002
@ ok
Definition CameraHealth.h:3003
@ suboptimal
Definition CameraHealth.h:3004
@ unknown
Definition CameraHealth.h:3006
@ error
Definition CameraHealth.h:3005
constexpr Status(ValueType value)
Constructor.
Definition CameraHealth.h:3023
static const Status suboptimal
suboptimal
Definition CameraHealth.h:3009
friend std::ostream & operator<<(std::ostream &stream, const Status &value)
Operator to serialize the value to a stream.
Definition CameraHealth.h:3052
Status()=default
Default constructor.
static constexpr DataModel::NodeType nodeType
The type of this node.
Definition CameraHealth.h:2987
bool operator==(const Status &other) const
Comparison operator.
Definition CameraHealth.h:3040
ValueType value() const
Get the value.
bool operator!=(const Status &other) const
Comparison operator.
Definition CameraHealth.h:3046
static constexpr const char * path
The full path for this value.
Definition CameraHealth.h:2990
static constexpr const char * name
The name of this value.
Definition CameraHealth.h:2993
static const Status ok
ok
Definition CameraHealth.h:3008
friend std::ostream & operator<<(std::ostream &stream, const Status::ValueType &value)
Operator to serialize ValueType to a stream.
Definition CameraHealth.h:3034
Lens temperature in degrees Celsius.
Definition CameraHealth.h:3081
static constexpr DataModel::NodeType nodeType
The type of this node.
Definition CameraHealth.h:3084
friend std::ostream & operator<<(std::ostream &stream, const Value &value)
Operator to serialize the value to a stream.
Definition CameraHealth.h:3166
bool operator==(const Value &other) const
Comparison operator.
Definition CameraHealth.h:3130
static constexpr Range< double > validRange()
The range of valid values for Value.
Definition CameraHealth.h:3101
static constexpr const char * path
The full path for this value.
Definition CameraHealth.h:3087
bool hasValue() const
Check if the value is set.
static constexpr const char * name
The name of this value.
Definition CameraHealth.h:3090
void reset()
Reset the node to unset state.
bool operator<=(const Value &other) const
Comparison operator.
Definition CameraHealth.h:3154
Value()=default
Default constructor.
bool operator>(const Value &other) const
Comparison operator.
Definition CameraHealth.h:3148
bool operator<(const Value &other) const
Comparison operator.
Definition CameraHealth.h:3142
static constexpr const char * description
The description for this value.
Definition CameraHealth.h:3093
constexpr Value(double value)
Constructor.
Definition CameraHealth.h:3110
std::string toString() const
Get the value as string.
bool operator>=(const Value &other) const
Comparison operator.
Definition CameraHealth.h:3160
bool operator!=(const Value &other) const
Comparison operator.
Definition CameraHealth.h:3136
double value() const
Get the value.
double ValueType
The type of the underlying value.
Definition CameraHealth.h:3098
The status of the lens temperature, in degrees Celsius.
Definition CameraHealth.h:2959
void set(Args &&...args)
Set multiple arguments.
Definition CameraHealth.h:3236
static constexpr const char * description
The description for this value.
Definition CameraHealth.h:2971
const CameraHealth::Temperature::Lens::Value & get() const
Definition CameraHealth.h:3341
Value & value()
Get Value.
Definition CameraHealth.h:3316
const CameraHealth::Temperature::Lens::Status & get() const
Definition CameraHealth.h:3332
static constexpr const char * path
The full path for this value.
Definition CameraHealth.h:2965
std::tuple< CameraHealth::Temperature::Lens::Status, CameraHealth::Temperature::Lens::Value > Descendants
Definition CameraHealth.h:3179
static constexpr DataModel::NodeType nodeType
The type of this node.
Definition CameraHealth.h:2962
Lens & set(const Status &value)
Set Status.
Definition CameraHealth.h:3303
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:3368
Status & status()
Get Status.
Definition CameraHealth.h:3297
Lens & set(const Value &value)
Set Value.
Definition CameraHealth.h:3322
std::string toString() const
Get the value as string.
const Value & value() const
Get Value.
Definition CameraHealth.h:3310
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:3270
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:3360
friend std::ostream & operator<<(std::ostream &stream, const Lens &value)
Operator to send the value as string to a stream.
Definition CameraHealth.h:3384
bool operator==(const Lens &other) const
Equality operator.
const Status & status() const
Get Status.
Definition CameraHealth.h:3291
static constexpr const char * name
The name of this value.
Definition CameraHealth.h:2968
The status of the camera's temperatures. Each sub-status reflects the temperature of a specific compo...
Definition CameraHealth.h:2026
Temperature & set(const Lens::Status &value)
Set Lens::Status.
Definition CameraHealth.h:3626
const CameraHealth::Temperature::DMD::Value & get() const
Definition CameraHealth.h:3658
Lens & lens()
Get Lens.
Definition CameraHealth.h:3613
static constexpr const char * path
The full path for this value.
Definition CameraHealth.h:2032
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:3521
Temperature & set(const Lens &value)
Set Lens.
Definition CameraHealth.h:3619
bool operator!=(const Temperature &other) const
Inequality operator.
const CameraHealth::Temperature::DMD::Status & get() const
Definition CameraHealth.h:3650
static constexpr const char * name
The name of this value.
Definition CameraHealth.h:2035
const CameraHealth::Temperature::Lens & get() const
Definition CameraHealth.h:3690
Temperature()
Default constructor.
const Lens & lens() const
Get Lens.
Definition CameraHealth.h:3607
const CameraHealth::Temperature::LED::Status & get() const
Definition CameraHealth.h:3674
Temperature & set(const DMD::Value &value)
Set DMD::Value.
Definition CameraHealth.h:3567
void forEach(const F &f)
Run the given function on each direct member with the value of the member as parameter.
Definition CameraHealth.h:3740
Temperature & set(const LED &value)
Set LED.
Definition CameraHealth.h:3586
friend std::ostream & operator<<(std::ostream &stream, const Temperature &value)
Operator to send the value as string to a stream.
Definition CameraHealth.h:3757
const CameraHealth::Temperature::Lens::Status & get() const
Definition CameraHealth.h:3698
const CameraHealth::Temperature::LED::Value & get() const
Definition CameraHealth.h:3682
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:3731
std::string toString() const
Get the value as string.
const CameraHealth::Temperature::Lens::Value & get() const
Definition CameraHealth.h:3706
Temperature & set(const LED::Status &value)
Set LED::Status.
Definition CameraHealth.h:3593
static constexpr DataModel::NodeType nodeType
The type of this node.
Definition CameraHealth.h:2029
Temperature & set(const DMD &value)
Set DMD.
Definition CameraHealth.h:3553
Temperature & set(const Lens::Value &value)
Set Lens::Value.
Definition CameraHealth.h:3633
void set(Args &&...args)
Set multiple arguments.
Definition CameraHealth.h:3481
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:3402
const DMD & dmd() const
Get DMD.
Definition CameraHealth.h:3541
const CameraHealth::Temperature::LED & get() const
Definition CameraHealth.h:3666
static constexpr const char * description
The description for this value.
Definition CameraHealth.h:2038
const CameraHealth::Temperature::DMD & get() const
Definition CameraHealth.h:3642
bool operator==(const Temperature &other) const
Equality operator.
DMD & dmd()
Get DMD.
Definition CameraHealth.h:3547
Temperature & set(const DMD::Status &value)
Set DMD::Status.
Definition CameraHealth.h:3560
Temperature & set(const LED::Value &value)
Set LED::Value.
Definition CameraHealth.h:3600
const LED & led() const
Get LED.
Definition CameraHealth.h:3574
LED & led()
Get LED.
Definition CameraHealth.h:3580
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:4156
const CameraHealth::Memory & get() const
Definition CameraHealth.h:4285
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:4025
CameraHealth & set(const Temperature::DMD::Status &value)
Set Temperature::DMD::Status.
Definition CameraHealth.h:4163
CameraHealth & set(const MaxTransferSpeed::Value &value)
Set MaxTransferSpeed::Value.
Definition CameraHealth.h:4078
const CameraHealth::MaxTransferSpeed & get() const
Definition CameraHealth.h:4263
void save(const std::string &fileName) const
Save to the given file.
const CameraHealth::Fan::Value & get() const
Definition CameraHealth.h:4231
static constexpr DataModel::NodeType nodeType
The type of this node.
Definition CameraHealth.h:92
const CameraHealth::Fan & get() const
Definition CameraHealth.h:4219
const CameraHealth::Temperature::Lens & get() const
Definition CameraHealth.h:4369
CameraHealth & set(const Memory::Value &value)
Set Memory::Value.
Definition CameraHealth.h:4111
CameraHealth & set(const Temperature::LED &value)
Set Temperature::LED.
Definition CameraHealth.h:4177
const Memory & memory() const
Get Memory.
Definition CameraHealth.h:4085
void load(const std::string &fileName)
Load from the given file.
CameraHealth & set(const Memory::Status &value)
Set Memory::Status.
Definition CameraHealth.h:4104
CameraHealth & set(const InfieldVerification::Value &value)
Set InfieldVerification::Value.
Definition CameraHealth.h:4045
MaxTransferSpeed & maxTransferSpeed()
Get MaxTransferSpeed.
Definition CameraHealth.h:4058
CameraHealth & set(const Temperature::Lens::Value &value)
Set Temperature::Lens::Value.
Definition CameraHealth.h:4212
CameraHealth & set(const Overall &value)
Set Overall.
Definition CameraHealth.h:4130
Fan & fan()
Get Fan.
Definition CameraHealth.h:3992
CameraHealth & set(const Temperature &value)
Set Temperature.
Definition CameraHealth.h:4149
const CameraHealth::Memory::Status & get() const
Definition CameraHealth.h:4293
const Overall & overall() const
Get Overall.
Definition CameraHealth.h:4118
CameraHealth(Args &&...args)
Constructor taking variadic number of arguments.
Definition CameraHealth.h:3864
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:4052
const CameraHealth::Fan::Status & get() const
Definition CameraHealth.h:4225
CameraHealth & set(const Temperature::DMD::Value &value)
Set Temperature::DMD::Value.
Definition CameraHealth.h:4170
const CameraHealth::InfieldVerification & get() const
Definition CameraHealth.h:4239
const CameraHealth::Temperature::Lens::Value & get() const
Definition CameraHealth.h:4385
CameraHealth & set(const InfieldVerification::Status &value)
Set InfieldVerification::Status.
Definition CameraHealth.h:4038
const CameraHealth::Temperature::DMD::Value & get() const
Definition CameraHealth.h:4337
CameraHealth & set(const Fan::Status &value)
Set Fan::Status.
Definition CameraHealth.h:4005
const CameraHealth::MaxTransferSpeed::Status & get() const
Definition CameraHealth.h:4271
const CameraHealth::InfieldVerification::Status & get() const
Definition CameraHealth.h:4247
const CameraHealth::Temperature::DMD & get() const
Definition CameraHealth.h:4321
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:4097
const CameraHealth::Memory::Value & get() const
Definition CameraHealth.h:4301
static constexpr const char * name
The name of this value.
Definition CameraHealth.h:98
Temperature & temperature()
Get Temperature.
Definition CameraHealth.h:4143
Overall & overall()
Get Overall.
Definition CameraHealth.h:4124
Memory & memory()
Get Memory.
Definition CameraHealth.h:4091
static constexpr const char * description
The description for this value.
Definition CameraHealth.h:101
const Temperature & temperature() const
Get Temperature.
Definition CameraHealth.h:4137
bool operator==(const CameraHealth &other) const
Equality operator.
const CameraHealth::MaxTransferSpeed::Value & get() const
Definition CameraHealth.h:4279
void set(Args &&...args)
Set multiple arguments.
Definition CameraHealth.h:3913
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:4377
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:4428
const CameraHealth::Temperature::LED & get() const
Definition CameraHealth.h:4345
CameraHealth & set(const Temperature::Lens &value)
Set Temperature::Lens.
Definition CameraHealth.h:4198
CameraHealth & set(const Fan::Value &value)
Set Fan::Value.
Definition CameraHealth.h:4012
void forEach(const F &f)
Run the given function on each direct member with the value of the member as parameter.
Definition CameraHealth.h:4440
const CameraHealth::Temperature::DMD::Status & get() const
Definition CameraHealth.h:4329
std::string toString() const
Get the value as string.
CameraHealth & set(const InfieldVerification &value)
Set InfieldVerification.
Definition CameraHealth.h:4031
CameraHealth()
Default constructor.
const CameraHealth::Temperature::LED::Value & get() const
Definition CameraHealth.h:4361
CameraHealth & set(const Temperature::LED::Status &value)
Set Temperature::LED::Status.
Definition CameraHealth.h:4184
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:3776
CameraHealth & set(const Fan &value)
Set Fan.
Definition CameraHealth.h:3998
friend std::ostream & operator<<(std::ostream &stream, const CameraHealth &value)
Operator to send the value as string to a stream.
Definition CameraHealth.h:4460
const CameraHealth::Temperature & get() const
Definition CameraHealth.h:4313
const Fan & fan() const
Get Fan.
Definition CameraHealth.h:3986
CameraHealth & set(const MaxTransferSpeed &value)
Set MaxTransferSpeed.
Definition CameraHealth.h:4064
CameraHealth & set(const Temperature::Lens::Status &value)
Set Temperature::Lens::Status.
Definition CameraHealth.h:4205
CameraHealth & set(const Temperature::LED::Value &value)
Set Temperature::LED::Value.
Definition CameraHealth.h:4191
const InfieldVerification & infieldVerification() const
Get InfieldVerification.
Definition CameraHealth.h:4019
const CameraHealth::Temperature::LED::Status & get() const
Definition CameraHealth.h:4353
CameraHealth & set(const MaxTransferSpeed::Status &value)
Set MaxTransferSpeed::Status.
Definition CameraHealth.h:4071
const CameraHealth::InfieldVerification::Value & get() const
Definition CameraHealth.h:4255
const CameraHealth::Overall & get() const
Definition CameraHealth.h:4307
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:3967
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