onboardapi  9.10.0
by Rheinmetall
M_Alert::AlarmStatusKind Namespace Reference

Enumerations

enum  Type { Unknown , Inactive , Active }
 The enumeration for statuses of Alarms, e.g. Active, Inactive, Unknown. More...
 

Functions

std::string toString (M_Alert::AlarmStatusKind::Type val)
 
M_Alert::AlarmStatusKind::Type fromString (const std::string &val)
 

Enumeration Type Documentation

◆ Type

The enumeration for statuses of Alarms, e.g. Active, Inactive, Unknown.

Enumerator
Unknown 

Unknown An unknown states indicates that the alarm is known but its state is unknown.

Inactive 

Inactive An inactive status indicates that the alarm is inactive since it has been corrected, overridden or resolved and is neither acknowledged or unacknowledged.

Active 

Active An active status indicates that the alarm is active, has not been corrected, overridden or resolved and is either in the state of acknowledged or unacknowledged.

Function Documentation

◆ fromString()

M_Alert::AlarmStatusKind::Type M_Alert::AlarmStatusKind::fromString ( const std::string &  val)
inline

◆ toString()

std::string M_Alert::AlarmStatusKind::toString ( M_Alert::AlarmStatusKind::Type  val)
inline