Thermal Camera SDK 10.1.1
SDK for Optris Thermal Cameras
Loading...
Searching...
No Matches
DeviceType.h
Go to the documentation of this file.
1// Copyright (c) 2008-2025 Optris GmbH & Co. KG
2
10
11#pragma once
12
13#include <string>
14#include <ostream>
15
16#include "otcsdk/Api.h"
17
18
19namespace optris
20{
21
23enum class DeviceType
24{
25 Unknown,
26 PI1,
27 PI160,
28 PI2x0,
29 PI160orPI2x0,
30 PI4x0,
31 PI4x0I,
32 PI640,
33 PI640I,
34 PI1M,
35 Xi80,
36 Xi160,
37 Xi320,
38 Xi320MT,
39 Xi400,
40 Xi410,
41 Xi410MT,
42 Xi440,
43 Xi640,
44 Xi1M,
45};
46
47
48// Utility functions
56OTC_SDK_API bool isPI(DeviceType type) noexcept;
57
58// Utility functions
66OTC_SDK_API bool isXI(DeviceType type) noexcept;
67
68// Utility functions
76OTC_SDK_API bool is1MDevice(DeviceType type) noexcept;
77
85OTC_SDK_API bool isMTDevice(DeviceType type) noexcept;
86
95
104
113
123OTC_SDK_API std::string toString(DeviceType deviceType) noexcept;
124
133OTC_SDK_API std::ostream& operator<<(std::ostream& out, DeviceType deviceType) noexcept;
134
135} // namespace optris
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
Main SDK namespace.
Definition DeviceInfo.h:24
OTC_SDK_API bool isMTDevice(DeviceType type) noexcept
Returns whether the given device is an MT device.
OTC_SDK_API bool isPI(DeviceType type) noexcept
Returns whether the given device is PI.
OTC_SDK_API bool is1MDevice(DeviceType type) noexcept
Returns whether the given device is of the 1M variety.
OTC_SDK_API bool isAutonomousDevice(DeviceType type) noexcept
Returns whether the given device supports the autonomous mode.
OTC_SDK_API bool isDeviceAnsweringAllCommands(DeviceType type) noexcept
Returns whether the given device will answer on all commands, also on commands with no answer needed ...
OTC_SDK_API bool isXI(DeviceType type) noexcept
Returns whether the given device is a Xi.
OTC_SDK_API bool isEthernetDevice(DeviceType type) noexcept
Returns whether the given device supports Ethernet.
OTC_SDK_API std::string toString(DeviceType deviceType) noexcept
Returns a string representation of the given device type.
DeviceType
Represents the different types of Optris thermal cameras.
Definition DeviceType.h:24
OTC_SDK_API std::ostream & operator<<(std::ostream &out, DeviceType deviceType) noexcept
Output stream operator for device types.