69# pragma warning(disable : 4251)
85 static constexpr const char *path{
"" };
88 static constexpr const char *name{
"CameraState" };
91 static constexpr const char *description{
92 R
"description(Information about camera connection state, temperatures, etc.)description"
95 static constexpr size_t version{ 7 };
105 static constexpr std::array<uint8_t, 3> binaryId{
'c',
's',
't' };
122 static constexpr const char *path{
"Available" };
125 static constexpr const char *name{
"Available" };
128 static constexpr const char *description{
129 R
"description(Flag if camera is physically connected to the computer and is available for use, but not connected in
130software. This corresponds to the Status enums `available` or `firmwareUpdateRequired`. Zivid
131recommends to use the Status enum instead of this bool.
143 return {
false,
true };
161 explicit operator bool()
const
169 return m_value == other.m_value;
175 return m_value != other.m_value;
185 void setFromString(
const std::string &value);
187 bool m_value{
false };
189 friend struct DataModel::Detail::Befriend<
Available>;
204 static constexpr const char *path{
"Connected" };
207 static constexpr const char *name{
"Connected" };
210 static constexpr const char *description{
211 R
"description(Flag if camera is connected in software. This bool is true when the Status value is `connected`. Zivid
212recommends to use the Status enum instead of this bool.
224 return {
false,
true };
242 explicit operator bool()
const
250 return m_value == other.m_value;
256 return m_value != other.m_value;
266 void setFromString(
const std::string &value);
268 bool m_value{
false };
270 friend struct DataModel::Detail::Befriend<
Connected>;
283 static constexpr const char *path{
"InaccessibleReason" };
286 static constexpr const char *name{
"InaccessibleReason" };
289 static constexpr const char *description{
290 R
"description(If the camera status is `inaccessible`, then this enum value will give you the reason.)description"
296 ipConflictWithAnotherCamera,
297 ipConflictWithLocalNetworkAdapter,
299 ipInMultipleLocalSubnets
309 return { ValueType::ipConflictWithAnotherCamera,
310 ValueType::ipConflictWithLocalNetworkAdapter,
311 ValueType::ipNotInLocalSubnet,
312 ValueType::ipInMultipleLocalSubnets };
320 : m_opt{ verifyValue(value) }
347 return m_opt == other.m_opt;
353 return m_opt != other.m_opt;
363 void setFromString(
const std::string &value);
365 constexpr ValueType
static verifyValue(
const ValueType &value)
367 return value == ValueType::ipConflictWithAnotherCamera
368 || value == ValueType::ipConflictWithLocalNetworkAdapter
369 || value == ValueType::ipNotInLocalSubnet || value == ValueType::ipInMultipleLocalSubnets
371 :
throw std::invalid_argument{
372 "Invalid value: InaccessibleReason{ "
373 + std::to_string(
static_cast<std::underlying_type<ValueType>::type
>(value)) +
" }"
377 std::optional<ValueType> m_opt;
392 static constexpr const char *path{
"Network" };
395 static constexpr const char *name{
"Network" };
398 static constexpr const char *description{ R
"description(Current network state)description" };
411 static constexpr const char *path{
"Network/LocalInterface" };
414 static constexpr const char *name{
"LocalInterface" };
417 static constexpr const char *description{
418 R
"description(Current state of the computer's local network interface.
432 static constexpr const char *path{
"Network/LocalInterface/IPV4" };
435 static constexpr const char *name{
"IPV4" };
438 static constexpr const char *description{
439 R
"description(Current IPv4 protocol state of the computer's local network interface.)description"
453 static constexpr const char *path{
"Network/LocalInterface/IPV4/Subnet" };
456 static constexpr const char *name{
"Subnet" };
459 static constexpr const char *description{
460 R
"description(An IPv4 subnet that the local network interface is connected to.
474 static constexpr const char *path{
"Network/LocalInterface/IPV4/Subnet/Address" };
477 static constexpr const char *name{
"Address" };
480 static constexpr const char *description{
481 R
"description(IP address of the computer's local network interface.)description"
490 return { 0, std::numeric_limits<ValueType::size_type>::max() };
498 : m_value{ std::move(value) }
510 return m_value == other.m_value;
516 return m_value != other.m_value;
522 return m_value < other.m_value;
528 return m_value > other.m_value;
534 return m_value <= other.m_value;
540 return m_value >= other.m_value;
550 void setFromString(
const std::string &value);
552 std::string m_value{};
554 friend struct DataModel::Detail::Befriend<
Address>;
567 static constexpr const char *path{
"Network/LocalInterface/IPV4/Subnet/Mask" };
570 static constexpr const char *name{
"Mask" };
573 static constexpr const char *description{
574 R
"description(Subnet mask of the computer's local network interface.)description"
583 return { 0, std::numeric_limits<ValueType::size_type>::max() };
590 explicit Mask(std::string value)
591 : m_value{ std::move(value) }
603 return m_value == other.m_value;
609 return m_value != other.m_value;
615 return m_value < other.m_value;
621 return m_value > other.m_value;
627 return m_value <= other.m_value;
633 return m_value >= other.m_value;
643 void setFromString(
const std::string &value);
645 std::string m_value{};
647 friend struct DataModel::Detail::Befriend<
Mask>;
672 typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0,
673 typename std::enable_if<
674 Zivid::Detail::TypeTraits::
675 AllArgsAreInTuple<
Descendants, typename std::decay<Args>::type...>::value,
678 template<typename... Args>
682 using namespace Zivid::Detail::TypeTraits;
685 AllArgsDecayedAreUnique<Args...>::value,
686 "Found duplicate types among the arguments passed to Subnet(...). "
687 "Types should be listed at most once.");
689 set(std::forward<Args>(args)...);
704 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 2,
int>::type = 0>
706 template<typename... Args>
710 using namespace Zivid::Detail::TypeTraits;
712 using AllArgsAreDescendantNodes =
713 AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
715 AllArgsAreDescendantNodes::value,
716 "All arguments passed to set(...) must be descendant nodes.");
719 AllArgsDecayedAreUnique<Args...>::value,
720 "Found duplicate types among the arguments passed to set(...). "
721 "Types should be listed at most once.");
723 Zivid::DataModel::Detail::invokeSetWithEachArgument(*
this, std::forward<Args>(args)...);
739 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0>
741 template<typename... Args>
745 using namespace Zivid::Detail::TypeTraits;
747 using AllArgsAreDescendantNodes =
748 AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
750 AllArgsAreDescendantNodes::value,
751 "All arguments passed to copyWith(...) must be descendant nodes.");
754 AllArgsDecayedAreUnique<Args...>::value,
755 "Found duplicate types among the arguments passed to copyWith(...). "
756 "Types should be listed at most once.");
759 copy.set(std::forward<Args>(args)...);
803 typename std::enable_if<
804 std::is_same<T, CameraState::Network::LocalInterface::IPV4::Subnet::Address>::value,
813 typename std::enable_if<
814 std::is_same<T, CameraState::Network::LocalInterface::IPV4::Subnet::Mask>::value,
821 template<size_t i, typename std::enable_if<i == 0, int>::type = 0>
827 template<size_t i, typename std::enable_if<i == 1, int>::type = 0>
865 void setFromString(
const std::string &value);
867 void setFromString(
const std::string &fullPath,
const std::string &value);
869 std::string getString(
const std::string &fullPath)
const;
874 friend struct DataModel::Detail::Befriend<
Subnet>;
890 static constexpr const char *path{
"Network/LocalInterface/IPV4/Subnets" };
893 static constexpr const char *name{
"Subnets" };
896 static constexpr const char *description{
897 R
"description(List of IPv4 addresses and subnet masks that the interface is configured with. This list can
898contain multiple entries if the local network interface is configured with multiple IPv4
904 using ValueType = std::vector<CameraState::Network::LocalInterface::IPV4::Subnet>;
909 return { 0, std::numeric_limits<ValueType::size_type>::max() };
916 explicit Subnets(std::vector<CameraState::Network::LocalInterface::IPV4::Subnet> value)
917 : m_value{ std::move(value) }
922 std::initializer_list<CameraState::Network::LocalInterface::IPV4::Subnet> value)
927 const std::vector<CameraState::Network::LocalInterface::IPV4::Subnet> &
value()
const;
933 std::size_t
size() const noexcept;
936 bool isEmpty() const noexcept;
943 template<typename... Args>
944 void emplaceBack(Args &&...args)
946 m_value.emplace_back(std::forward<Args>(args)...);
981 for(
auto &child : m_value)
991 for(
const auto &child : m_value)
998 using Iterator = std::vector<CameraState::Network::LocalInterface::IPV4::Subnet>::iterator;
1025 return m_value == other.m_value;
1031 return m_value != other.m_value;
1041 void setFromString(
const std::string &value);
1043 std::vector<CameraState::Network::LocalInterface::IPV4::Subnet> m_value{};
1045 friend struct DataModel::Detail::Befriend<
Subnets>;
1048 using Descendants = std::tuple<CameraState::Network::LocalInterface::IPV4::Subnets>;
1067 typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0,
1068 typename std::enable_if<
1069 Zivid::Detail::TypeTraits::
1070 AllArgsAreInTuple<
Descendants, typename std::decay<Args>::type...>::value,
1073 template<typename... Args>
1077 using namespace Zivid::Detail::TypeTraits;
1080 AllArgsDecayedAreUnique<Args...>::value,
1081 "Found duplicate types among the arguments passed to IPV4(...). "
1082 "Types should be listed at most once.");
1084 set(std::forward<Args>(args)...);
1098 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 2,
int>::type = 0>
1100 template<typename... Args>
1104 using namespace Zivid::Detail::TypeTraits;
1106 using AllArgsAreDescendantNodes =
1107 AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
1109 AllArgsAreDescendantNodes::value,
1110 "All arguments passed to set(...) must be descendant nodes.");
1113 AllArgsDecayedAreUnique<Args...>::value,
1114 "Found duplicate types among the arguments passed to set(...). "
1115 "Types should be listed at most once.");
1117 Zivid::DataModel::Detail::invokeSetWithEachArgument(*
this, std::forward<Args>(args)...);
1132 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0>
1134 template<typename... Args>
1138 using namespace Zivid::Detail::TypeTraits;
1140 using AllArgsAreDescendantNodes =
1141 AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
1143 AllArgsAreDescendantNodes::value,
1144 "All arguments passed to copyWith(...) must be descendant nodes.");
1147 AllArgsDecayedAreUnique<Args...>::value,
1148 "Found duplicate types among the arguments passed to copyWith(...). "
1149 "Types should be listed at most once.");
1152 copy.set(std::forward<Args>(args)...);
1177 typename std::enable_if<
1178 std::is_same<T, CameraState::Network::LocalInterface::IPV4::Subnets>::value,
1185 template<size_t i, typename std::enable_if<i == 0, int>::type = 0>
1192 template<
typename F>
1199 template<
typename F>
1221 void setFromString(
const std::string &value);
1223 void setFromString(
const std::string &fullPath,
const std::string &value);
1225 std::string getString(
const std::string &fullPath)
const;
1229 friend struct DataModel::Detail::Befriend<
IPV4>;
1242 static constexpr const char *path{
"Network/LocalInterface/InterfaceName" };
1245 static constexpr const char *name{
"InterfaceName" };
1248 static constexpr const char *description{
1249 R
"description(Name of the computer's local network interface.)description"
1258 return { 0, std::numeric_limits<ValueType::size_type>::max() };
1266 : m_value{ std::move(value) }
1278 return m_value == other.m_value;
1284 return m_value != other.m_value;
1290 return m_value < other.m_value;
1296 return m_value > other.m_value;
1302 return m_value <= other.m_value;
1308 return m_value >= other.m_value;
1318 void setFromString(
const std::string &value);
1320 std::string m_value{};
1349 typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0,
1350 typename std::enable_if<
1351 Zivid::Detail::TypeTraits::AllArgsAreInTuple<
Descendants,
typename std::decay<Args>::type...>::
1355 template<typename... Args>
1359 using namespace Zivid::Detail::TypeTraits;
1362 AllArgsDecayedAreUnique<Args...>::value,
1363 "Found duplicate types among the arguments passed to LocalInterface(...). "
1364 "Types should be listed at most once.");
1366 set(std::forward<Args>(args)...);
1382 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 2,
int>::type = 0>
1384 template<typename... Args>
1388 using namespace Zivid::Detail::TypeTraits;
1390 using AllArgsAreDescendantNodes =
1391 AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
1393 AllArgsAreDescendantNodes::value,
"All arguments passed to set(...) must be descendant nodes.");
1396 AllArgsDecayedAreUnique<Args...>::value,
1397 "Found duplicate types among the arguments passed to set(...). "
1398 "Types should be listed at most once.");
1400 Zivid::DataModel::Detail::invokeSetWithEachArgument(*
this, std::forward<Args>(args)...);
1417 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0>
1419 template<typename... Args>
1423 using namespace Zivid::Detail::TypeTraits;
1425 using AllArgsAreDescendantNodes =
1426 AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
1428 AllArgsAreDescendantNodes::value,
1429 "All arguments passed to copyWith(...) must be descendant nodes.");
1432 AllArgsDecayedAreUnique<Args...>::value,
1433 "Found duplicate types among the arguments passed to copyWith(...). "
1434 "Types should be listed at most once.");
1437 copy.set(std::forward<Args>(args)...);
1470 return m_interfaceName;
1476 return m_interfaceName;
1482 m_interfaceName = value;
1488 typename std::enable_if<std::is_same<T, CameraState::Network::LocalInterface::IPV4>::value,
int>::
1497 typename std::enable_if<
1498 std::is_same<T, CameraState::Network::LocalInterface::IPV4::Subnets>::value,
1507 typename std::enable_if<
1508 std::is_same<T, CameraState::Network::LocalInterface::InterfaceName>::value,
1512 return m_interfaceName;
1515 template<size_t i, typename std::enable_if<i == 0, int>::type = 0>
1521 template<size_t i, typename std::enable_if<i == 1, int>::type = 0>
1524 return m_interfaceName;
1528 template<
typename F>
1536 template<
typename F>
1559 void setFromString(
const std::string &value);
1561 void setFromString(
const std::string &fullPath,
const std::string &value);
1563 std::string getString(
const std::string &fullPath)
const;
1581 static constexpr const char *path{
"Network/IPV4" };
1584 static constexpr const char *name{
"IPV4" };
1587 static constexpr const char *description{ R
"description(Current IPv4 protocol state)description" };
1599 static constexpr const char *path{
"Network/IPV4/Address" };
1602 static constexpr const char *name{
"Address" };
1605 static constexpr const char *description{ R
"description(Current IPv4 address)description" };
1613 return { 0, std::numeric_limits<ValueType::size_type>::max() };
1621 : m_value{ std::move(value) }
1633 return m_value == other.m_value;
1639 return m_value != other.m_value;
1645 return m_value < other.m_value;
1651 return m_value > other.m_value;
1657 return m_value <= other.m_value;
1663 return m_value >= other.m_value;
1673 void setFromString(
const std::string &value);
1675 std::string m_value{};
1677 friend struct DataModel::Detail::Befriend<
Address>;
1699 typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0,
1700 typename std::enable_if<
1701 Zivid::Detail::TypeTraits::AllArgsAreInTuple<
Descendants,
typename std::decay<Args>::type...>::
1705 template<typename... Args>
1709 using namespace Zivid::Detail::TypeTraits;
1712 AllArgsDecayedAreUnique<Args...>::value,
1713 "Found duplicate types among the arguments passed to IPV4(...). "
1714 "Types should be listed at most once.");
1716 set(std::forward<Args>(args)...);
1730 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 2,
int>::type = 0>
1732 template<typename... Args>
1736 using namespace Zivid::Detail::TypeTraits;
1738 using AllArgsAreDescendantNodes =
1739 AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
1741 AllArgsAreDescendantNodes::value,
"All arguments passed to set(...) must be descendant nodes.");
1744 AllArgsDecayedAreUnique<Args...>::value,
1745 "Found duplicate types among the arguments passed to set(...). "
1746 "Types should be listed at most once.");
1748 Zivid::DataModel::Detail::invokeSetWithEachArgument(*
this, std::forward<Args>(args)...);
1763 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0>
1765 template<typename... Args>
1769 using namespace Zivid::Detail::TypeTraits;
1771 using AllArgsAreDescendantNodes =
1772 AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
1774 AllArgsAreDescendantNodes::value,
1775 "All arguments passed to copyWith(...) must be descendant nodes.");
1778 AllArgsDecayedAreUnique<Args...>::value,
1779 "Found duplicate types among the arguments passed to copyWith(...). "
1780 "Types should be listed at most once.");
1783 copy.set(std::forward<Args>(args)...);
1808 typename std::enable_if<std::is_same<T, CameraState::Network::IPV4::Address>::value,
int>::type = 0>
1814 template<size_t i, typename std::enable_if<i == 0, int>::type = 0>
1821 template<
typename F>
1828 template<
typename F>
1850 void setFromString(
const std::string &value);
1852 void setFromString(
const std::string &fullPath,
const std::string &value);
1854 std::string getString(
const std::string &fullPath)
const;
1858 friend struct DataModel::Detail::Befriend<
IPV4>;
1877 static constexpr const char *path{
"Network/LocalInterfaces" };
1880 static constexpr const char *name{
"LocalInterfaces" };
1883 static constexpr const char *description{
1884 R
"description(List of the computer's local network interfaces that discovered the camera. In the most common scenario
1885with the camera connected to the computer with an Ethernet cable, this list will contain only the
1886network interface for that Ethernet port. In more complex network scenarios it can be the case that the
1887camera is discovered by multiple interfaces, and in that case this list will contain multiple network
1888interfaces. However, when `CameraState::Status` is `connected`, only the one network interface that has
1889the active TCP/IP connection to the camera will be listed.
1894 using ValueType = std::vector<CameraState::Network::LocalInterface>;
1899 return { 0, std::numeric_limits<ValueType::size_type>::max() };
1907 : m_value{ std::move(value) }
1911 explicit LocalInterfaces(std::initializer_list<CameraState::Network::LocalInterface> value)
1916 const std::vector<CameraState::Network::LocalInterface> &
value()
const;
1925 bool isEmpty() const noexcept;
1932 template<typename... Args>
1933 void emplaceBack(Args &&...args)
1935 m_value.emplace_back(std::forward<Args>(args)...);
1967 template<
typename F>
1970 for(
auto &child : m_value)
1977 template<
typename F>
1980 for(
const auto &child : m_value)
1987 using Iterator = std::vector<CameraState::Network::LocalInterface>::iterator;
2013 return m_value == other.m_value;
2019 return m_value != other.m_value;
2029 void setFromString(
const std::string &value);
2031 std::vector<CameraState::Network::LocalInterface> m_value{};
2060 typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0,
2061 typename std::enable_if<
2062 Zivid::Detail::TypeTraits::AllArgsAreInTuple<
Descendants,
typename std::decay<Args>::type...>::
2066 template<typename... Args>
2070 using namespace Zivid::Detail::TypeTraits;
2073 AllArgsDecayedAreUnique<Args...>::value,
2074 "Found duplicate types among the arguments passed to Network(...). "
2075 "Types should be listed at most once.");
2077 set(std::forward<Args>(args)...);
2093 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 2,
int>::type = 0>
2095 template<typename... Args>
2099 using namespace Zivid::Detail::TypeTraits;
2101 using AllArgsAreDescendantNodes = AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
2103 AllArgsAreDescendantNodes::value,
"All arguments passed to set(...) must be descendant nodes.");
2106 AllArgsDecayedAreUnique<Args...>::value,
2107 "Found duplicate types among the arguments passed to set(...). "
2108 "Types should be listed at most once.");
2110 Zivid::DataModel::Detail::invokeSetWithEachArgument(*
this, std::forward<Args>(args)...);
2127 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0>
2129 template<typename... Args>
2133 using namespace Zivid::Detail::TypeTraits;
2135 using AllArgsAreDescendantNodes = AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
2137 AllArgsAreDescendantNodes::value,
2138 "All arguments passed to copyWith(...) must be descendant nodes.");
2141 AllArgsDecayedAreUnique<Args...>::value,
2142 "Found duplicate types among the arguments passed to copyWith(...). "
2143 "Types should be listed at most once.");
2146 copy.set(std::forward<Args>(args)...);
2179 return m_localInterfaces;
2185 return m_localInterfaces;
2191 m_localInterfaces = value;
2197 typename std::enable_if<std::is_same<T, CameraState::Network::IPV4>::value,
int>::type = 0>
2205 typename std::enable_if<std::is_same<T, CameraState::Network::IPV4::Address>::value,
int>::type = 0>
2213 typename std::enable_if<std::is_same<T, CameraState::Network::LocalInterfaces>::value,
int>::type = 0>
2216 return m_localInterfaces;
2219 template<size_t i, typename std::enable_if<i == 0, int>::type = 0>
2225 template<size_t i, typename std::enable_if<i == 1, int>::type = 0>
2228 return m_localInterfaces;
2232 template<
typename F>
2236 f(m_localInterfaces);
2240 template<
typename F>
2244 f(m_localInterfaces);
2263 void setFromString(
const std::string &value);
2265 void setFromString(
const std::string &fullPath,
const std::string &value);
2267 std::string getString(
const std::string &fullPath)
const;
2272 friend struct DataModel::Detail::Befriend<
Network>;
2318 static constexpr const char *path{
"Status" };
2321 static constexpr const char *name{
"Status" };
2324 static constexpr const char *description{
2325 R
"description(This enum describes the current status of this camera. The enum can have the following values:
2327* `inaccessible`: The camera was discovered, but the SDK is not able to connect to this camera. This can
2328 be because the IP settings of the camera and the PC are not compatible, or because there are several
2329 cameras with the same IP connected to your PC. The `InaccessibleReason` enum will give you more
2330 details about why this camera is not accessible. The network configuration of the camera can be changed
2331 using the ZividNetworkCameraConfigurator CLI tool. See the knowledge base for more information.
2333* `busy`: The camera is currently in use by another process. This can be a different process on the same
2334 PC, or on a different PC if the camera is shared on a network.
2336* `applyingNetworkConfiguration`: The camera network configuration is being changed by the current process.
2338* `firmwareUpdateRequired`: The camera is accessible, but requires a firmware update before you can connect
2341* `updatingFirmware`: The camera firmware is currently being updated in the current process.
2343* `available`: The camera is available for use by the current process. This means that you can invoke
2344 camera.connect() on this camera.
2346* `connecting`: The camera is currently connecting in the current process.
2348* `connected`: The camera is connected in the current process. This means camera.connect() has successfully
2349 completed and you can capture using this camera.
2351* `disconnecting`: The camera is currently disconnecting in the current process. When disconnection has
2352 completed, the camera will normally go back to the `available` state.
2354* `disappeared`: The camera was found earlier, but it can no longer be found. The connection between the
2355 PC and the camera may be disrupted, or the camera may have lost power. When in `disappeared` state, the
2356 camera will not be returned from `Application::cameras()`. The camera will go back to one of the other
2357 states if the camera is later found again.
2366 applyingNetworkConfiguration,
2367 firmwareUpdateRequired,
2389 return { ValueType::inaccessible,
2391 ValueType::applyingNetworkConfiguration,
2392 ValueType::firmwareUpdateRequired,
2393 ValueType::updatingFirmware,
2394 ValueType::available,
2395 ValueType::connecting,
2396 ValueType::connected,
2397 ValueType::disconnecting,
2398 ValueType::disappeared };
2406 : m_value{ verifyValue(value) }
2424 return m_value == other.m_value;
2430 return m_value != other.m_value;
2440 void setFromString(
const std::string &value);
2442 constexpr ValueType
static verifyValue(
const ValueType &value)
2444 return value == ValueType::inaccessible || value == ValueType::busy
2445 || value == ValueType::applyingNetworkConfiguration
2446 || value == ValueType::firmwareUpdateRequired || value == ValueType::updatingFirmware
2447 || value == ValueType::available || value == ValueType::connecting
2448 || value == ValueType::connected || value == ValueType::disconnecting
2449 || value == ValueType::disappeared
2451 :
throw std::invalid_argument{
2452 "Invalid value: Status{ "
2453 + std::to_string(
static_cast<std::underlying_type<ValueType>::type
>(value)) +
" }"
2459 friend struct DataModel::Detail::Befriend<
Status>;
2472 static constexpr const char *path{
"Temperature" };
2475 static constexpr const char *name{
"Temperature" };
2478 static constexpr const char *description{ R
"description(Current temperature(s))description" };
2490 static constexpr const char *path{
"Temperature/DMD" };
2493 static constexpr const char *name{
"DMD" };
2496 static constexpr const char *description{ R
"description(DMD temperature)description" };
2504 return { std::numeric_limits<double>::lowest(), std::numeric_limits<double>::max() };
2511 explicit constexpr DMD(
double value)
2524 return m_value == other.m_value;
2530 return m_value != other.m_value;
2536 return m_value < other.m_value;
2542 return m_value > other.m_value;
2548 return m_value <= other.m_value;
2554 return m_value >= other.m_value;
2564 void setFromString(
const std::string &value);
2566 double m_value{ 0.0 };
2568 friend struct DataModel::Detail::Befriend<
DMD>;
2581 static constexpr const char *path{
"Temperature/General" };
2584 static constexpr const char *name{
"General" };
2587 static constexpr const char *description{ R
"description(General temperature)description" };
2595 return { std::numeric_limits<double>::lowest(), std::numeric_limits<double>::max() };
2615 return m_value == other.m_value;
2621 return m_value != other.m_value;
2627 return m_value < other.m_value;
2633 return m_value > other.m_value;
2639 return m_value <= other.m_value;
2645 return m_value >= other.m_value;
2655 void setFromString(
const std::string &value);
2657 double m_value{ 0.0 };
2659 friend struct DataModel::Detail::Befriend<
General>;
2672 static constexpr const char *path{
"Temperature/LED" };
2675 static constexpr const char *name{
"LED" };
2678 static constexpr const char *description{ R
"description(LED temperature)description" };
2686 return { std::numeric_limits<double>::lowest(), std::numeric_limits<double>::max() };
2693 explicit constexpr LED(
double value)
2706 return m_value == other.m_value;
2712 return m_value != other.m_value;
2718 return m_value < other.m_value;
2724 return m_value > other.m_value;
2730 return m_value <= other.m_value;
2736 return m_value >= other.m_value;
2746 void setFromString(
const std::string &value);
2748 double m_value{ 0.0 };
2750 friend struct DataModel::Detail::Befriend<
LED>;
2763 static constexpr const char *path{
"Temperature/Lens" };
2766 static constexpr const char *name{
"Lens" };
2769 static constexpr const char *description{ R
"description(Lens temperature)description" };
2777 return { std::numeric_limits<double>::lowest(), std::numeric_limits<double>::max() };
2784 explicit constexpr Lens(
double value)
2797 return m_value == other.m_value;
2803 return m_value != other.m_value;
2809 return m_value < other.m_value;
2815 return m_value > other.m_value;
2821 return m_value <= other.m_value;
2827 return m_value >= other.m_value;
2837 void setFromString(
const std::string &value);
2839 double m_value{ 0.0 };
2841 friend struct DataModel::Detail::Befriend<
Lens>;
2854 static constexpr const char *path{
"Temperature/PCB" };
2857 static constexpr const char *name{
"PCB" };
2860 static constexpr const char *description{ R
"description(PCB temperature)description" };
2868 return { std::numeric_limits<double>::lowest(), std::numeric_limits<double>::max() };
2875 explicit constexpr PCB(
double value)
2888 return m_value == other.m_value;
2894 return m_value != other.m_value;
2900 return m_value < other.m_value;
2906 return m_value > other.m_value;
2912 return m_value <= other.m_value;
2918 return m_value >= other.m_value;
2928 void setFromString(
const std::string &value);
2930 double m_value{ 0.0 };
2932 friend struct DataModel::Detail::Befriend<
PCB>;
2963 typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0,
2964 typename std::enable_if<
2965 Zivid::Detail::TypeTraits::AllArgsAreInTuple<
Descendants,
typename std::decay<Args>::type...>::
2969 template<typename... Args>
2973 using namespace Zivid::Detail::TypeTraits;
2976 AllArgsDecayedAreUnique<Args...>::value,
2977 "Found duplicate types among the arguments passed to Temperature(...). "
2978 "Types should be listed at most once.");
2980 set(std::forward<Args>(args)...);
2998 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 2,
int>::type = 0>
3000 template<typename... Args>
3004 using namespace Zivid::Detail::TypeTraits;
3006 using AllArgsAreDescendantNodes = AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
3008 AllArgsAreDescendantNodes::value,
"All arguments passed to set(...) must be descendant nodes.");
3011 AllArgsDecayedAreUnique<Args...>::value,
3012 "Found duplicate types among the arguments passed to set(...). "
3013 "Types should be listed at most once.");
3015 Zivid::DataModel::Detail::invokeSetWithEachArgument(*
this, std::forward<Args>(args)...);
3034 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0>
3036 template<typename... Args>
3040 using namespace Zivid::Detail::TypeTraits;
3042 using AllArgsAreDescendantNodes = AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
3044 AllArgsAreDescendantNodes::value,
3045 "All arguments passed to copyWith(...) must be descendant nodes.");
3048 AllArgsDecayedAreUnique<Args...>::value,
3049 "Found duplicate types among the arguments passed to copyWith(...). "
3050 "Types should be listed at most once.");
3053 copy.set(std::forward<Args>(args)...);
3154 typename std::enable_if<std::is_same<T, CameraState::Temperature::DMD>::value,
int>::type = 0>
3162 typename std::enable_if<std::is_same<T, CameraState::Temperature::General>::value,
int>::type = 0>
3170 typename std::enable_if<std::is_same<T, CameraState::Temperature::LED>::value,
int>::type = 0>
3178 typename std::enable_if<std::is_same<T, CameraState::Temperature::Lens>::value,
int>::type = 0>
3186 typename std::enable_if<std::is_same<T, CameraState::Temperature::PCB>::value,
int>::type = 0>
3192 template<size_t i, typename std::enable_if<i == 0, int>::type = 0>
3198 template<size_t i, typename std::enable_if<i == 1, int>::type = 0>
3204 template<size_t i, typename std::enable_if<i == 2, int>::type = 0>
3210 template<size_t i, typename std::enable_if<i == 3, int>::type = 0>
3216 template<size_t i, typename std::enable_if<i == 4, int>::type = 0>
3223 template<
typename F>
3234 template<
typename F>
3260 void setFromString(
const std::string &value);
3262 void setFromString(
const std::string &fullPath,
const std::string &value);
3264 std::string getString(
const std::string &fullPath)
const;
3272 friend struct DataModel::Detail::Befriend<
Temperature>;
3338 typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0,
3339 typename std::enable_if<
3340 Zivid::Detail::TypeTraits::AllArgsAreInTuple<
Descendants,
typename std::decay<Args>::type...>::value,
3343 template<typename... Args>
3347 using namespace Zivid::Detail::TypeTraits;
3350 AllArgsDecayedAreUnique<Args...>::value,
3351 "Found duplicate types among the arguments passed to CameraState(...). "
3352 "Types should be listed at most once.");
3354 set(std::forward<Args>(args)...);
3381 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 2,
int>::type = 0>
3383 template<typename... Args>
3387 using namespace Zivid::Detail::TypeTraits;
3389 using AllArgsAreDescendantNodes = AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
3391 AllArgsAreDescendantNodes::value,
"All arguments passed to set(...) must be descendant nodes.");
3394 AllArgsDecayedAreUnique<Args...>::value,
3395 "Found duplicate types among the arguments passed to set(...). "
3396 "Types should be listed at most once.");
3398 Zivid::DataModel::Detail::invokeSetWithEachArgument(*
this, std::forward<Args>(args)...);
3426 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0>
3428 template<typename... Args>
3432 using namespace Zivid::Detail::TypeTraits;
3434 using AllArgsAreDescendantNodes = AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
3436 AllArgsAreDescendantNodes::value,
"All arguments passed to copyWith(...) must be descendant nodes.");
3439 AllArgsDecayedAreUnique<Args...>::value,
3440 "Found duplicate types among the arguments passed to copyWith(...). "
3441 "Types should be listed at most once.");
3444 copy.set(std::forward<Args>(args)...);
3463 m_available = value;
3482 m_connected = value;
3489 return m_inaccessibleReason;
3495 return m_inaccessibleReason;
3501 m_inaccessibleReason = value;
3527 m_network.
set(value);
3534 m_network.
set(value);
3541 m_network.
set(value);
3567 return m_temperature;
3573 return m_temperature;
3579 m_temperature = value;
3586 m_temperature.
set(value);
3593 m_temperature.
set(value);
3600 m_temperature.
set(value);
3607 m_temperature.
set(value);
3614 m_temperature.
set(value);
3618 template<typename T, typename std::enable_if<std::is_same<T, CameraState::Available>::value,
int>::type = 0>
3624 template<typename T, typename std::enable_if<std::is_same<T, CameraState::Connected>::value,
int>::type = 0>
3632 typename std::enable_if<std::is_same<T, CameraState::InaccessibleReason>::value,
int>::type = 0>
3635 return m_inaccessibleReason;
3638 template<typename T, typename std::enable_if<std::is_same<T, CameraState::Network>::value,
int>::type = 0>
3644 template<typename T, typename std::enable_if<std::is_same<T, CameraState::Network::IPV4>::value,
int>::type = 0>
3652 typename std::enable_if<std::is_same<T, CameraState::Network::IPV4::Address>::value,
int>::type = 0>
3660 typename std::enable_if<std::is_same<T, CameraState::Network::LocalInterfaces>::value,
int>::type = 0>
3666 template<typename T, typename std::enable_if<std::is_same<T, CameraState::Status>::value,
int>::type = 0>
3672 template<typename T, typename std::enable_if<std::is_same<T, CameraState::Temperature>::value,
int>::type = 0>
3675 return m_temperature;
3680 typename std::enable_if<std::is_same<T, CameraState::Temperature::DMD>::value,
int>::type = 0>
3688 typename std::enable_if<std::is_same<T, CameraState::Temperature::General>::value,
int>::type = 0>
3696 typename std::enable_if<std::is_same<T, CameraState::Temperature::LED>::value,
int>::type = 0>
3704 typename std::enable_if<std::is_same<T, CameraState::Temperature::Lens>::value,
int>::type = 0>
3712 typename std::enable_if<std::is_same<T, CameraState::Temperature::PCB>::value,
int>::type = 0>
3718 template<size_t i, typename std::enable_if<i == 0, int>::type = 0>
3724 template<size_t i, typename std::enable_if<i == 1, int>::type = 0>
3730 template<size_t i, typename std::enable_if<i == 2, int>::type = 0>
3733 return m_inaccessibleReason;
3736 template<size_t i, typename std::enable_if<i == 3, int>::type = 0>
3742 template<size_t i, typename std::enable_if<i == 4, int>::type = 0>
3748 template<size_t i, typename std::enable_if<i == 5, int>::type = 0>
3751 return m_temperature;
3755 template<
typename F>
3760 f(m_inaccessibleReason);
3767 template<
typename F>
3772 f(m_inaccessibleReason);
3794 void save(
const std::string &fileName)
const;
3797 void load(
const std::string &fileName);
3800 void setFromString(
const std::string &value);
3802 void setFromString(
const std::string &fullPath,
const std::string &value);
3804 std::string getString(
const std::string &fullPath)
const;
3813 friend struct DataModel::Detail::Befriend<
CameraState>;
3818 struct CameraState::Version<7>
3841# pragma warning(pop)
3845# if !(defined(_MSC_VER) && (_MSC_VER <= 1900))
3850 struct tuple_size<
Zivid::CameraState::Network> : integral_constant<size_t, 2>
3854 struct tuple_element<i,
Zivid::CameraState::Network>
3856 static_assert(i < tuple_size<Zivid::CameraState::Network>::value,
"Index must be less than 2");
3859 =
decltype(declval<Zivid::CameraState::Network>().get<i>());
3863 struct tuple_size<
Zivid::CameraState::Network::IPV4> : integral_constant<size_t, 1>
3867 struct tuple_element<i,
Zivid::CameraState::Network::IPV4>
3869 static_assert(i < tuple_size<Zivid::CameraState::Network::IPV4>::value,
"Index must be less than 1");
3872 =
decltype(declval<Zivid::CameraState::Network::IPV4>().get<i>());
3876 struct tuple_size<
Zivid::CameraState::Temperature> : integral_constant<size_t, 5>
3880 struct tuple_element<i,
Zivid::CameraState::Temperature>
3882 static_assert(i < tuple_size<Zivid::CameraState::Temperature>::value,
"Index must be less than 5");
3885 =
decltype(declval<Zivid::CameraState::Temperature>().get<i>());
3889 struct tuple_size<
Zivid::CameraState> : integral_constant<size_t, 6>
3893 struct tuple_element<i,
Zivid::CameraState>
3895 static_assert(i < tuple_size<Zivid::CameraState>::value,
"Index must be less than 6");
3898 =
decltype(declval<Zivid::CameraState>().get<i>());
3907#if defined(__has_include) && !defined(NO_DOC)
3908# if __has_include("Zivid/CameraStateInternal.h") && __has_include("Zivid/DataModelNodeMetaData.h")
3909# include "Zivid/CameraStateInternal.h"
#define ZIVID_CORE_EXPORT
Definition CoreExport.h:56
Flag if camera is physically connected to the computer and is available for use, but not connected in...
Definition CameraState.h:116
static std::set< bool > validValues()
All valid values of Available.
Definition CameraState.h:141
static const Available no
Off/disabled.
Definition CameraState.h:138
bool operator==(const Available &other) const
Comparison operator.
Definition CameraState.h:167
std::string toString() const
Get the value as string.
bool ValueType
The type of the underlying value.
Definition CameraState.h:136
static const Available yes
On/enabled.
Definition CameraState.h:137
friend std::ostream & operator<<(std::ostream &stream, const Available &value)
Operator to serialize the value to a stream.
Definition CameraState.h:179
bool operator!=(const Available &other) const
Comparison operator.
Definition CameraState.h:173
constexpr Available(bool value)
Constructor.
Definition CameraState.h:150
bool value() const
Get the value.
Available()=default
Default constructor.
Flag if camera is connected in software. This bool is true when the Status value is connected....
Definition CameraState.h:198
Connected()=default
Default constructor.
static const Connected yes
On/enabled.
Definition CameraState.h:218
static const Connected no
Off/disabled.
Definition CameraState.h:219
bool operator!=(const Connected &other) const
Comparison operator.
Definition CameraState.h:254
constexpr Connected(bool value)
Constructor.
Definition CameraState.h:231
bool value() const
Get the value.
std::string toString() const
Get the value as string.
friend std::ostream & operator<<(std::ostream &stream, const Connected &value)
Operator to serialize the value to a stream.
Definition CameraState.h:260
static std::set< bool > validValues()
All valid values of Connected.
Definition CameraState.h:222
bool operator==(const Connected &other) const
Comparison operator.
Definition CameraState.h:248
bool ValueType
The type of the underlying value.
Definition CameraState.h:217
If the camera status is inaccessible, then this enum value will give you the reason.
Definition CameraState.h:277
static const InaccessibleReason ipNotInLocalSubnet
ipNotInLocalSubnet
Definition CameraState.h:303
constexpr InaccessibleReason(ValueType value)
Constructor.
Definition CameraState.h:319
bool hasValue() const
Check if the value is set.
static const InaccessibleReason ipConflictWithAnotherCamera
ipConflictWithAnotherCamera
Definition CameraState.h:301
friend std::ostream & operator<<(std::ostream &stream, const InaccessibleReason::ValueType &value)
Operator to serialize ValueType to a stream.
Definition CameraState.h:339
bool operator==(const InaccessibleReason &other) const
Comparison operator.
Definition CameraState.h:345
std::string toString() const
Get the value as string.
friend std::ostream & operator<<(std::ostream &stream, const InaccessibleReason &value)
Operator to serialize the value to a stream.
Definition CameraState.h:357
static const InaccessibleReason ipConflictWithLocalNetworkAdapter
ipConflictWithLocalNetworkAdapter
Definition CameraState.h:302
InaccessibleReason()=default
Default constructor.
static const InaccessibleReason ipInMultipleLocalSubnets
ipInMultipleLocalSubnets
Definition CameraState.h:304
ValueType
The type of the underlying value.
Definition CameraState.h:295
ValueType value() const
Get the value.
void reset()
Reset the node to unset state.
bool operator!=(const InaccessibleReason &other) const
Comparison operator.
Definition CameraState.h:351
static std::set< ValueType > validValues()
All valid values of InaccessibleReason.
Definition CameraState.h:307
Current IPv4 address.
Definition CameraState.h:1593
Address()=default
Default constructor.
bool operator<(const Address &other) const
Comparison operator.
Definition CameraState.h:1643
bool operator==(const Address &other) const
Comparison operator.
Definition CameraState.h:1631
bool operator<=(const Address &other) const
Comparison operator.
Definition CameraState.h:1655
static constexpr Range< ValueType::size_type > validSize()
The valid sizes for Address.
Definition CameraState.h:1611
bool operator>(const Address &other) const
Comparison operator.
Definition CameraState.h:1649
bool operator!=(const Address &other) const
Comparison operator.
Definition CameraState.h:1637
const std::string & value() const
Get the value.
friend std::ostream & operator<<(std::ostream &stream, const Address &value)
Operator to serialize the value to a stream.
Definition CameraState.h:1667
bool operator>=(const Address &other) const
Comparison operator.
Definition CameraState.h:1661
Address(std::string value)
Constructor.
Definition CameraState.h:1620
std::string toString() const
Get the value as string.
std::string ValueType
The type of the underlying value.
Definition CameraState.h:1608
Current IPv4 protocol state.
Definition CameraState.h:1575
IPV4()
Default constructor.
void set(Args &&...args)
Set multiple arguments.
Definition CameraState.h:1734
void forEach(const F &f) const
Run the given function on each direct member with the value of the member as parameter.
Definition CameraState.h:1822
const Address & address() const
Get Address.
Definition CameraState.h:1788
friend std::ostream & operator<<(std::ostream &stream, const IPV4 &value)
Operator to send the value as string to a stream.
Definition CameraState.h:1844
IPV4 copyWith(Args &&...args) const
Returns a copy of this object with the given argument(s) set to the new value(s)
Definition CameraState.h:1767
const CameraState::Network::IPV4::Address & get() const
Definition CameraState.h:1809
bool operator==(const IPV4 &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 CameraState.h:1829
IPV4 & set(const Address &value)
Set Address.
Definition CameraState.h:1800
std::string toString() const
Get the value as string.
std::tuple< CameraState::Network::IPV4::Address > Descendants
Definition CameraState.h:1680
Address & address()
Get Address.
Definition CameraState.h:1794
bool operator!=(const IPV4 &other) const
Inequality operator.
IP address of the computer's local network interface.
Definition CameraState.h:468
bool operator>=(const Address &other) const
Comparison operator.
Definition CameraState.h:538
bool operator<(const Address &other) const
Comparison operator.
Definition CameraState.h:520
bool operator<=(const Address &other) const
Comparison operator.
Definition CameraState.h:532
std::string ValueType
The type of the underlying value.
Definition CameraState.h:485
static constexpr Range< ValueType::size_type > validSize()
The valid sizes for Address.
Definition CameraState.h:488
std::string toString() const
Get the value as string.
friend std::ostream & operator<<(std::ostream &stream, const Address &value)
Operator to serialize the value to a stream.
Definition CameraState.h:544
const std::string & value() const
Get the value.
Address(std::string value)
Constructor.
Definition CameraState.h:497
bool operator!=(const Address &other) const
Comparison operator.
Definition CameraState.h:514
bool operator>(const Address &other) const
Comparison operator.
Definition CameraState.h:526
Address()=default
Default constructor.
bool operator==(const Address &other) const
Comparison operator.
Definition CameraState.h:508
Subnet mask of the computer's local network interface.
Definition CameraState.h:561
bool operator!=(const Mask &other) const
Comparison operator.
Definition CameraState.h:607
bool operator>=(const Mask &other) const
Comparison operator.
Definition CameraState.h:631
Mask(std::string value)
Constructor.
Definition CameraState.h:590
friend std::ostream & operator<<(std::ostream &stream, const Mask &value)
Operator to serialize the value to a stream.
Definition CameraState.h:637
bool operator==(const Mask &other) const
Comparison operator.
Definition CameraState.h:601
bool operator>(const Mask &other) const
Comparison operator.
Definition CameraState.h:619
bool operator<(const Mask &other) const
Comparison operator.
Definition CameraState.h:613
bool operator<=(const Mask &other) const
Comparison operator.
Definition CameraState.h:625
Mask()=default
Default constructor.
std::string toString() const
Get the value as string.
static constexpr Range< ValueType::size_type > validSize()
The valid sizes for Mask.
Definition CameraState.h:581
std::string ValueType
The type of the underlying value.
Definition CameraState.h:578
const std::string & value() const
Get the value.
An IPv4 subnet that the local network interface is connected to.
Definition CameraState.h:447
std::string toString() const
Get the value as string.
Subnet copyWith(Args &&...args) const
Returns a copy of this object with the given argument(s) set to the new value(s)
Definition CameraState.h:743
const Mask & mask() const
Get Mask.
Definition CameraState.h:783
void set(Args &&...args)
Set multiple arguments.
Definition CameraState.h:708
const CameraState::Network::LocalInterface::IPV4::Subnet::Address & get() const
Definition CameraState.h:806
Subnet()
Default constructor.
bool operator!=(const Subnet &other) const
Inequality operator.
Mask & mask()
Get Mask.
Definition CameraState.h:789
std::tuple< CameraState::Network::LocalInterface::IPV4::Subnet::Address, CameraState::Network::LocalInterface::IPV4::Subnet::Mask > Descendants
Definition CameraState.h:650
bool operator==(const Subnet &other) const
Equality operator.
friend std::ostream & operator<<(std::ostream &stream, const Subnet &value)
Operator to send the value as string to a stream.
Definition CameraState.h:859
const CameraState::Network::LocalInterface::IPV4::Subnet::Mask & get() const
Definition CameraState.h:816
const Address & address() const
Get Address.
Definition CameraState.h:764
void forEach(const F &f)
Run the given function on each direct member with the value of the member as parameter.
Definition CameraState.h:843
Subnet & set(const Address &value)
Set Address.
Definition CameraState.h:776
void forEach(const F &f) const
Run the given function on each direct member with the value of the member as parameter.
Definition CameraState.h:835
Subnet & set(const Mask &value)
Set Mask.
Definition CameraState.h:795
Address & address()
Get Address.
Definition CameraState.h:770
List of IPv4 addresses and subnet masks that the interface is configured with. This list can contain ...
Definition CameraState.h:884
CameraState::Network::LocalInterface::IPV4::Subnet & operator[](std::size_t pos)
Returns a reference to the element at position pos in the list.
bool operator!=(const Subnets &other) const
Comparison operator.
Definition CameraState.h:1029
std::vector< CameraState::Network::LocalInterface::IPV4::Subnet > ValueType
The type of the underlying value.
Definition CameraState.h:904
Subnets(std::vector< CameraState::Network::LocalInterface::IPV4::Subnet > value)
Constructor.
Definition CameraState.h:916
std::string toString() const
Get the value as string.
const CameraState::Network::LocalInterface::IPV4::Subnet & at(std::size_t pos) const
Returns a const reference to the element at position pos in the list.
Subnets(std::initializer_list< CameraState::Network::LocalInterface::IPV4::Subnet > value)
Constructor.
Definition CameraState.h:921
void forEach(const F &f)
Run the given function on each element in the list.
Definition CameraState.h:979
friend std::ostream & operator<<(std::ostream &stream, const Subnets &value)
Operator to serialize the value to a stream.
Definition CameraState.h:1035
std::vector< CameraState::Network::LocalInterface::IPV4::Subnet >::const_iterator ConstIterator
Constant iterator type for Subnets.
Definition CameraState.h:1007
std::size_t size() const noexcept
Get the size of the list.
CameraState::Network::LocalInterface::IPV4::Subnet & at(std::size_t pos)
Returns a reference to the element at position pos in the list.
Subnets()=default
Default constructor.
const CameraState::Network::LocalInterface::IPV4::Subnet & operator[](std::size_t pos) const
Returns a const reference to the element at position pos in the list.
std::vector< CameraState::Network::LocalInterface::IPV4::Subnet >::iterator Iterator
Iterator type for Subnets.
Definition CameraState.h:998
static constexpr Range< ValueType::size_type > validSize()
The valid sizes for Subnets.
Definition CameraState.h:907
void forEach(const F &f) const
Run the given function on each element in the list.
Definition CameraState.h:989
const std::vector< CameraState::Network::LocalInterface::IPV4::Subnet > & value() const
Get the value.
Iterator begin() noexcept
Returns an iterator to the first element of the list.
Current IPv4 protocol state of the computer's local network interface.
Definition CameraState.h:426
const Subnets & subnets() const
Get Subnets.
Definition CameraState.h:1157
IPV4 copyWith(Args &&...args) const
Returns a copy of this object with the given argument(s) set to the new value(s)
Definition CameraState.h:1136
const CameraState::Network::LocalInterface::IPV4::Subnets & get() const
Definition CameraState.h:1180
std::tuple< CameraState::Network::LocalInterface::IPV4::Subnets > Descendants
Definition CameraState.h:1048
friend std::ostream & operator<<(std::ostream &stream, const IPV4 &value)
Operator to send the value as string to a stream.
Definition CameraState.h:1215
void forEach(const F &f) const
Run the given function on each direct member with the value of the member as parameter.
Definition CameraState.h:1193
IPV4()
Default constructor.
bool operator!=(const IPV4 &other) const
Inequality operator.
void set(Args &&...args)
Set multiple arguments.
Definition CameraState.h:1102
bool operator==(const IPV4 &other) const
Equality operator.
std::string toString() const
Get the value as string.
void forEach(const F &f)
Run the given function on each direct member with the value of the member as parameter.
Definition CameraState.h:1200
IPV4 & set(const Subnets &value)
Set Subnets.
Definition CameraState.h:1169
Subnets & subnets()
Get Subnets.
Definition CameraState.h:1163
Name of the computer's local network interface.
Definition CameraState.h:1236
bool operator==(const InterfaceName &other) const
Comparison operator.
Definition CameraState.h:1276
std::string ValueType
The type of the underlying value.
Definition CameraState.h:1253
const std::string & value() const
Get the value.
static constexpr Range< ValueType::size_type > validSize()
The valid sizes for InterfaceName.
Definition CameraState.h:1256
InterfaceName(std::string value)
Constructor.
Definition CameraState.h:1265
bool operator<=(const InterfaceName &other) const
Comparison operator.
Definition CameraState.h:1300
friend std::ostream & operator<<(std::ostream &stream, const InterfaceName &value)
Operator to serialize the value to a stream.
Definition CameraState.h:1312
bool operator>(const InterfaceName &other) const
Comparison operator.
Definition CameraState.h:1294
bool operator<(const InterfaceName &other) const
Comparison operator.
Definition CameraState.h:1288
InterfaceName()=default
Default constructor.
std::string toString() const
Get the value as string.
bool operator!=(const InterfaceName &other) const
Comparison operator.
Definition CameraState.h:1282
bool operator>=(const InterfaceName &other) const
Comparison operator.
Definition CameraState.h:1306
Current state of the computer's local network interface.
Definition CameraState.h:405
const CameraState::Network::LocalInterface::IPV4::Subnets & get() const
Definition CameraState.h:1500
bool operator!=(const LocalInterface &other) const
Inequality operator.
LocalInterface()
Default constructor.
std::tuple< CameraState::Network::LocalInterface::IPV4, CameraState::Network::LocalInterface::IPV4::Subnets, CameraState::Network::LocalInterface::InterfaceName > Descendants
Definition CameraState.h:1325
InterfaceName & interfaceName()
Get InterfaceName.
Definition CameraState.h:1474
bool operator==(const LocalInterface &other) const
Equality operator.
LocalInterface & set(const IPV4::Subnets &value)
Set IPV4::Subnets.
Definition CameraState.h:1461
void forEach(const F &f)
Run the given function on each direct member with the value of the member as parameter.
Definition CameraState.h:1537
LocalInterface copyWith(Args &&...args) const
Returns a copy of this object with the given argument(s) set to the new value(s)
Definition CameraState.h:1421
std::string toString() const
Get the value as string.
const InterfaceName & interfaceName() const
Get InterfaceName.
Definition CameraState.h:1468
const IPV4 & ipv4() const
Get IPV4.
Definition CameraState.h:1442
void forEach(const F &f) const
Run the given function on each direct member with the value of the member as parameter.
Definition CameraState.h:1529
void set(Args &&...args)
Set multiple arguments.
Definition CameraState.h:1386
friend std::ostream & operator<<(std::ostream &stream, const LocalInterface &value)
Operator to send the value as string to a stream.
Definition CameraState.h:1553
const CameraState::Network::LocalInterface::IPV4 & get() const
Definition CameraState.h:1490
LocalInterface & set(const InterfaceName &value)
Set InterfaceName.
Definition CameraState.h:1480
IPV4 & ipv4()
Get IPV4.
Definition CameraState.h:1448
const CameraState::Network::LocalInterface::InterfaceName & get() const
Definition CameraState.h:1510
LocalInterface & set(const IPV4 &value)
Set IPV4.
Definition CameraState.h:1454
List of the computer's local network interfaces that discovered the camera. In the most common scenar...
Definition CameraState.h:1871
std::vector< CameraState::Network::LocalInterface >::iterator Iterator
Iterator type for LocalInterfaces.
Definition CameraState.h:1987
bool operator!=(const LocalInterfaces &other) const
Comparison operator.
Definition CameraState.h:2017
const std::vector< CameraState::Network::LocalInterface > & value() const
Get the value.
CameraState::Network::LocalInterface & operator[](std::size_t pos)
Returns a reference to the element at position pos in the list.
std::string toString() const
Get the value as string.
LocalInterfaces()=default
Default constructor.
std::vector< CameraState::Network::LocalInterface > ValueType
The type of the underlying value.
Definition CameraState.h:1894
LocalInterfaces(std::initializer_list< CameraState::Network::LocalInterface > value)
Constructor.
Definition CameraState.h:1911
const CameraState::Network::LocalInterface & operator[](std::size_t pos) const
Returns a const reference to the element at position pos in the list.
static constexpr Range< ValueType::size_type > validSize()
The valid sizes for LocalInterfaces.
Definition CameraState.h:1897
Iterator begin() noexcept
Returns an iterator to the first element of the list.
const CameraState::Network::LocalInterface & at(std::size_t pos) const
Returns a const reference to the element at position pos in the list.
LocalInterfaces(std::vector< CameraState::Network::LocalInterface > value)
Constructor.
Definition CameraState.h:1906
void forEach(const F &f) const
Run the given function on each element in the list.
Definition CameraState.h:1978
std::vector< CameraState::Network::LocalInterface >::const_iterator ConstIterator
Constant iterator type for LocalInterfaces.
Definition CameraState.h:1996
void forEach(const F &f)
Run the given function on each element in the list.
Definition CameraState.h:1968
CameraState::Network::LocalInterface & at(std::size_t pos)
Returns a reference to the element at position pos in the list.
std::size_t size() const noexcept
Get the size of the list.
friend std::ostream & operator<<(std::ostream &stream, const LocalInterfaces &value)
Operator to serialize the value to a stream.
Definition CameraState.h:2023
Current network state.
Definition CameraState.h:386
void set(Args &&...args)
Set multiple arguments.
Definition CameraState.h:2097
const LocalInterfaces & localInterfaces() const
Get LocalInterfaces.
Definition CameraState.h:2177
std::string toString() const
Get the value as string.
friend std::ostream & operator<<(std::ostream &stream, const Network &value)
Operator to send the value as string to a stream.
Definition CameraState.h:2257
const CameraState::Network::LocalInterfaces & get() const
Definition CameraState.h:2214
std::tuple< CameraState::Network::IPV4, CameraState::Network::IPV4::Address, CameraState::Network::LocalInterfaces > Descendants
Definition CameraState.h:2036
bool operator==(const Network &other) const
Equality operator.
LocalInterfaces & localInterfaces()
Get LocalInterfaces.
Definition CameraState.h:2183
Network()
Default constructor.
Network & set(const IPV4 &value)
Set IPV4.
Definition CameraState.h:2163
Network copyWith(Args &&...args) const
Returns a copy of this object with the given argument(s) set to the new value(s)
Definition CameraState.h:2131
const CameraState::Network::IPV4::Address & get() const
Definition CameraState.h:2206
Network & set(const LocalInterfaces &value)
Set LocalInterfaces.
Definition CameraState.h:2189
const CameraState::Network::IPV4 & get() const
Definition CameraState.h:2198
Network & set(const IPV4::Address &value)
Set IPV4::Address.
Definition CameraState.h:2170
void forEach(const F &f)
Run the given function on each direct member with the value of the member as parameter.
Definition CameraState.h:2241
IPV4 & ipv4()
Get IPV4.
Definition CameraState.h:2157
bool operator!=(const Network &other) const
Inequality operator.
void forEach(const F &f) const
Run the given function on each direct member with the value of the member as parameter.
Definition CameraState.h:2233
const IPV4 & ipv4() const
Get IPV4.
Definition CameraState.h:2151
This enum describes the current status of this camera. The enum can have the following values:
Definition CameraState.h:2312
constexpr Status(ValueType value)
Constructor.
Definition CameraState.h:2405
static std::set< ValueType > validValues()
All valid values of Status.
Definition CameraState.h:2387
static const Status connected
connected
Definition CameraState.h:2382
static const Status disconnecting
disconnecting
Definition CameraState.h:2383
static const Status inaccessible
inaccessible
Definition CameraState.h:2375
std::string toString() const
Get the value as string.
ValueType
The type of the underlying value.
Definition CameraState.h:2363
static const Status applyingNetworkConfiguration
applyingNetworkConfiguration
Definition CameraState.h:2377
friend std::ostream & operator<<(std::ostream &stream, const Status &value)
Operator to serialize the value to a stream.
Definition CameraState.h:2434
static const Status firmwareUpdateRequired
firmwareUpdateRequired
Definition CameraState.h:2378
ValueType value() const
Get the value.
bool operator!=(const Status &other) const
Comparison operator.
Definition CameraState.h:2428
static const Status connecting
connecting
Definition CameraState.h:2381
bool operator==(const Status &other) const
Comparison operator.
Definition CameraState.h:2422
static const Status busy
busy
Definition CameraState.h:2376
Status()=default
Default constructor.
static const Status available
available
Definition CameraState.h:2380
static const Status updatingFirmware
updatingFirmware
Definition CameraState.h:2379
static const Status disappeared
disappeared
Definition CameraState.h:2384
friend std::ostream & operator<<(std::ostream &stream, const Status::ValueType &value)
Operator to serialize ValueType to a stream.
Definition CameraState.h:2416
DMD temperature.
Definition CameraState.h:2484
bool operator>(const DMD &other) const
Comparison operator.
Definition CameraState.h:2540
std::string toString() const
Get the value as string.
double value() const
Get the value.
bool operator!=(const DMD &other) const
Comparison operator.
Definition CameraState.h:2528
bool operator<(const DMD &other) const
Comparison operator.
Definition CameraState.h:2534
bool operator>=(const DMD &other) const
Comparison operator.
Definition CameraState.h:2552
double ValueType
The type of the underlying value.
Definition CameraState.h:2499
bool operator<=(const DMD &other) const
Comparison operator.
Definition CameraState.h:2546
friend std::ostream & operator<<(std::ostream &stream, const DMD &value)
Operator to serialize the value to a stream.
Definition CameraState.h:2558
constexpr DMD(double value)
Constructor.
Definition CameraState.h:2511
bool operator==(const DMD &other) const
Comparison operator.
Definition CameraState.h:2522
static constexpr Range< double > validRange()
The range of valid values for DMD.
Definition CameraState.h:2502
DMD()=default
Default constructor.
General temperature.
Definition CameraState.h:2575
double ValueType
The type of the underlying value.
Definition CameraState.h:2590
std::string toString() const
Get the value as string.
double value() const
Get the value.
bool operator<(const General &other) const
Comparison operator.
Definition CameraState.h:2625
constexpr General(double value)
Constructor.
Definition CameraState.h:2602
static constexpr Range< double > validRange()
The range of valid values for General.
Definition CameraState.h:2593
bool operator==(const General &other) const
Comparison operator.
Definition CameraState.h:2613
General()=default
Default constructor.
bool operator<=(const General &other) const
Comparison operator.
Definition CameraState.h:2637
bool operator!=(const General &other) const
Comparison operator.
Definition CameraState.h:2619
bool operator>(const General &other) const
Comparison operator.
Definition CameraState.h:2631
friend std::ostream & operator<<(std::ostream &stream, const General &value)
Operator to serialize the value to a stream.
Definition CameraState.h:2649
bool operator>=(const General &other) const
Comparison operator.
Definition CameraState.h:2643
LED temperature.
Definition CameraState.h:2666
bool operator<=(const LED &other) const
Comparison operator.
Definition CameraState.h:2728
std::string toString() const
Get the value as string.
bool operator<(const LED &other) const
Comparison operator.
Definition CameraState.h:2716
double value() const
Get the value.
LED()=default
Default constructor.
constexpr LED(double value)
Constructor.
Definition CameraState.h:2693
friend std::ostream & operator<<(std::ostream &stream, const LED &value)
Operator to serialize the value to a stream.
Definition CameraState.h:2740
bool operator!=(const LED &other) const
Comparison operator.
Definition CameraState.h:2710
bool operator==(const LED &other) const
Comparison operator.
Definition CameraState.h:2704
bool operator>=(const LED &other) const
Comparison operator.
Definition CameraState.h:2734
bool operator>(const LED &other) const
Comparison operator.
Definition CameraState.h:2722
static constexpr Range< double > validRange()
The range of valid values for LED.
Definition CameraState.h:2684
double ValueType
The type of the underlying value.
Definition CameraState.h:2681
Lens temperature.
Definition CameraState.h:2757
double ValueType
The type of the underlying value.
Definition CameraState.h:2772
bool operator==(const Lens &other) const
Comparison operator.
Definition CameraState.h:2795
Lens()=default
Default constructor.
bool operator<=(const Lens &other) const
Comparison operator.
Definition CameraState.h:2819
double value() const
Get the value.
bool operator>(const Lens &other) const
Comparison operator.
Definition CameraState.h:2813
bool operator!=(const Lens &other) const
Comparison operator.
Definition CameraState.h:2801
bool operator>=(const Lens &other) const
Comparison operator.
Definition CameraState.h:2825
std::string toString() const
Get the value as string.
constexpr Lens(double value)
Constructor.
Definition CameraState.h:2784
static constexpr Range< double > validRange()
The range of valid values for Lens.
Definition CameraState.h:2775
bool operator<(const Lens &other) const
Comparison operator.
Definition CameraState.h:2807
friend std::ostream & operator<<(std::ostream &stream, const Lens &value)
Operator to serialize the value to a stream.
Definition CameraState.h:2831
PCB temperature.
Definition CameraState.h:2848
bool operator!=(const PCB &other) const
Comparison operator.
Definition CameraState.h:2892
constexpr PCB(double value)
Constructor.
Definition CameraState.h:2875
static constexpr Range< double > validRange()
The range of valid values for PCB.
Definition CameraState.h:2866
bool operator>=(const PCB &other) const
Comparison operator.
Definition CameraState.h:2916
PCB()=default
Default constructor.
bool operator<=(const PCB &other) const
Comparison operator.
Definition CameraState.h:2910
friend std::ostream & operator<<(std::ostream &stream, const PCB &value)
Operator to serialize the value to a stream.
Definition CameraState.h:2922
bool operator==(const PCB &other) const
Comparison operator.
Definition CameraState.h:2886
double value() const
Get the value.
bool operator>(const PCB &other) const
Comparison operator.
Definition CameraState.h:2904
double ValueType
The type of the underlying value.
Definition CameraState.h:2863
std::string toString() const
Get the value as string.
bool operator<(const PCB &other) const
Comparison operator.
Definition CameraState.h:2898
Current temperature(s)
Definition CameraState.h:2466
DMD & dmd()
Get DMD.
Definition CameraState.h:3064
Temperature & set(const General &value)
Set General.
Definition CameraState.h:3089
const PCB & pcb() const
Get PCB.
Definition CameraState.h:3134
const CameraState::Temperature::Lens & get() const
Definition CameraState.h:3179
Temperature & set(const Lens &value)
Set Lens.
Definition CameraState.h:3127
const CameraState::Temperature::DMD & get() const
Definition CameraState.h:3155
const CameraState::Temperature::PCB & get() const
Definition CameraState.h:3187
const CameraState::Temperature::General & get() const
Definition CameraState.h:3163
Temperature & set(const PCB &value)
Set PCB.
Definition CameraState.h:3146
const General & general() const
Get General.
Definition CameraState.h:3077
bool operator!=(const Temperature &other) const
Inequality operator.
const LED & led() const
Get LED.
Definition CameraState.h:3096
void forEach(const F &f) const
Run the given function on each direct member with the value of the member as parameter.
Definition CameraState.h:3224
friend std::ostream & operator<<(std::ostream &stream, const Temperature &value)
Operator to send the value as string to a stream.
Definition CameraState.h:3254
Temperature & set(const LED &value)
Set LED.
Definition CameraState.h:3108
std::string toString() const
Get the value as string.
LED & led()
Get LED.
Definition CameraState.h:3102
bool operator==(const Temperature &other) const
Equality operator.
const Lens & lens() const
Get Lens.
Definition CameraState.h:3115
Temperature copyWith(Args &&...args) const
Returns a copy of this object with the given argument(s) set to the new value(s)
Definition CameraState.h:3038
General & general()
Get General.
Definition CameraState.h:3083
std::tuple< CameraState::Temperature::DMD, CameraState::Temperature::General, CameraState::Temperature::LED, CameraState::Temperature::Lens, CameraState::Temperature::PCB > Descendants
Definition CameraState.h:2935
void set(Args &&...args)
Set multiple arguments.
Definition CameraState.h:3002
const DMD & dmd() const
Get DMD.
Definition CameraState.h:3058
void forEach(const F &f)
Run the given function on each direct member with the value of the member as parameter.
Definition CameraState.h:3235
const CameraState::Temperature::LED & get() const
Definition CameraState.h:3171
Lens & lens()
Get Lens.
Definition CameraState.h:3121
Temperature()
Default constructor.
Temperature & set(const DMD &value)
Set DMD.
Definition CameraState.h:3070
PCB & pcb()
Get PCB.
Definition CameraState.h:3140
Information about camera connection state, temperatures, etc.
Definition CameraState.h:79
const Temperature & temperature() const
Get Temperature.
Definition CameraState.h:3565
CameraState copyWith(Args &&...args) const
Returns a copy of this object with the given argument(s) set to the new value(s)
Definition CameraState.h:3430
const CameraState::Network::IPV4 & get() const
Definition CameraState.h:3645
const CameraState::Temperature::Lens & get() const
Definition CameraState.h:3705
void load(const std::string &fileName)
Load from the given file.
CameraState(const std::string &fileName)
Construct CameraState by loading from file.
std::string serialize() const
Serialize to a string.
CameraState & set(const Temperature &value)
Set Temperature.
Definition CameraState.h:3577
const CameraState::Connected & get() const
Definition CameraState.h:3625
Temperature & temperature()
Get Temperature.
Definition CameraState.h:3571
const CameraState::Temperature::General & get() const
Definition CameraState.h:3689
std::string toString() const
Get the value as string.
CameraState & set(const Network &value)
Set Network.
Definition CameraState.h:3518
const CameraState::Status & get() const
Definition CameraState.h:3667
const CameraState::InaccessibleReason & get() const
Definition CameraState.h:3633
const CameraState::Available & get() const
Definition CameraState.h:3619
const CameraState::Network::IPV4::Address & get() const
Definition CameraState.h:3653
void forEach(const F &f)
Run the given function on each direct member with the value of the member as parameter.
Definition CameraState.h:3768
void save(const std::string &fileName) const
Save to the given file.
std::tuple< CameraState::Available, CameraState::Connected, CameraState::InaccessibleReason, CameraState::Network, CameraState::Network::IPV4, CameraState::Network::IPV4::Address, CameraState::Network::LocalInterfaces, CameraState::Status, CameraState::Temperature, CameraState::Temperature::DMD, CameraState::Temperature::General, CameraState::Temperature::LED, CameraState::Temperature::Lens, CameraState::Temperature::PCB > Descendants
Definition CameraState.h:3275
const CameraState::Network & get() const
Definition CameraState.h:3639
const CameraState::Temperature::PCB & get() const
Definition CameraState.h:3713
CameraState & set(const Temperature::PCB &value)
Set Temperature::PCB.
Definition CameraState.h:3612
const InaccessibleReason & inaccessibleReason() const
Get InaccessibleReason.
Definition CameraState.h:3487
const CameraState::Temperature::LED & get() const
Definition CameraState.h:3697
CameraState & set(const Temperature::General &value)
Set Temperature::General.
Definition CameraState.h:3591
friend std::ostream & operator<<(std::ostream &stream, const CameraState &value)
Operator to send the value as string to a stream.
Definition CameraState.h:3788
bool operator!=(const CameraState &other) const
Inequality operator.
CameraState & set(const Network::IPV4 &value)
Set Network::IPV4.
Definition CameraState.h:3525
CameraState & set(const Network::IPV4::Address &value)
Set Network::IPV4::Address.
Definition CameraState.h:3532
Status & status()
Get Status.
Definition CameraState.h:3552
const Available & isAvailable() const
Get Available.
Definition CameraState.h:3449
const Status & status() const
Get Status.
Definition CameraState.h:3546
const CameraState::Network::LocalInterfaces & get() const
Definition CameraState.h:3661
Connected & isConnected()
Get Connected.
Definition CameraState.h:3474
CameraState & set(const Temperature::Lens &value)
Set Temperature::Lens.
Definition CameraState.h:3605
CameraState & set(const Available &value)
Set Available.
Definition CameraState.h:3461
CameraState & set(const Temperature::DMD &value)
Set Temperature::DMD.
Definition CameraState.h:3584
bool operator==(const CameraState &other) const
Equality operator.
CameraState()
Default constructor.
CameraState & set(const Status &value)
Set Status.
Definition CameraState.h:3558
CameraState & set(const InaccessibleReason &value)
Set InaccessibleReason.
Definition CameraState.h:3499
CameraState & set(const Connected &value)
Set Connected.
Definition CameraState.h:3480
Network & network()
Get Network.
Definition CameraState.h:3512
CameraState(Args &&...args)
Constructor taking variadic number of arguments.
Definition CameraState.h:3345
const CameraState::Temperature & get() const
Definition CameraState.h:3673
void forEach(const F &f) const
Run the given function on each direct member with the value of the member as parameter.
Definition CameraState.h:3756
static CameraState fromSerialized(const std::string &value)
Construct a new CameraState instance from a previously serialized string.
void set(Args &&...args)
Set multiple arguments.
Definition CameraState.h:3385
InaccessibleReason & inaccessibleReason()
Get InaccessibleReason.
Definition CameraState.h:3493
CameraState & set(const Temperature::LED &value)
Set Temperature::LED.
Definition CameraState.h:3598
const CameraState::Temperature::DMD & get() const
Definition CameraState.h:3681
const Network & network() const
Get Network.
Definition CameraState.h:3506
const Connected & isConnected() const
Get Connected.
Definition CameraState.h:3468
Available & isAvailable()
Get Available.
Definition CameraState.h:3455
CameraState & set(const Network::LocalInterfaces &value)
Set Network::LocalInterfaces.
Definition CameraState.h:3539
Class describing a range of values for a given type T.
Definition Range.h:75
NodeType
Definition NodeType.h:49
Definition EnvironmentInfo.h:74
The main Zivid namespace. All Zivid code is found here.
Definition Application.h:84