KhronosGroup / KSCAF_DocRequirements

Khronos Safety Critical Advisory Forum’s minimum requirements for developing a safety critical technology specification.
3 stars 1 forks source link

System-interaction: information about mode of operation #41

Open bnaodovic opened 5 years ago

bnaodovic commented 5 years ago

SC profile shall define means through which the API user can obtain information about the current mode of operation.

Rationale: SC profile may define different functionality for different modes of operation. If the API user is not able to determine which mode is current, it may invoke or rely on incorrect API functionality.

Example: SC profile can define function Mode getMode() which obtains the current mode, where Mode can be defined as enum class Mode { non_safe, safe }.