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::PifIndex
Holds the indices that identify the physical pin on a PIF device for a PIF channel.
Public attributes
device
int device = 0
Index of the PIF device. For devices with only one PIF this is 0.
pin
int pin = 0
Index of the pin on the PIF device.
Public static functions
validate
static OTC_SDK_API void validate(const PifIndex &index)
Validates the given PIF index.
Parameters
| Name | Description |
|---|---|
index |
PIF index to validate. |
Exceptions
| Name | Description |
|---|---|
SDKException |
if the index is invalid. |