7 #ifndef ComCfg_ApidEnumAc_HPP 8 #define ComCfg_ApidEnumAc_HPP 125 return this->
e == e1;
131 return !(*
this == e1);
137 friend std::ostream& operator<<(
163 #if FW_SERIALIZABLE_TO_STRING Packetized telemetry packet type.
The number of enumerated constants.
Apid()
Constructor (default value of INVALID_UNINITIALIZED)
Apid(const T e1)
Constructor (user-provided value)
Apid(const Apid &obj)
Copy constructor.
SerializeStatus
forward declaration for string
The size of the serial representation.
Telemetry packet type - outgoing.
U16 SerialType
The serial representation type.
Fw::SerializeStatus deserializeFrom(Fw::SerializeBufferBase &buffer)
Deserialize raw enum value from SerialType.
Apid & operator=(const Apid &obj)
Copy assignment operator (object)
Data Product packet type.
Anything equal or higher value is invalid and should not be used.
bool operator==(T e1) const
Equality operator.
Fw::SerializeStatus serializeTo(Fw::SerializeBufferBase &buffer) const
Serialize raw enum value to SerialType.
T t
For backwards compatibility.
bool isValid() const
Check raw enum value for validity.
Per Space Packet Standard, all 1s (11bits) is reserved for Idle Packets.
File type - incoming and outgoing.
bool operator!=(T e1) const
Inequality operator.
APIDs are 11 bits in the Space Packet protocol, so we use U16. Max value 7FF.
Command packet type - incoming.