218 bool operator==(const
DeviceInfo& rhs) const noexcept;
220 bool operator!=(const
DeviceInfo& rhs) const noexcept;
222 bool operator<(const
DeviceInfo& rhs) const noexcept;
227 std::
string _connectionInterface;
228 std::
string _connectionInterfaceAddress;
236 unsigned long _serialNumber;
237 unsigned short _hardwareRevision;
238 unsigned short _firmwareRevision;
246 _serialNumber = serialNumber;
251 return _serialNumber;
256 return _connectionInterface;
261 _connectionInterfaceAddress = address;
266 return _connectionInterfaceAddress;
271 _deviceIpAddress = ipAddress;
276 return _deviceIpAddress;
281 _targetIpAddress = ipAddress;
286 return _targetIpAddress;
306 return _hardwareRevision;
311 return _firmwareRevision;
326 _deviceMacAddress = macAddress;
331 return _deviceMacAddress;
341 return (_deviceType == rhs._deviceType &&
342 _connectionInterface == rhs._connectionInterface &&
343 _connectionInterfaceAddress == rhs._connectionInterfaceAddress &&
344 _deviceMacAddress == rhs._deviceMacAddress &&
345 _deviceIpAddress == rhs._deviceIpAddress &&
346 _targetIpAddress == rhs._targetIpAddress &&
347 _targetPort == rhs._targetPort &&
348 _serialNumber == rhs._serialNumber &&
349 _hardwareRevision == rhs._hardwareRevision &&
350 _firmwareRevision == rhs._firmwareRevision &&
361 return std::tie(_serialNumber, _connectionInterface) < std::tie(rhs._serialNumber, rhs._connectionInterface);
Contains defines controlling the Windows DLL export and import of symbols.
#define OTC_SDK_API
Only needed when working with Windows DLLs.
Definition Api.h:65
Contains an enum representing the different types of Optris thermal cameras.
Contains a class holding IP v4 address.
Contains a class representing a MAC address.
Contains a class representing an network port.
OTC_SDK_API void setBusy(bool busy) noexcept
Sets the device busy state.
Definition DeviceInfo.h:314
OTC_SDK_API const IpAddress & getTargetIpAddress() const noexcept
Returns the IP address of the streaming target.
Definition DeviceInfo.h:284
OTC_SDK_API void setPort(const Port &port) noexcept
Sets the port.
Definition DeviceInfo.h:289
bool operator!=(const DeviceInfo &rhs) const noexcept
Unequals operator.
Definition DeviceInfo.h:354
OTC_SDK_API const std::string & getConnectionInterfaceAddress() const noexcept
Returns the address of the local connection interface through which the camera is connected.
Definition DeviceInfo.h:264
OTC_SDK_API void setSerialNumber(unsigned long serialNumber) noexcept
Sets the serial number of the device.
Definition DeviceInfo.h:244
OTC_SDK_API void setIpAddress(const IpAddress &ipAddress) noexcept
Sets the IP address.
Definition DeviceInfo.h:269
OTC_SDK_API void setMacAddress(const MacAddress &mac) noexcept
Sets the MAC address.
Definition DeviceInfo.h:324
OTC_SDK_API void setRevisions(unsigned short hardware, unsigned short firmware) noexcept
Sets the hardware and firmware revisions.
OTC_SDK_API void setTargetIpAddress(const IpAddress &ipAddress) noexcept
Sets the IP address of the streaming target.
Definition DeviceInfo.h:279
OTC_SDK_API const std::string & getConnectionInterface() const noexcept
Returns the connection interface of the device.
Definition DeviceInfo.h:254
OTC_SDK_API const MacAddress & getMacAddress() const noexcept
Returns the MAC address.
Definition DeviceInfo.h:329
OTC_SDK_API DeviceInfo clone() const noexcept
Returns a complete copy of this informatin.
Definition DeviceInfo.h:334
OTC_SDK_API const IpAddress & getIpAddress() const noexcept
Returns the IP address.
Definition DeviceInfo.h:274
static OTC_SDK_API DeviceType determineDeviceType(unsigned short hardwareRevision, unsigned short firmwareRevision) noexcept
Determines the device type based on the provided hardware and firmware revisions.
OTC_SDK_API DeviceInfo() noexcept
Constructor.
OTC_SDK_API bool isBusy() const noexcept
Returns whether the device is busy.
Definition DeviceInfo.h:319
bool operator==(const DeviceInfo &rhs) const noexcept
Equals operator.
Definition DeviceInfo.h:339
OTC_SDK_API void setConnectionInterfaceAddress(const std::string &address) noexcept
Sets the address of the local connection interface through which the camera is connected.
Definition DeviceInfo.h:259
OTC_SDK_API unsigned long getSerialNumber() const noexcept
Returns the serial number of the device.
Definition DeviceInfo.h:249
OTC_SDK_API unsigned short getHardwareRevision() const noexcept
Returns the hardware revision.
Definition DeviceInfo.h:304
OTC_SDK_API const Port & getPort() const noexcept
Returns the port.
Definition DeviceInfo.h:294
OTC_SDK_API unsigned short getFirmwareRevision() const noexcept
Returns the firmware revision.
Definition DeviceInfo.h:309
OTC_SDK_API void setConnectionInterface(const std::string &connectionInterface) noexcept
Sets the connection interface of the device.
bool operator<(const DeviceInfo &rhs) const noexcept
Less than operator.
Definition DeviceInfo.h:359
OTC_SDK_API DeviceType getDeviceType() const noexcept
Return the device type.
Definition DeviceInfo.h:299
Encapsulates an IP v4 address.
Definition IpAddress.h:33
Encapsulates a media access control address (MAC address).
Definition MacAddress.h:34
Encapsulates a network port number.
Definition Port.h:34
Main SDK namespace.
Definition DeviceInfo.h:24
DeviceType
Represents the different types of Optris thermal cameras.
Definition DeviceType.h:24