7 #ifndef Drv_GpioStatusEnumAc_HPP
8 #define Drv_GpioStatusEnumAc_HPP
110 return this->
e == e1;
116 return !(*
this == e1);
122 friend std::ostream& operator<<(
148 #if FW_SERIALIZABLE_TO_STRING
C++-compatible configuration header for fprime configuration.
GpioStatus & operator=(const GpioStatus &obj)
Copy assignment operator (object)
GpioStatus(const T e1)
Constructor (user-provided value)
@ INVALID_MODE
Operation not permitted with current configuration.
@ NOT_OPENED
Pin was never opened.
@ UNKNOWN_ERROR
An unknown error occurred.
@ OP_OK
Operation succeeded.
I32 SerialType
The serial representation type.
Fw::SerializeStatus serialize(Fw::SerializeBufferBase &buffer) const
Serialize raw enum value to SerialType.
GpioStatus()
Constructor (default value of OP_OK)
bool isValid() const
Check raw enum value for validity.
Fw::SerializeStatus deserialize(Fw::SerializeBufferBase &buffer)
Deserialize raw enum value from SerialType.
@ SERIALIZED_SIZE
The size of the serial representation.
@ NUM_CONSTANTS
The number of enumerated constants.
GpioStatus(const GpioStatus &obj)
Copy constructor.
bool operator!=(T e1) const
Inequality operator.
bool operator==(T e1) const
Equality operator.
T t
For backwards compatibility.
SerializeStatus
forward declaration for string