OptrisOptrisDocumentation

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

These are the pre-v12 classes, kept so existing code keeps building. New code should use the modern API — see Migration Guide: v11 to v12.

optris::UncommittedValueStatus

Holds the status of an uncommitted value derived from a PIF analog input.

Public functions

UncommittedValueStatus

OTC_SDK_API UncommittedValueStatus() noexcept

Constructor.

getPifIndex

const PifIndex & getPifIndex() const noexcept

Returns the index of the PIF analog input that generated the uncommitted value.

Returns: the index of the PIF analog input that generated the uncommitted value.

getName

const std::string & getName() const noexcept

Returns the name of the uncommitted value.

Returns: the name of the uncommitted value.

getUnit

const std::string & getUnit() const noexcept

Returns the unit of the uncommitted value.

Returns: the unit of the uncommitted value.

getValue

float getValue() const noexcept

Returns the uncommitted value.

Returns: the uncommitted value.

update

OTC_SDK_API void update(const PifIndex &pifIndex, const std::string &name, const std::string &unit, float value) noexcept

Updates the uncommitted value status.

Parameters

Name Description
pifIndex the index of the PIF analog input that generates the uncommitted value.
name of the uncommitted value.
unit of the uncommitted value.
value of the uncommitted value.