optris
image.
about the SDK.
invalid temperatures.
in °C.
by the SDK.
settings.
Main SDK namespace.
Enumerations
AlarmInput
enum AlarmInput
Represents the different inputs that an alarm channel monitors.
| Value | Initialiser | Description |
|---|---|---|
MeasurementField |
Monitors a statistical value of a measurement field. | |
InternalTemperature |
Monitors the internal temperature of the device. | |
ChipTemperature |
Monitors the temperature of the sensor chip. | |
UncommittedValue |
Monitors an uncommitted value generated by a PIF analog input channel. |
AlarmState
enum AlarmState
Represents the different states an alarm channel can be in.
| Value | Initialiser | Description |
|---|---|---|
Unknown |
Alarm channel state is unknown because no input has yet been received. | |
Disabled |
Alarm channel is disabled. | |
Orphaned |
Alarm channel is orphaned because its input was removed. | |
Clear |
Alarm is clear. | |
PreActive |
A preliminary alarm is active. | |
Active |
Alarm is active. |
AlarmRangeRelation
enum AlarmRangeRelation
Represents the relation of an alarm input value to an alarm range.
| Value | Initialiser | Description |
|---|---|---|
Unknown |
The relation of the value to the alarm range is unknown. | |
BelowRange |
The alarm input value is below the alarm range (less than its minimum). | |
InRange |
The alarm input value is in the alarm range. | |
AboveRange |
The alarm input value is above the alarm range (greater than its maximum). |
ChipHeatingMode
enum ChipHeatingMode
Represents the available chip heating modes.
| Value | Initialiser | Description |
|---|---|---|
Floating |
The sensor chip will not be heated. | |
Auto |
The sensor chip will be heated to the temperature specified in the calibrations. | |
Fixed |
The sensor chip will be heated to a configurable fixed temperature. |
ConnectionState
enum ConnectionState
Represents the current connection state.
| Value | Initialiser | Description |
|---|---|---|
Disconnecting |
||
Disconnected |
The device connection is being closed. | |
Connecting |
The device connection is closed. | |
CaliAccessInternet |
The device connection is being established. | |
CaliInternetDownload |
The Sdk is asking for permission to access the internet to download missing calibration files. | |
CaliDeviceDownload |
The Sdk is trying to download missing calibration files from the internet. | |
CaliCopy |
The Sdk is trying to download missing calibration files from the device. | |
CaliCopySourceDirectory |
The Sdk is trying to copy missing calibration files from the filesystem. | |
CaliAcquired |
The directory specified via Sdk::setCalibrationFileSourceDirectory() did not contain everything. Provide another source directory. |
|
CaliMissing |
All missing calibration files have been successfully acquired. | |
Failed |
Missing calibration files could not be acquired. Thermal data will be invalid. | |
Connected |
The connection attempt failed. | |
Lost |
The device connection is established. | |
Timeout |
The device connection is lost. | |
Error |
The device connection timed out, e.g. due to a network issue. |
DeviceType
enum DeviceType
Represents the different types of Optris thermal cameras.
| Value | Initialiser | Description |
|---|---|---|
Unknown |
||
PI1 |
||
PI160 |
||
PI2x0 |
||
PI160orPI2x0 |
||
PI4x0 |
||
PI4x0I |
||
PI640 |
||
PI640I |
||
PI1M |
||
Xi80 |
||
Xi160 |
||
Xi320 |
||
Xi320MT |
||
Xi400 |
||
Xi410 |
||
Xi410MT |
||
Xi440 |
||
Xi640 |
||
Xi1M |
||
Xi640ETH |
FlagCorrectionOutcome
enum FlagCorrectionOutcome
What a closure made outside the SDK did to the dark reference.
A closure the process interface made and a correction taken from it are two different facts, and an application needs both. "The flag
shut" is on the flag-state observer; "and it was long enough to
correct from" is here. Collapsing the second into FlagState::Error was considered and rejected: Error already means the shutter did not move, and a closure too short to average is a shutter that moved exactly as it was told.
| Value | Initialiser | Description |
|---|---|---|
Applied |
The frames were enough. A new dark reference is in force. | |
SkippedTooShort |
||
AppliedWithoutAReferenceToKeep |
FlagState
enum FlagState
A flag cycle is defined by the transition through the following states: Open - Closing - Closed - Opening - Open During the automated startup calibration after a successful device connection the flag state will be Initializing indicating the thermal frame data is not yet reliable.
| Value | Initialiser | Description |
|---|---|---|
Open |
Flag is open. | |
Closed |
Flag is closed. | |
Opening |
Flag is opening. | |
Closing |
Flag is closing. | |
Error |
Flag is in an error state. | |
Initializing |
Flag state is beeing initialized/calibrated. |
ColorFormat
enum ColorFormat
The format defines the storage sequence of the pixel color values. Therefore, the color value of the first letter will come first in the image pixel value array. Some systems refer to the significance of the color values as color format. Here the color value of the first letter is the most significant byte. On big-endian machines this byte comes first. On little-endian machines it will come last.

