Enum SovdAlarmStatus

Enum Documentation

enum class ros2_medkit_gateway::SovdAlarmStatus

Internal lifecycle states the AlarmCondition bridge tracks per condition.

Public-facing vs internal: not every value here surfaces in the SOVD /faults payload (bburda review on PR #387):

  • Suppressed: condition exists but is administratively masked (EnabledState=false or shelved); no entry in /faults.

  • Confirmed: visible as status=CONFIRMED in /faults.

  • Cleared: removed from /faults via clear_fault.

  • Healed: internal-only

    . Means “ActiveState=false but operator

    workflow incomplete (ack and/or confirm pending)”. This is NOT exposed as a separate

    /faults status - the bridge keeps the entry at CONFIRMED until Cleared fires (see ReportHealed below). ros2_medkit_msgs/srv/ReportFault has no HEALED verb today; routing EVENT_PASSED here would let fault_manager’s debounce engine auto-clear the fault, defeating Part 9’s mandatory ack/confirm contract. A future STATUS_LATCHED extension to the message would make this state externally visible; until then it stays internal.

PREFAILED is reserved for the threshold-polling pre-trigger path and is never produced by AlarmStateMachine::compute from native event input - OPC-UA Part 9 has no equivalent state.

Values:

enumerator Suppressed
enumerator Confirmed
enumerator Healed
enumerator Cleared