Thermal Camera SDK 11.3.0
SDK for Optris Thermal Cameras
Loading...
Searching...
No Matches
OperationInfo.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 <string>
15#include <climits>
16
17namespace optris
18{
19
22{
23public:
25 OperationInfo() noexcept;
26
37 OperationInfo(int index,
38 int previousIndex,
39 std::string name,
40 float processingTime,
41 short pixelValue) noexcept;
42
48 int getIndex() const noexcept;
49
56 int getPreviousIndex() const noexcept;
57
63 const std::string& getName() const noexcept;
64
70 float getProcessingTime() const noexcept;
71
78 short getPixelValue() const noexcept;
79
80
81private:
82 int _index;
83 int _previousIndex;
84
85 std::string _name;
86
87 float _processingTime;
88
89 short _pixelValue;
90};
91
92
93// Inline implementations
95 : _index{-1}
96 , _previousIndex{-1}
97 , _processingTime{0.0F}
98 , _pixelValue{SHRT_MIN}
99{}
100
102 int previousIndex,
103 std::string name,
104 float processingTime,
105 short pixelValue) noexcept
106 : _index{index}
107 , _previousIndex{previousIndex}
108 , _name{std::move(name)}
109 , _processingTime{processingTime}
110 , _pixelValue{pixelValue}
111{}
112
113inline int OperationInfo::getIndex() const noexcept
114{
115 return _index;
116}
117
118inline int OperationInfo::getPreviousIndex() const noexcept
119{
120 return _previousIndex;
121}
122
123inline const std::string& OperationInfo::getName() const noexcept
124{
125 return _name;
126}
127
128inline float OperationInfo::getProcessingTime() const noexcept
129{
130 return _processingTime;
131}
132
133inline short OperationInfo::getPixelValue() const noexcept
134{
135 return _pixelValue;
136}
137
138} // namespace optris
const std::string & getName() const noexcept
Returns the name of the module.
Definition OperationInfo.h:123
int getIndex() const noexcept
Returns the unique index of the module.
Definition OperationInfo.h:113
float getProcessingTime() const noexcept
Returns the average processing time in ms of the module.
Definition OperationInfo.h:128
short getPixelValue() const noexcept
Returns the processed internal thermal value of a given pixel.
Definition OperationInfo.h:133
OperationInfo() noexcept
Constructor.
Definition OperationInfo.h:94
int getPreviousIndex() const noexcept
Returns the unique index of the module that precedes this module in the processing pipeline.
Definition OperationInfo.h:118
Main SDK namespace.
Definition AlarmChannel.h:21