Thermal Camera SDK 11.3.0
SDK for Optris Thermal Cameras
Loading...
Searching...
No Matches
ConnectionState.h
Go to the documentation of this file.
1// Copyright (c) 2008-2026 Optris GmbH & Co. KG
2
11
12#pragma once
13
14#include <ostream>
15#include <string>
16
17#include "otcsdk/Api.h"
18
19
20namespace optris
21{
22
41
42// Utility functions
52OTC_SDK_API std::string toString(ConnectionState state) noexcept;
53
62OTC_SDK_API std::ostream& operator<<(std::ostream& out, ConnectionState state) noexcept;
63
64} // 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 std::ostream & operator<<(std::ostream &out, const AlarmChannelConfig &config) noexcept
Output stream operator for alarm channel configurations.
ConnectionState
Represents the current connection state.
Definition ConnectionState.h:25
@ CaliDeviceDownload
The Sdk is trying to download missing calibration files from the internet.
Definition ConnectionState.h:31
@ Connected
The connection attempt failed.
Definition ConnectionState.h:37
@ CaliInternetDownload
The Sdk is asking for permission to access the internet to download missing calibration files.
Definition ConnectionState.h:30
@ CaliAcquired
The directory specified via Sdk::setCalibrationFileSourceDirectory() did not contain everything....
Definition ConnectionState.h:34
@ Lost
The device connection is established.
Definition ConnectionState.h:38
@ CaliCopySourceDirectory
The Sdk is trying to copy missing calibration files from the filesystem.
Definition ConnectionState.h:33
@ CaliMissing
All missing calibration files have been successfully acquired.
Definition ConnectionState.h:35
@ Timeout
The device connection is lost.
Definition ConnectionState.h:39
@ CaliCopy
The Sdk is trying to download missing calibration files from the device.
Definition ConnectionState.h:32
@ Failed
Missing calibration files could not be acquired. Thermal data will be invalid.
Definition ConnectionState.h:36
@ Connecting
The device connection is closed.
Definition ConnectionState.h:28
@ Disconnected
The device connection is being closed.
Definition ConnectionState.h:27
@ CaliAccessInternet
The device connection is being established.
Definition ConnectionState.h:29
OTC_SDK_API std::string toString(AlarmInput alarmInput) noexcept
Returns a string representation of the given alarm input.