| Value | Initialiser | Description |
|---|---|---|
RGB |
Pixel colors values are stored in the sequence: (red, green, blue). | |
BGR |
Pixel colors values are stored in the sequence: (blue, green, red). | |
BGRA |
WidthAlignment
enum WidthAlignment
Depending on the chosen alignment additional bytes will be added to the end of each row in an image so that its size in bytes adheres to that alignment. This enables some frame works like OpenGL to read the image data in bigger chunks than one byte at a time which can result in significant performance benefits.

| Value | Initialiser | Description |
|---|---|---|
OneByte |
= 1 | The row size is aligned to one byte. |
TwoBytes |
= 2 | The row size is aligned to two bytes. |
FourBytes |
= 4 | The row size is aligned to four bytes. |
EightBytes |
= 8 | The row size is aligned to eight bytes. |
RadiationParameterSource
enum RadiationParameterSource
Represents the different sources of radiation parameters.
| Value | Initialiser | Description |
|---|---|---|
Sdk |
The radiation parameter are/can be set via the SDK. | |
Pif |
The radiation parameter is set by the processing interface (PIF). |
RdcMode
enum RdcMode
Represents the different modes for radial distortion correction.
| Value | Initialiser | Description |
|---|---|---|
Off |
Deactivated. | |
Normal |
Normal mode. | |
Wide |
Wide mode. | |
Unknown |
Unknown mode. Used for error handling. |
TemperaturePrecision
enum TemperaturePrecision
Represents the available temperature precisions.
| Value | Initialiser | Description |
|---|---|---|
Unknown |
= 0 | Unknown precision. |
Standard |
= 1 | Standard precision. |
High |
= 2 | High precision. |
FieldShape
enum FieldShape
Represents the different available field shapes.
| Value | Initialiser | Description |
|---|---|---|
Rectangle |
Rectangular field. | |
Ellipse |
Elliptical field. | |
Polygon |
Polygonal field defined by a set of vertices. | |
Splines |
Spline based field defined by a set of vertices. |
FieldStat
enum FieldStat
Represents the different field statistics that can be used by other components (PIF, alarms).
| Value | Initialiser | Description |
|---|---|---|
Minimum |
Minimum field temperature. | |
Maximum |
Maximum field temperature. | |
Mean |
Mean field temperature. | |
Median |
Median field temperature. |
TemperatureScalingMode
enum TemperatureScalingMode
Represents the different mode to scale temperatures when generating a false color image.
| Value | Initialiser | Description |
|---|---|---|
Manual |
User-defined upper and lower limit (fixed values). | |
MinMax |
Dynamic determination of minimum and maximum temperature as upper and lower limit. | |
Sigma1 |
Dynamic determination of upper and lower limit from standard deviation of temperature image. | |
Sigma3 |
Same as Sigma1, but with factor 3. |
PifDeviceType
enum PifDeviceType
Represents the supported PIF device types.
| Value | Initialiser | Description |
|---|---|---|
Automatic |
Use the PIF type reported by the camera firmware. | |
None |
No PIF. | |
Standard |
Standard PIF. | |
IndustrialMV |
Industrial PIF with voltage based analog outputs. | |
IndustrialMA |
Industrial PIF with current based analog outputs. | |
Internal |
Internal PIF. | |
Stackable |
Stackable PIF. | |
TemperatureProbe |
Instead of a PIF an external temperature probe is used. | |
Proprietary |
The pins of the PIF connector on the camera are used directly. |
PifAiMode
enum PifAiMode
Represents the available modes for PIF analog input channels.
| Value | Initialiser | Description |
|---|---|---|
Off |
Off. | |
FlagControl |
The shutter flag is controlled by the input voltage. | |
Emissivity |
Emissivity for the thermal frame is derived from the input voltage. | |
AmbientTemperature |
Ambient temperature for the thermal frame is derived from the input voltage. | |
UncommittedValue |
The input voltage value is transformed and provided to IRImagerClients via a callback. |
PifDiMode
enum PifDiMode
Represents the available modes for PIF digital input channels.
| Value | Initialiser | Description |
|---|---|---|
Off |
Off. | |
FlagControl |
The flag is controlled by the input signal. |
PifAoMode
enum PifAoMode
Represents the available modes for PIF analog output channels.
| Value | Initialiser | Description |
|---|---|---|
Off |
Off. | |
FlagStatus |
The status of the shutter flag is output. | |
FrameSync |
Every time a new frame is capture a pulse is output. | |
FailSafe |
A heart beat signal is provided that indicates whether the camera and SDK are working correctly. | |
ExternalCommunication |
The output value can be controlled by clients of the SDK. | |
MeasurementField |
The set data point of a measurement field is output. | |
InternalTemperature |
The internal camera temperature is output. | |
Alarm |
The status of a configured alarm channels are output. |
PifDoMode
enum PifDoMode
Represents the available modes for PIF digital output channels.
| Value | Initialiser | Description |
|---|---|---|
Off |
Off. | |
FlagStatus |
The status of the shutter flag is output. | |
FrameSync |
Every time a new frame is capture a high pulse is output. | |
FailSafe |
A heart beat signal is provided that indicates whether the camera and SDK are working correctly. | |
ExternalCommunication |
The output value can be controlled by clients of the SDK. | |
Alarm |
The status of a configured alarm channels are output. |
PifFsMode
enum PifFsMode
Represents the available modes for PIF fail safe channels.
| Value | Initialiser | Description |
|---|---|---|
Off |
Off. | |
On |
On. |
PifAoOutputMode
enum PifAoOutputMode
Represents the available output modes for PIF analog output channels.
| Value | Initialiser | Description |
|---|---|---|
_0_20mA |
0 mA - 20 mA | |
_4_20mA |
4 mA - 20 mA | |
_0_10V |
0 V - 10 V |
Verbosity
enum Verbosity
Represents the different logging verbosity levels.
| Value | Initialiser | Description |
|---|---|---|
Off |
= 1 | Off. |
Error |
= 2 | Error. |
Warning |
= 3 | Warning. |
Info |
= 4 | Info. |
Debug |
= 5 | Debug. |
CalibrationFileSource
enum CalibrationFileSource
Represents the different sources from which the calibration files can be acquired.
| Value | Initialiser | Description |
|---|---|---|
Device |
The calibration files are fetched from the on-board memory of the device. Not supported by all devices. | |
Filesystem |
The calibration files are copied from a local filesystem directory. | |
Internet |
The calibration files are downloaded from Optris servers. Requires internet access. | |
User |
The client is asked for a source directory (e.g. via a file picker) through the ConnectionState::CaliCopySourceDirectory callback. |
|
Empty |
No calibration source wanted. |
Typedefs
RangeF
Range< float > RangeF
Alias for a range with float components.
RangeI
Range< int > RangeI
Alias for a range with integer components.
Vector2f
Vector2< float > Vector2f
Alias for a 2D vector with float components.
Vector2i
Vector2< int > Vector2i
Alias for a 2D vector with integer components.
Functions
operator<<
OTC_SDK_API std::ostream & operator<<(std::ostream &out, const AlarmChannelConfig &config) noexcept
Parameters
| Name | Description |
|---|---|
out |
stream to use. |
config |
alarm channel configuration to output. |
Returns: used output stream.
operator<<
OTC_SDK_API std::ostream & operator<<(std::ostream &out, const AlarmChannelStatus &status)
Parameters
| Name | Description |
|---|---|
out |
stream to use. |
status |
to output. |
Returns: used output stream.
toString
OTC_SDK_API std::string toString(AlarmInput alarmInput) noexcept
Note: Use alarmInputToString() in Python instead.
Parameters
| Name | Description |
|---|---|
alarmInput |
for which a string representation is desired. |
Returns: string respresentation of the given alarm input.
toString
OTC_SDK_API std::string toString(AlarmState alarmState) noexcept
Note: Use alarmStateToString() in Python instead.
Parameters
| Name | Description |
|---|---|
alarmState |
for which a string representation is desired. |
Returns: string respresentation of the given alarm state.
toString
OTC_SDK_API std::string toString(AlarmRangeRelation alarmRangeRelation) noexcept
Note: Use alarmRangeRelationToString() in Python instead.
Parameters
| Name | Description |
|---|---|
alarmRangeRelation |
for which a string representation is desired. |
Returns: string respresentation of the given alarm range relation.
operator<<
OTC_SDK_API std::ostream & operator<<(std::ostream &out, AlarmInput alarmInput) noexcept
Parameters
| Name | Description |
|---|---|
out |
stream to use. |
alarmInput |
to output. |
Returns: used output stream.
operator<<
OTC_SDK_API std::ostream & operator<<(std::ostream &out, AlarmState alarmState) noexcept
Parameters
| Name | Description |
|---|---|
out |
stream to use. |
alarmState |
to output. |
Returns: used output stream.
operator<<
OTC_SDK_API std::ostream & operator<<(std::ostream &out, AlarmRangeRelation alarmRangeRelation) noexcept
Parameters
| Name | Description |
|---|---|
out |
stream to use. |
alarmRangeRelation |
to output. |
Returns: used output stream.
operator<<
OTC_SDK_API std::ostream & operator<<(std::ostream &out, const AlarmsConfig &config) noexcept
Parameters
| Name | Description |
|---|---|
out |
stream to use. |
config |
alarm configuration to output. |
Returns: used output stream.
operator<<
OTC_SDK_API std::ostream & operator<<(std::ostream &out, const CompositeAlarmStatus &status)
Parameters
| Name | Description |
|---|---|
out |
stream to use. |
status |
to output. |
Returns: used output stream.
toString
OTC_SDK_API std::string toString(ChipHeatingMode mode) noexcept
Note: Use chipHeatingModeToString() in Python instead.
Parameters
| Name | Description |
|---|---|
mode |
for which a string representation is desired. |
Returns: string representation of the given chip heating mode.
operator<<
OTC_SDK_API std::ostream & operator<<(std::ostream &out, ChipHeatingMode mode) noexcept
Parameters
| Name | Description |
|---|---|
out |
stream to ouput to. |
mode |
to output. |
Returns: used output stream.
toString
OTC_SDK_API std::string toString(ConnectionState state) noexcept
Note: Use connectionStateToString() in Python instead.
Parameters
| Name | Description |
|---|---|
state |
for which a string representation is desired. |
Returns: string representation of the given connection state.
operator<<
OTC_SDK_API std::ostream & operator<<(std::ostream &out, ConnectionState state) noexcept
Parameters
| Name | Description |
|---|---|
out |
stream to ouput to. |
state |
to output. |
Returns: used output stream.
isPI
OTC_SDK_API bool isPI(DeviceType type) noexcept
Parameters
| Name | Description |
|---|---|
type |
imager device type to check. |
Returns: true if the given device is a PI. False otherwise.
isXI
OTC_SDK_API bool isXI(DeviceType type) noexcept
Parameters
| Name | Description |
|---|---|
type |
imager device type to check. |
Returns: true if the given device is a Xi. False otherwise.
is1MDevice
OTC_SDK_API bool is1MDevice(DeviceType type) noexcept
Parameters
| Name | Description |
|---|---|
type |
imager device type to check. |
Returns: true if the given device is of the 1M variety. False otherwise.
isMTDevice
OTC_SDK_API bool isMTDevice(DeviceType type) noexcept
Parameters
| Name | Description |
|---|---|
type |
imager device type to check. |
Returns: true if the given device is of the MT variety. False otherwise.
isDeviceAnsweringAllCommands
OTC_SDK_API bool isDeviceAnsweringAllCommands(DeviceType type) noexcept
Parameters
| Name | Description |
|---|---|
type |
imager device type to check. |
Returns: true if the given device answers on all commands. False otherwise.
isAutonomousDevice
OTC_SDK_API bool isAutonomousDevice(DeviceType type) noexcept
Parameters
| Name | Description |
|---|---|
type |
imager device type to check. |
Returns: true if the given device supports the autonomous mode. False otherwise.
isEthernetDevice
OTC_SDK_API bool isEthernetDevice(DeviceType type) noexcept
Parameters
| Name | Description |
|---|---|
type |
imager device type to check. |
Returns: true if the given device supports Ethernet. False otherwise.
hasFocusMotor
OTC_SDK_API bool hasFocusMotor(DeviceType type) noexcept
Parameters
| Name | Description |
|---|---|
type |
imager device type to check. |
Returns: true if the given device has a focus motor. False otherwise.
toString
OTC_SDK_API std::string toString(DeviceType deviceType) noexcept
Note: Use deviceTypeToString() in Python instead.
Parameters
| Name | Description |
|---|---|
deviceType |
for which a string representation is desired. |
Returns: string respresentation of the given device type.
operator<<
OTC_SDK_API std::ostream & operator<<(std::ostream &out, DeviceType deviceType) noexcept
Parameters
| Name | Description |
|---|---|
out |
stream to use. |
deviceType |
to output. |
Returns: used output stream.
toString
OTC_SDK_API const char * toString(FlagCorrectionOutcome outcome) noexcept
Parameters
| Name | Description |
|---|---|
outcome |
for which a string representation is desired. |
Returns: string representation of the given outcome.
toString
OTC_SDK_API std::string toString(FlagState flagState) noexcept
Note: Use flagStateToString() in Python instead.
Parameters
| Name | Description |
|---|---|
flagState |
for which a string representation is desired. |
Returns: string representation of the given flag state.
operator<<
OTC_SDK_API std::ostream & operator<<(std::ostream &out, FlagState state) noexcept
Parameters
| Name | Description |
|---|---|
out |
stream to ouput to. |
state |
to output. |
Returns: used output stream.
operator<<
std::ostream & operator<<(std::ostream &out, const Pixel &pixel) noexcept
Parameters
| Name | Description |
|---|---|
out |
stream to output to. |
pixel |
to output. |
Returns: used output operator.
operator==
bool operator==(const RadiationParameters &lhs, const RadiationParameters &rhs) noexcept
Parameters
| Name | Description |
|---|---|
lhs |
first radiation parameter set to compare. |
rhs |
second radiation parameter set to compare. |
Returns: true, if the radiation parameter sets are equal.False otherwise.
operator!=
bool operator!=(const RadiationParameters &lhs, const RadiationParameters &rhs) noexcept
Parameters
| Name | Description |
|---|---|
lhs |
first radiation parameter set to compare. |
rhs |
second radiation parameter set to compare. |
Returns: true, if the radiation parameter sets are unequal.False otherwise.
toString
OTC_SDK_API std::string toString(RadiationParameterSource source) noexcept
Note: Use radiationParameterSourceToString() in Python instead.
Parameters
| Name | Description |
|---|---|
source |
for which a string representation is desired. |
Returns: string representation of the given radiation parameter source.
operator<<
OTC_SDK_API std::ostream & operator<<(std::ostream &out, const RadiationParameters &radiation) noexcept
Parameters
| Name | Description |
|---|---|
out |
stream to ouput to. |
radiation |
parameters to output. |
Returns: used output stream.
operator<<
OTC_SDK_API std::ostream & operator<<(std::ostream &out, RadiationParameterSource source) noexcept
Parameters
| Name | Description |
|---|---|
out |
stream to ouput to. |
source |
to output. |
Returns: used output stream.
operator==
bool operator==(const Range< T > &lhs, const Range< T > &rhs) noexcept
Parameters
| Name | Description |
|---|---|
lhs |
first range to compare. |
rhs |
second range to compare. |
Returns: true, if the ranges are equal.False otherwise.
operator!=
bool operator!=(const Range< T > &lhs, const Range< T > &rhs) noexcept
Parameters
| Name | Description |
|---|---|
lhs |
first range to compare. |
rhs |
second range to compare. |
Returns: true, if the ranges are unequal.False otherwise.
isIn
bool isIn(const T &value, const Range< T > &range) noexcept
Parameters
| Name | Description |
|---|---|
value |
value to check. |
range |
range to check against. |
Returns: true, if the value is within the range. False otherwise.
operator<<
std::ostream & operator<<(std::ostream &out, const Range< T > &range) noexcept
Parameters
| Name | Description |
|---|---|
out |
stream to ouput to. |
range |
range to output. |
Returns: used output stream.
toString
OTC_SDK_API std::string toString(RdcMode mode) noexcept
Note: Use rdcModeToString() in Python instead.
Parameters
| Name | Description |
|---|---|
mode |
for which a string representation is desired. |
Returns: string representation of the given radial distortion correction mode.
operator<<
OTC_SDK_API std::ostream & operator<<(std::ostream &out, RdcMode mode) noexcept
Parameters
| Name | Description |
|---|---|
out |
stream to ouput to. |
mode |
to output. |
Returns: the output stream.
operator<<
std::ostream & operator<<(std::ostream &out, const Slope &slope) noexcept
Parameters
| Name | Description |
|---|---|
out |
stream to use. |
slope |
to output. |
Returns: used output stream.
toString
OTC_SDK_API std::string toString(TemperaturePrecision precision) noexcept
Note: Use temperaturePrecisionToString() in Python instead.
Parameters
| Name | Description |
|---|---|
precision |
for which a string representation is desired. |
Returns: string respresentation of the given temperature precision.
operator<<
OTC_SDK_API std::ostream & operator<<(std::ostream &out, TemperaturePrecision precision) noexcept
Parameters
| Name | Description |
|---|---|
out |
stream to ouput to. |
precision |
to output. |
Returns: used output stream.
operator==
bool operator==(const Vector2< T > &lhs, const Vector2< T > &rhs) noexcept
Parameters
| Name | Description |
|---|---|
lhs |
first vector to compare. |
rhs |
second vector set to compare. |
Returns: true, if the vectors are equal.False otherwise.
operator!=
bool operator!=(const Vector2< T > &lhs, const Vector2< T > &rhs) noexcept
Parameters
| Name | Description |
|---|---|
lhs |
first vector to compare. |
rhs |
second vector set to compare. |
Returns: true, if the vectors are unequal.False otherwise.
operator+
Vector2< T > operator+(const Vector2< T > &lhs, const Vector2< T > &rhs) noexcept
Parameters
| Name | Description |
|---|---|
lhs |
first vector to add. |
rhs |
second vector to add. |
Returns: resulting vector of the addition.
operator-
Vector2< T > operator-(const Vector2< T > &lhs, const Vector2< T > &rhs) noexcept
Parameters
| Name | Description |
|---|---|
lhs |
first vector to subtract. |
rhs |
second vector to subtract. |
Returns: resulting vector of the subtraction.
operator<<
std::ostream & operator<<(std::ostream &out, const Vector2< T > &vector) noexcept
Parameters
| Name | Description |
|---|---|
out |
stream to ouput to. |
vector |
to output. |
Returns: used output stream.
operator<<
OTC_SDK_API std::ostream & operator<<(std::ostream &out, const Version &version)
Parameters
| Name | Description |
|---|---|
out |
stream to ouput to. |
version |
to output. |
Returns: used output stream.
operator<<
OTC_SDK_API std::ostream & operator<<(std::ostream &out, const IpAddress &address)
Parameters
| Name | Description |
|---|---|
out |
stream to write the address to. |
address |
to output. |
Returns: used output stream.
operator<<
OTC_SDK_API std::ostream & operator<<(std::ostream &out, const MacAddress &mac) noexcept
Parameters
| Name | Description |
|---|---|
out |
stream to write the MAC address to. |
mac |
to output. |
Returns: used output stream.
operator<<
OTC_SDK_API std::ostream & operator<<(std::ostream &out, const Port &port) noexcept
Parameters
| Name | Description |
|---|---|
out |
stream to write the port number to. |
port |
to output. |
Returns: used output stream.
getFieldStat
OTC_SDK_API float getFieldStat(const FieldStats &stats, FieldStat stat) noexcept
Parameters
| Name | Description |
|---|---|
stats |
field statistics. |
stat |
to retrieve from the field statistics. |
Returns: value of the given field statistic.
toString
OTC_SDK_API std::string toString(FieldShape shape) noexcept
Note: Use fieldShapeToString() in Python instead.
Parameters
| Name | Description |
|---|---|
shape |
for which a string representation is desired. |
Returns: string representation of the given field shape.
toString
OTC_SDK_API std::string toString(FieldStat stat) noexcept
Note: Use fieldStatToString() in Python instead.
Parameters
| Name | Description |
|---|---|
stat |
for which a string representation is desired. |
Returns: string representation of the given field statistic.
operator<<
OTC_SDK_API std::ostream & operator<<(std::ostream &out, FieldShape shape) noexcept
Parameters
| Name | Description |
|---|---|
out |
stream to ouput to. |
shape |
to output. |
Returns: used output stream.
operator<<
OTC_SDK_API std::ostream & operator<<(std::ostream &out, FieldStat stat) noexcept
Parameters
| Name | Description |
|---|---|
out |
stream to ouput to. |
stat |
to output. |
Returns: used output stream.
operator<<
OTC_SDK_API std::ostream & operator<<(std::ostream &out, const FieldStats &stats) noexcept
Parameters
| Name | Description |
|---|---|
out |
stream to ouput to. |
stats |
to output. |
Returns: used output stream.
operator<<
OTC_SDK_API std::ostream & operator<<(std::ostream &out, const FieldStatus &status)
Parameters
| Name | Description |
|---|---|
out |
stream to use. |
status |
to output. |
Returns: used output stream.
operator<<
OTC_SDK_API std::ostream & operator<<(std::ostream &out, const FieldShapeConfig &fieldShapeConfig) noexcept
Parameters
| Name | Description |
|---|---|
out |
stream to ouput to. |
fieldShapeConfig |
to output. |
Returns: used output stream.
operator<<
OTC_SDK_API std::ostream & operator<<(std::ostream &out, const MeasurementFieldConfig &config) noexcept
Parameters
| Name | Description |
|---|---|
out |
stream to ouput to. |
config |
to output. |
Returns: used output stream.
operator<<
OTC_SDK_API std::ostream & operator<<(std::ostream &out, const IRImagerConfig &config)
Parameters
| Name | Description |
|---|---|
out |
stream to output to. |
config |
to output. |
Returns: used output stream.
operator<<
OTC_SDK_API std::ostream & operator<<(std::ostream &out, const PifAiConfig &config) noexcept
Parameters
| Name | Description |
|---|---|
out |
stream to use. |
config |
to output. |
Returns: used output stream.
operator<<
OTC_SDK_API std::ostream & operator<<(std::ostream &out, const PifDiConfig &config) noexcept
Parameters
| Name | Description |
|---|---|
out |
stream to use. |
config |
to output. |
Returns: used output stream.
operator<<
OTC_SDK_API std::ostream & operator<<(std::ostream &out, const PifAoConfig &config) noexcept
Parameters
| Name | Description |
|---|---|
out |
stream to use. |
config |
to output. |
Returns: used output stream.
operator<<
OTC_SDK_API std::ostream & operator<<(std::ostream &out, const PifDoConfig &config) noexcept
Parameters
| Name | Description |
|---|---|
out |
stream to use. |
config |
to output. |
Returns: used output stream.
operator<<
OTC_SDK_API std::ostream & operator<<(std::ostream &out, const PifFsConfig &config) noexcept
Parameters
| Name | Description |
|---|---|
out |
stream to use. |
config |
to output. |
Returns: used output stream.
operator<<
OTC_SDK_API std::ostream & operator<<(std::ostream &out, const PifConfig &config) noexcept
Parameters
| Name | Description |
|---|---|
out |
stream to use. |
config |
to output. |
Returns: used output stream.
lowerLimit
OTC_SDK_API float lowerLimit(PifAoOutputMode outputMode) noexcept
Parameters
| Name | Description |
|---|---|
outputMode |
for which the lower limit is desired. |
Returns: lower limit of the specified PIF analog output mode as a number value.
upperLimit
OTC_SDK_API float upperLimit(PifAoOutputMode outputMode) noexcept
Parameters
| Name | Description |
|---|---|
outputMode |
for which the upper limit is desired. |
Returns: upper limit of the specified PIF analog output mode as a number value.
clampValue
OTC_SDK_API float clampValue(float value, PifAoOutputMode outputMode) noexcept
Parameters
| Name | Description |
|---|---|
value |
to clamp. |
outputMode |
to which the provided value should be clamped. |
Returns: the given value to the limits of the specified PIF analog output mode.
operator==
bool operator==(const PifIndex &lhs, const PifIndex &rhs) noexcept
Parameters
| Name | Description |
|---|---|
lhs |
left-hand side index. |
rhs |
right-hand side index. |
Returns: true if the indices are equal, false otherwise.
operator!=
bool operator!=(const PifIndex &lhs, const PifIndex &rhs) noexcept
Parameters
| Name | Description |
|---|---|
lhs |
left-hand side index. |
rhs |
right-hand side index. |
Returns: true if the indices are unequal, false otherwise.
toString
OTC_SDK_API std::string toString(const PifIndex &index) noexcept
Note: Use pifIndexToString() in Python instead.
Parameters
| Name | Description |
|---|---|
index |
for which a string representation is desired. |
Returns: string representation of the given PIF index.
toString
OTC_SDK_API std::string toString(PifDeviceType type) noexcept
Note: Use pifDeviceTypeToString() in Python instead.
Parameters
| Name | Description |
|---|---|
type |
for which a string representation is desired. |
Returns: string respresentation of the given PIF device type.
toString
OTC_SDK_API std::string toString(PifAiMode analogInputMode) noexcept
Note: Use pifAiModeToString() in Python instead.
Parameters
| Name | Description |
|---|---|
analogInputMode |
for which a string representation is desired. |
Returns: string respresentation of the given PIF analog input mode.
toString
OTC_SDK_API std::string toString(PifDiMode digitalInputMode) noexcept
Note: Use pifDiModeToString() in Python instead.
Parameters
| Name | Description |
|---|---|
digitalInputMode |
for which a string representation is desired. |
Returns: string respresentation of the given PIF digital input mode.
toString
OTC_SDK_API std::string toString(PifAoMode analogOutputMode) noexcept
Note: Use pifAoModeToString() in Python instead.
Parameters
| Name | Description |
|---|---|
analogOutputMode |
for which a string representation is desired. |
Returns: string respresentation of the given PIF analog output mode.
toString
OTC_SDK_API std::string toString(PifDoMode digitalOutputMode) noexcept
Note: Use pifDoModeToString() in Python instead.
Parameters
| Name | Description |
|---|---|
digitalOutputMode |
for which a string representation is desired. |
Returns: string respresentation of the given PIF digital output mode.
toString
OTC_SDK_API std::string toString(PifFsMode failSafeMode) noexcept
Note: Use pifFsModeToString() in Python instead.
Parameters
| Name | Description |
|---|---|
failSafeMode |
for which a string representation is desired. |
Returns: string respresentation of the given PIF fail safe mode.
toString
OTC_SDK_API std::string toString(PifAoOutputMode outputMode) noexcept
Note: Use pifAoOutputModeToString() in Python instead.
Parameters
| Name | Description |
|---|---|
outputMode |
for which a string representation is desired. |
Returns: string respresentation of the given PIF analog output mode.
operator<<
OTC_SDK_API std::ostream & operator<<(std::ostream &out, PifDeviceType deviceType) noexcept
Parameters
| Name | Description |
|---|---|
out |
stream to use. |
deviceType |
to output. |
Returns: used output stream.
operator<<
OTC_SDK_API std::ostream & operator<<(std::ostream &out, PifAiMode analogInputMode) noexcept
Parameters
| Name | Description |
|---|---|
out |
stream to use. |
analogInputMode |
to output. |
Returns: used output stream.
operator<<
OTC_SDK_API std::ostream & operator<<(std::ostream &out, PifDiMode digitalInputMode) noexcept
Parameters
| Name | Description |
|---|---|
out |
stream to use. |
digitalInputMode |
to output. |
Returns: used output stream.
operator<<
OTC_SDK_API std::ostream & operator<<(std::ostream &out, PifAoMode analogOutputMode) noexcept
Parameters
| Name | Description |
|---|---|
out |
stream to use. |
analogOutputMode |
to output. |
Returns: used output stream.
operator<<
OTC_SDK_API std::ostream & operator<<(std::ostream &out, PifDoMode digitalOutputMode) noexcept
Parameters
| Name | Description |
|---|---|
out |
stream to use. |
digitalOutputMode |
to output. |
Returns: used output stream.
operator<<
OTC_SDK_API std::ostream & operator<<(std::ostream &out, PifFsMode failSafeMode) noexcept
Parameters
| Name | Description |
|---|---|
out |
stream to use. |
failSafeMode |
to output. |
Returns: used output stream.
operator<<
OTC_SDK_API std::ostream & operator<<(std::ostream &out, PifAoOutputMode outputMode) noexcept
Parameters
| Name | Description |
|---|---|
out |
stream to use. |
outputMode |
to output. |
Returns: used output stream.
operator<<
OTC_SDK_API std::ostream & operator<<(std::ostream &out, PifIndex index) noexcept
Parameters
| Name | Description |
|---|---|
out |
stream to use. |
index |
to output. |
Returns: used output stream.
operator<<
OTC_SDK_API std::ostream & operator<<(std::ostream &out, const UncommittedValueStatus &status)
Parameters
| Name | Description |
|---|---|
out |
stream to use. |
status |
to output. |
Returns: used output stream.
Variables
INVALID_TEMPERATURE
static constexpr float INVALID_TEMPERATURE = -100.F
All temperatures in °C equal or lower are invalid.
INVALID_VALUE
static constexpr unsigned short INVALID_VALUE = 0
All internal temperature values equal to this are invalid.