35 m_comQueueIndex(comQueueIndex),
37 m_sequenceCount(sequenceCount),
46 m_comQueueIndex(obj.m_comQueueIndex),
48 m_sequenceCount(obj.m_sequenceCount),
72 if (
this == &obj) {
return true; }
75 (this->m_apid == obj.
m_apid) &&
77 (this->m_vcId == obj.
m_vcId)
84 return !(*
this == obj);
89 std::ostream& operator<<(std::ostream& os,
const FrameContext& obj) {
163 #if FW_SERIALIZABLE_TO_STRING 172 sb +=
"comQueueIndex = ";
179 this->
m_apid.toString(tmp);
184 sb +=
"sequenceCount = ";
Serialization/Deserialization operation was successful.
The size of the serial representation.
FrameContext()
Constructor (default value)
PlatformSizeType FwSizeType
const char * toChar() const
FwSizeType serializedSize() const
Get the dynamic serialized size of the struct.
bool operator!=(const FrameContext &obj) const
Inequality operator.
SerializeStatus
forward declaration for string
void set_sequenceCount(U16 sequenceCount)
Set member sequenceCount.
FormatStatus format(const CHAR *formatString,...)
write formatted string to buffer
void set_vcId(U8 vcId)
Set member vcId.
uint8_t U8
8-bit unsigned integer
Fw::SerializeStatus serializeTo(Fw::SerializeBufferBase &buffer) const
Serialization.
bool operator==(const FrameContext &obj) const
Equality operator.
void set_comQueueIndex(FwIndexType comQueueIndex)
Set member comQueueIndex.
void set(FwIndexType comQueueIndex, ComCfg::APID::T apid, U16 sequenceCount, U8 vcId)
Set all members.
PlatformIndexType FwIndexType
APIDs are 11 bits in the Space Packet protocol, so we use U16. Max value 7FF.
Type used to pass context info between components during framing/deframing.
void set_apid(ComCfg::APID::T apid)
Set member apid.
SerializeStatus serializeFrom(U8 val)
serialize 8-bit unsigned int
FwIndexType m_comQueueIndex
Fw::SerializeStatus deserializeFrom(Fw::SerializeBufferBase &buffer)
Deserialization.
FrameContext & operator=(const FrameContext &obj)
Copy assignment operator.
SerializeStatus deserializeTo(U8 &val)
deserialize 8-bit unsigned int