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::AlarmsConfig
Holds the alarm configuration.
Public attributes
channels
std::vector< AlarmChannelConfig > channels
Alarm channel configurations.
Public static functions
validate
static OTC_SDK_API void validate(AlarmsConfig &config)
Validates the alarm configuration.
Parameters
| Name | Description |
|---|---|
config |
alarm configuration to validate. |
Exceptions
| Name | Description |
|---|---|
SDKException |
if the configuration is invalid. |