12 constexpr Range() : min(0), max(0) {}
13 constexpr Range(T min, T max) : min(min), max(max) {}
23 constexpr Size() : width(0), height(0) {}
24 constexpr Size(
size_t width,
size_t height) : width(width), height(height) {}
25 bool operator==(
const Size& other) {
return width == other.width && height == other.height; }
41 bool operator==(
const ROI& other) {
return width == other.width && height == other.height; }
54enum struct IpAssignmentMethod { Unknown, DHCP, Static, LLA };
56inline static std::string ipAssignmentMethodToString(IpAssignmentMethod type)
59 case IpAssignmentMethod::Static:
61 case IpAssignmentMethod::DHCP:
63 case IpAssignmentMethod::LLA:
65 case IpAssignmentMethod::Unknown:
unsigned upperLeftY
The row coordinate of the upper-left corner of the region of interest.
unsigned upperLeftX
The column coordinate of the upper-left corner of the region of interest.
A size with a width and a height.