7 #ifndef Svc_MeasurementStatusEnumAc_HPP
8 #define Svc_MeasurementStatusEnumAc_HPP
109 return this->
e == e1;
115 return !(*
this == e1);
121 friend std::ostream& operator<<(
147 #if FW_SERIALIZABLE_TO_STRING
C++-compatible configuration header for fprime configuration.
An enumeration for measurement status.
T t
For backwards compatibility.
@ NUM_CONSTANTS
The number of enumerated constants.
@ SERIALIZED_SIZE
The size of the serial representation.
Fw::SerializeStatus deserialize(Fw::SerializeBufferBase &buffer)
Deserialize raw enum value from SerialType.
bool operator==(T e1) const
Equality operator.
MeasurementStatus(const T e1)
Constructor (user-provided value)
MeasurementStatus & operator=(const MeasurementStatus &obj)
Copy assignment operator (object)
Fw::SerializeStatus serialize(Fw::SerializeBufferBase &buffer) const
Serialize raw enum value to SerialType.
MeasurementStatus()
Constructor (default value of OK)
MeasurementStatus(const MeasurementStatus &obj)
Copy constructor.
@ OK
Measurement was good.
@ FAILURE
Failure to retrieve measurement.
@ STALE
Measurement is stale.
I32 SerialType
The serial representation type.
bool operator!=(T e1) const
Inequality operator.
bool isValid() const
Check raw enum value for validity.
SerializeStatus
forward declaration for string