Skip to content

TDegradationAction

Defines the action that shall be taken when an degradation is detected. This can happen when data cannot be delivered, or when the system is corrupted and files are modified by non-iceoryx2 instances. Is used as return value of the TDegradationHandler to define a custom behavior.

Definition

Unit: Neslib.Iceoryx2.Types

type TDegradationAction = (Ignore, Warn, DegradeAndFail)

Enumeration Values

Ignore = _iox2_degradation_action_e_IGNORE

Ignore the degradation completely


Warn = _iox2_degradation_action_e_WARN

Print out a warning as soon as the degradation is detected


DegradeAndFail = _iox2_degradation_action_e_DEGRADE_AND_FAIL

Returns a failure in the function the degradation was detected