Thermal Camera SDK 11.3.0
SDK for Optris Thermal Cameras
Loading...
Searching...
No Matches
DeviceType.h
Go to the documentation of this file.
1// Copyright (c) 2008-2026 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
65OTC_SDK_API bool isXI(DeviceType type) noexcept;
66
74OTC_SDK_API bool is1MDevice(DeviceType type) noexcept;
75
83OTC_SDK_API bool isMTDevice(DeviceType type) noexcept;
84
93
102
111
120
130OTC_SDK_API std::string toString(DeviceType deviceType) noexcept;
131
140OTC_SDK_API std::ostream& operator<<(std::ostream& out, DeviceType deviceType) noexcept;
141
142} // 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 AlarmChannel.h:21
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 std::ostream & operator<<(std::ostream &out, const AlarmChannelConfig &config) noexcept
Output stream operator for alarm channel configurations.
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 bool hasFocusMotor(DeviceType type) noexcept
Returns whether the given device has a focus motor.
DeviceType
Represents the different types of Optris thermal cameras.
Definition DeviceType.h:24
OTC_SDK_API std::string toString(AlarmInput alarmInput) noexcept
Returns a string representation of the given alarm input.
@ Unknown
Alarm channel state is unknown because no input has yet been received.
Definition AlarmProperties.h:34