Thermal Camera SDK 10.0.1
SDK for Optris Thermal Cameras
Loading...
Searching...
No Matches
Sdk.h
Go to the documentation of this file.
1// Copyright (c) 2025 Optris GmbH Co. KG
2
11
12#pragma once
13
14#include <string>
15
16#include "otcsdk/Api.h"
18
19
21namespace optris
22{
23
25enum class Verbosity
26{
27 Off = 1,
28 Error = 2,
29 Warning = 3,
30 Info = 4,
31 Debug = 5,
32};
33
42
43
45class Sdk
46{
47public:
49 Sdk() = delete;
50
51
62 OTC_SDK_API static void init(Verbosity logScreen, Verbosity logFile, std::string logFilenamePrefix = "");
63
64
86
96 OTC_SDK_API static bool setCalibrationFileSourceDirectory(const std::string& sourceDirectoryPath);
97
98
105};
106
107} // 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
Contains a class encapsulating version and build information about the SDK.
static OTC_SDK_API void init(Verbosity logScreen, Verbosity logFile, std::string logFilenamePrefix="")
Initializes the SDK.
static OTC_SDK_API bool setCalibrationFileSourceDirectory(const std::string &sourceDirectoryPath)
Sets the source directory from which calibration files can be copied.
Sdk()=delete
No constructor.
static OTC_SDK_API bool setCalibrationFileSources(CalibrationFileSource first, CalibrationFileSource second, CalibrationFileSource third)
Sets the priority of the calibration file sources.
static OTC_SDK_API VersionInfo getVersionInfo()
Returns an object holding version and build information about the SDK.
Encapsulates version and build information about the SDK.
Definition VersionInfo.h:27
Main SDK namespace.
Definition DeviceInfo.h:23
CalibrationFileSource
Represents the different sources from which the calibration files can be acquired.
Definition Sdk.h:36
@ Filesystem
The calibration files are copied from a local filesystem directory.
Definition Sdk.h:38
@ Internet
The calibration files are downloaded from Optris servers. Requires internet access.
Definition Sdk.h:39
@ Empty
No calibration source wanted.
Definition Sdk.h:40
@ Device
The calibration files are fetched from the on-board memory of the device. Not supported by all device...
Definition Sdk.h:37
@ Error
Flag is in an error state.
Definition FlagState.h:38
Verbosity
Represents the different logging verbosity levels.
Definition Sdk.h:26
@ Warning
Warning.
Definition Sdk.h:29
@ Info
Info.
Definition Sdk.h:30
@ Debug
Debug.
Definition Sdk.h:31
@ Off
Off.
Definition Sdk.h:27