7 #ifndef Drv_PollStatusEnumAc_HPP
8 #define Drv_PollStatusEnumAc_HPP
108 return this->
e == e1;
114 return !(*
this == e1);
120 friend std::ostream& operator<<(
146 #if FW_SERIALIZABLE_TO_STRING
C++-compatible configuration header for fprime configuration.
PollStatus()
Constructor (default value of POLL_OK)
T t
For backwards compatibility.
Fw::SerializeStatus serialize(Fw::SerializeBufferBase &buffer) const
Serialize raw enum value to SerialType.
@ POLL_OK
Poll successfully received data.
@ POLL_ERROR
Error received when polling.
@ POLL_RETRY
No data available, retry later.
PollStatus(const T e1)
Constructor (user-provided value)
PollStatus(const PollStatus &obj)
Copy constructor.
I32 SerialType
The serial representation type.
PollStatus & operator=(const PollStatus &obj)
Copy assignment operator (object)
bool isValid() const
Check raw enum value for validity.
Fw::SerializeStatus deserialize(Fw::SerializeBufferBase &buffer)
Deserialize raw enum value from SerialType.
bool operator==(T e1) const
Equality operator.
@ NUM_CONSTANTS
The number of enumerated constants.
@ SERIALIZED_SIZE
The size of the serial representation.
bool operator!=(T e1) const
Inequality operator.
SerializeStatus
forward declaration for string