OptrisOptrisDocumentation

Documentation/OTC SDK/OTC SDK — C++ API referencev12.0

optris::sdk::SignalValue

One observation. valid == false means the producer did not produce a value this cycle; a rule on it goes kOrphaned rather than silently holding its last state.

value is in the unit of the quantity the signal carries. A temperature (a region's minimum, maximum, mean, median or percentile, a camera probe, the scene extremes, a PIF channel whose own unit is a temperature) is in the SDK's temperature unit (Celsius unless SetTemperatureUnit() chose Fahrenheit), and a region's standard deviation is a difference in degrees of that unit. A coverage, area, count, coordinate or PIF voltage is not converted, and an application signal is in whatever unit the application published it in.

Public attributes

value

double value = 0.0

the observation itself

valid

bool valid = false

false when nothing was produced this cycle

timestamp_us

uint64_t timestamp_us = 0

when it was observed, in microseconds

sequence

uint64_t sequence = 0

Increments once per publication, so a consumer can tell a repeated value from a stalled producer.