System Fault Control
Messages/types for controlling or simulating system faults. More...
Classes Index
| struct | FaultControlMessage |
|
Enable/disable a specified system fault (MessageType::FAULT_CONTROL, version 1). More... | |
Enumerations Index
| enum class | CoComType : uint8_t { ... } |
|
The type of COCOM limit to be applied. More... | |
| enum class | FaultType : uint8_t { ... } |
|
Available fault types/control inputs. More... | |
Operators Index
| p1_ostream & | operator<< (p1_ostream &stream, CoComType type) |
| p1_ostream & | operator<< (p1_ostream &stream, FaultType type) |
|
ConfigurationSource stream operator. More... | |
Functions Index
| P1_CONSTEXPR_FUNC const char * | to_string (CoComType type) |
|
Get a human-friendly string name for the specified CoComType. More... | |
| P1_CONSTEXPR_FUNC const char * | to_string (FaultType type) |
|
Get a human-friendly string name for the specified FaultType. More... | |
Description
Messages/types for controlling or simulating system faults.
Enumerations
CoComType
| strong |
The type of COCOM limit to be applied.
- Enumeration values
-
NONE Clear the current COCOM limit (= 0) ACCELERATION Simulate a maximum acceleration limit (= 1) SPEED Simulate a maximum speed limit (= 2) ALTITUDE Simulate a maximum altitude limit (= 3)
Definition at line 164 of file fault_control.h.
FaultType
| strong |
Available fault types/control inputs.
- Enumeration values
See FaultControlMessage.
Definition at line 33 of file fault_control.h.
Operators
operator<<()
| inline |
CoComType stream operator.
Definition at line 201 of file fault_control.h.
operator<<()
| inline |
ConfigurationSource stream operator.
Definition at line 155 of file fault_control.h.
Functions
to_string()
|
Get a human-friendly string name for the specified CoComType.
- Parameters
-
type The desired type.
- Returns
The corresponding string name.
Definition at line 183 of file fault_control.h.
to_string()
|
Get a human-friendly string name for the specified FaultType.
- Parameters
-
type The desired fault type.
- Returns
The corresponding string name.
Definition at line 122 of file fault_control.h.
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.