![]() |
Thermal Camera SDK 10.1.1
SDK for Optris Thermal Cameras
|
Holds important information about a device. More...
#include <DeviceInfo.h>

Public Member Functions | |
| OTC_SDK_API | DeviceInfo () noexcept |
| Constructor. | |
| OTC_SDK_API void | setSerialNumber (unsigned long serialNumber) noexcept |
| Sets the serial number of the device. | |
| OTC_SDK_API unsigned long | getSerialNumber () const noexcept |
| Returns the serial number of the device. | |
| OTC_SDK_API void | setConnectionInterface (const std::string &connectionInterface) noexcept |
| Sets the connection interface of the device. | |
| OTC_SDK_API const std::string & | getConnectionInterface () const noexcept |
| Returns the connection interface of the device. | |
| OTC_SDK_API void | setConnectionInterfaceAddress (const std::string &address) noexcept |
| Sets the address of the local connection interface through which the camera is connected. | |
| OTC_SDK_API const std::string & | getConnectionInterfaceAddress () const noexcept |
| Returns the address of the local connection interface through which the camera is connected. | |
| OTC_SDK_API void | setIpAddress (const IpAddress &ipAddress) noexcept |
| Sets the IP address. | |
| OTC_SDK_API const IpAddress & | getIpAddress () const noexcept |
| Returns the IP address. | |
| OTC_SDK_API void | setTargetIpAddress (const IpAddress &ipAddress) noexcept |
| Sets the IP address of the streaming target. | |
| OTC_SDK_API const IpAddress & | getTargetIpAddress () const noexcept |
| Returns the IP address of the streaming target. | |
| OTC_SDK_API void | setPort (const Port &port) noexcept |
| Sets the port. | |
| OTC_SDK_API const Port & | getPort () const noexcept |
| Returns the port. | |
| OTC_SDK_API DeviceType | getDeviceType () const noexcept |
| Return the device type. | |
| OTC_SDK_API void | setRevisions (unsigned short hardware, unsigned short firmware) noexcept |
| Sets the hardware and firmware revisions. | |
| OTC_SDK_API unsigned short | getHardwareRevision () const noexcept |
| Returns the hardware revision. | |
| OTC_SDK_API unsigned short | getFirmwareRevision () const noexcept |
| Returns the firmware revision. | |
| OTC_SDK_API void | setBusy (bool busy) noexcept |
| Sets the device busy state. | |
| OTC_SDK_API bool | isBusy () const noexcept |
| Returns whether the device is busy. | |
| OTC_SDK_API void | setMacAddress (const MacAddress &mac) noexcept |
| Sets the MAC address. | |
| OTC_SDK_API const MacAddress & | getMacAddress () const noexcept |
| Returns the MAC address. | |
| OTC_SDK_API DeviceInfo | clone () const noexcept |
| Returns a complete copy of this informatin. | |
| bool | operator== (const DeviceInfo &rhs) const noexcept |
| Equals operator. | |
| bool | operator!= (const DeviceInfo &rhs) const noexcept |
| Unequals operator. | |
| bool | operator< (const DeviceInfo &rhs) const noexcept |
| Less than operator. | |
Static Public Member Functions | |
| 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. | |
Holds important information about a device.
Instances of this class are provided by the EnumerationManager and can be used to establish an connection through an IRImager implementation.
|
inlinenoexcept |
Returns a complete copy of this informatin.
|
staticnoexcept |
Determines the device type based on the provided hardware and firmware revisions.
|
inlinenoexcept |
Returns the connection interface of the device.
This can, for example, be USB or Ethernet.
|
inlinenoexcept |
Returns the address of the local connection interface through which the camera is connected.
This refers to the address of the local connection interface, e.g. the usb endpoint or address or IP address of the network interface.
|
inlinenoexcept |
Return the device type.
|
inlinenoexcept |
Returns the firmware revision.
|
inlinenoexcept |
Returns the hardware revision.
|
inlinenoexcept |
Returns the IP address.
For Ethernet connections this refers to the IP address of the device.
|
inlinenoexcept |
Returns the MAC address.
|
inlinenoexcept |
Returns the port.
For Ethernet connections this refers to the port the device will send its data to.
|
inlinenoexcept |
Returns the serial number of the device.
|
inlinenoexcept |
Returns the IP address of the streaming target.
For Ethernet connections this refers to the IP address of the streaming target machine.
|
inlinenoexcept |
Returns whether the device is busy.
A device is busy when it is already used by the SDK or the PixConnect.
|
inlinenoexcept |
Sets the device busy state.
| [in] | busy | true if device is busy. False otherwise. |
|
noexcept |
Sets the connection interface of the device.
This can, for example, be USB or Ethernet.
| [in] | connectionInterface | to set. |
|
inlinenoexcept |
Sets the address of the local connection interface through which the camera is connected.
This refers to the address of the local connection interface, e.g. the usb endpoint or address or IP address of the network interface.
| [in] | address | to set. |
|
inlinenoexcept |
Sets the IP address.
For Ethernet connections this refers to the IP address of the device.
| [in] | ipAddress | address to set. |
|
inlinenoexcept |
Sets the MAC address.
| [in] | mac | connection state. |
|
inlinenoexcept |
Sets the port.
For Ethernet connections this refers to the port the device will send its data to.
| [in] | port | to set. |
|
noexcept |
Sets the hardware and firmware revisions.
| [in] | hardware | revision to set. |
| [in] | firmware | revision to set. |
|
inlinenoexcept |
Sets the serial number of the device.
| [in] | serialNumber | to set. |
|
inlinenoexcept |
Sets the IP address of the streaming target.
For Ethernet connections this refers to the IP address of the streaming target machine.
| [in] | ipAddress | address to set. |