Thermal Camera SDK 10.1.1
SDK for Optris Thermal Cameras
Loading...
Searching...
No Matches
IRImagerClient.h
Go to the documentation of this file.
1// Copyright (c) 2008-2025 Optris GmbH & Co. KG
2
10
11#pragma once
12
13#include <vector>
14
15#include "otcsdk/Api.h"
17#include "otcsdk/common/Frame.h"
22
23
24namespace optris
25{
26
35{
36public:
38 IRImagerClient() = default;
39
41 IRImagerClient(const IRImagerClient&) = default;
44
49
51 virtual ~IRImagerClient() = default;
52
53
74 virtual void onThermalFrame(const ThermalFrame& thermal,
75 const FrameMetadata& meta)
76 { }
77
99 virtual void onThermalFrameEvent(const ThermalFrame& thermal,
100 const Frame& energy,
101 const FrameMetadata& meta,
102 const std::vector<SnapshotEvent>& events)
103 { }
104
113 virtual void onFlagStateChange(FlagState flagState)
114 { }
115
131 virtual void onMeasurementField(const MeasurementField& field)
132 { }
133
146 virtual void onPifUncommittedValue(const std::string& name, const std::string& unit, float value)
147 { }
148
159 virtual void onVideoFormatChanged(int width, int height, float framerate, int bitCount)
160 { }
161
174 virtual void onConnectionLost()
175 { }
176
192 virtual void onConnectionTimeout()
193 { }
194
198 virtual void onProcessExit()
199 { }
200};
201
202} // namespace optris
Contains defines controlling the Windows DLL export and import of symbols.
Contains an enum representing the different states of the shutter flag.
Contains a class encapsulating the metadata associated with each frame.
Contains a class representing a data frame received from a device.
Contains a class encapsulating the properties and data of a rectangular measurement field.
Contains a class holding all the information about a snapshot event.
Contains a class encapsulating a thermal frame received from a device.
Encapsulates the metadata of frames provided by the devices.
Definition FrameMetadata.h:33
Represents a data frame received from a device.
Definition Frame.h:33
virtual ~IRImagerClient()=default
Destructor.
IRImagerClient()=default
Constructor.
IRImagerClient(IRImagerClient &&)=default
Move constructor.
virtual void onPifUncommittedValue(const std::string &name, const std::string &unit, float value)
Called when an updated uncommitted value is available.
Definition IRImagerClient.h:146
virtual void onMeasurementField(const MeasurementField &field)
Callback method for measurement fields. The method is called when the calculation has finished.
Definition IRImagerClient.h:131
virtual void onThermalFrameEvent(const ThermalFrame &thermal, const Frame &energy, const FrameMetadata &meta, const std::vector< SnapshotEvent > &events)
Callback method for thermal frames triggered with a raising edge event on PIF digital input or softwa...
Definition IRImagerClient.h:99
virtual void onThermalFrame(const ThermalFrame &thermal, const FrameMetadata &meta)
Callback method for thermal frames.
Definition IRImagerClient.h:74
virtual void onVideoFormatChanged(int width, int height, float framerate, int bitCount)
Called when the video format changed.
Definition IRImagerClient.h:159
virtual void onConnectionLost()
Called when a connection loss is detected.
Definition IRImagerClient.h:174
virtual void onFlagStateChange(FlagState flagState)
Callback method for flag state events. The method is called when the flag state changes.
Definition IRImagerClient.h:113
IRImagerClient(const IRImagerClient &)=default
No copy constructor.
IRImagerClient & operator=(IRImagerClient &&)=default
Move assignment.
virtual void onConnectionTimeout()
Called when a connection timeout is detected.
Definition IRImagerClient.h:192
virtual void onProcessExit()
Callback method for synchronizing data. This is the very last method to be called for each raw data s...
Definition IRImagerClient.h:198
IRImagerClient & operator=(const IRImagerClient &)=default
No copy assignment.
Rectangular measurement field with individual radiation parameters.
Definition MeasurementField.h:33
Encapsulates thermal frame data received from a device.
Definition ThermalFrame.h:23
Main SDK namespace.
Definition DeviceInfo.h:24
FlagState
Represents the different states of the shutter flag.
Definition FlagState.h:33