Thermal Camera SDK 10.0.1
SDK for Optris Thermal Cameras
Loading...
Searching...
No Matches
FlagState.h
Go to the documentation of this file.
1// Copyright (c) 2025 Optris GmbH Co. KG
2
10
11#pragma once
12
13#include <ostream>
14#include <string>
15
16#include "otcsdk/Api.h"
17
18
19namespace optris
20{
21
41
42
43// Utility functions
49OTC_SDK_API std::string toString(FlagState flagState) noexcept;
50
59OTC_SDK_API std::ostream& operator<<(std::ostream& out, FlagState state) noexcept;
60
61} // 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:23
FlagState
Represents the different states of the shutter flag.
Definition FlagState.h:33
@ Closed
Flag is closed.
Definition FlagState.h:35
@ Initializing
Flag state is beeing initialized/calibrated.
Definition FlagState.h:39
@ Closing
Flag is closing.
Definition FlagState.h:37
@ Error
Flag is in an error state.
Definition FlagState.h:38
@ Opening
Flag is opening.
Definition FlagState.h:36
@ Open
Flag is open.
Definition FlagState.h:34
OTC_SDK_API std::string toString(DeviceType deviceType) noexcept
Returns a string representation of the given device type.
OTC_SDK_API std::ostream & operator<<(std::ostream &out, DeviceType deviceType) noexcept
Output stream operator for device types.