7 #ifndef TimeBaseEnumAc_HPP 8 #define TimeBaseEnumAc_HPP 86 this->
e =
static_cast<enum
T>(e1);
96 this->m_serializeValueIsSet = obj.m_serializeValueIsSet;
97 this->m_serializeValue = obj.m_serializeValue;
123 operator enum T()
const 131 return this->
e == e1;
137 return !(*
this == e1);
143 friend std::ostream& operator<<(
171 #if FW_SERIALIZABLE_TO_STRING 183 void setSerializeValue(
222 bool m_serializeValueIsSet =
false;
The number of enumerated constants.
TimeBase(const enum T e1)
Constructor (user-provided value)
Don't care value for sequences. If FwTimeBaseStoreType is changed, value should be changed (Required)...
TimeBase(const TimeBase &obj)
Copy constructor.
The size of the serial representation.
No time base has been established (Required)
bool operator!=(enum T e1) const
Inequality operator.
bool operator==(enum T e1) const
Equality operator.
bool isValid() const
Check raw enum value for validity.
enum T t
For backwards compatibility.
SerializeStatus
forward declaration for string
Time as reported on workstation where software is running. For testing. (Required) ...
TimeBase()
Constructor (default value of TB_NONE)
Fw::SerializeStatus deserializeFrom(Fw::SerialBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG)
Deserialize raw enum value from SerialType.
TimeBase & operator=(const TimeBase &obj)
Copy assignment operator (object)
Fw::SerializeStatus serializeTo(Fw::SerialBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG) const
Serialize raw enum value to SerialType.
TimeBase(const SerialType e1)
Constructor (serial representation value)
Indicates time is processor cycle time. Not tied to external time.
enum T e
The raw enum value.
Time as reported by the spacecraft clock.
Define enumeration for Time base types.
Big endian serialization.
U16 SerialType
The serial representation type.