7 #ifndef Svc_EventManager_EnabledEnumAc_HPP 8 #define Svc_EventManager_EnabledEnumAc_HPP 82 this->
e =
static_cast<enum
T>(e1);
92 this->m_serializeValueIsSet = obj.m_serializeValueIsSet;
93 this->m_serializeValue = obj.m_serializeValue;
119 operator enum T()
const 127 return this->
e == e1;
133 return !(*
this == e1);
139 friend std::ostream& operator<<(
167 #if FW_SERIALIZABLE_TO_STRING 179 void setSerializeValue(
218 bool m_serializeValueIsSet =
false;
Enabled and disabled state.
bool isValid() const
Check raw enum value for validity.
EventManager_Enabled(const enum T e1)
Constructor (user-provided value)
SerializeStatus
forward declaration for string
enum T e
The raw enum value.
EventManager_Enabled(const EventManager_Enabled &obj)
Copy constructor.
EventManager_Enabled & operator=(const EventManager_Enabled &obj)
Copy assignment operator (object)
bool operator!=(enum T e1) const
Inequality operator.
The size of the serial representation.
uint8_t U8
8-bit unsigned integer
Fw::SerializeStatus deserializeFrom(Fw::SerialBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG)
Deserialize raw enum value from SerialType.
Fw::SerializeStatus serializeTo(Fw::SerialBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG) const
Serialize raw enum value to SerialType.
EventManager_Enabled(const SerialType e1)
Constructor (serial representation value)
U8 SerialType
The serial representation type.
EventManager_Enabled()
Constructor (default value of ENABLED)
RateGroupDivider component implementation.
bool operator==(enum T e1) const
Equality operator.
The number of enumerated constants.
Big endian serialization.
enum T t
For backwards compatibility.