7 #ifndef Os_MutexStatusEnumAc_HPP
8 #define Os_MutexStatusEnumAc_HPP
111 return this->
e == e1;
117 return !(*
this == e1);
123 friend std::ostream& operator<<(
149 #if FW_SERIALIZABLE_TO_STRING
C++-compatible configuration header for fprime configuration.
FPP shadow-enum representing Os::Mutex::Status.
Fw::SerializeStatus serialize(Fw::SerializeBufferBase &buffer) const
Serialize raw enum value to SerialType.
@ ERROR_OTHER
All other errors.
@ ERROR_DEADLOCK
Deadlock condition detected.
@ OP_OK
Operation was successful.
@ ERROR_BUSY
Mutex is busy.
MutexStatus(const MutexStatus &obj)
Copy constructor.
Fw::SerializeStatus deserialize(Fw::SerializeBufferBase &buffer)
Deserialize raw enum value from SerialType.
MutexStatus(const T e1)
Constructor (user-provided value)
bool isValid() const
Check raw enum value for validity.
@ NUM_CONSTANTS
The number of enumerated constants.
@ SERIALIZED_SIZE
The size of the serial representation.
T t
For backwards compatibility.
MutexStatus()
Constructor (default value of OP_OK)
I32 SerialType
The serial representation type.
bool operator!=(T e1) const
Inequality operator.
MutexStatus & operator=(const MutexStatus &obj)
Copy assignment operator (object)
bool operator==(T e1) const
Equality operator.
SerializeStatus
forward declaration for string