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) {
169 #if FW_SERIALIZABLE_TO_STRING 178 sb +=
"comQueueIndex = ";
185 this->
m_apid.toString(tmp);
190 sb +=
"sequenceCount = ";
Serialization/Deserialization operation was successful.
FrameContext()
Constructor (default value)
PlatformSizeType FwSizeType
const char * toChar() const
SerializeStatus deserializeTo(U8 &val, Endianness mode=Endianness::BIG)
deserialize 8-bit unsigned int
void set_apid(ComCfg::Apid::T apid)
Set member apid.
FwSizeType serializedSize() const
Get the dynamic serialized size of the struct.
bool operator!=(const FrameContext &obj) const
Inequality operator.
SerializeStatus
forward declaration for string
The size of the serial representation.
void set_sequenceCount(U16 sequenceCount)
Set member sequenceCount.
Fw::SerializeStatus serializeTo(Fw::SerializeBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG) const
Serialization.
Fw::SerializeStatus deserializeFrom(Fw::SerializeBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG)
Deserialization.
SerializeStatus serializeFrom(U8 val, Endianness mode=Endianness::BIG)
serialize 8-bit unsigned int
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
bool operator==(const FrameContext &obj) const
Equality operator.
void set_comQueueIndex(FwIndexType comQueueIndex)
Set member comQueueIndex.
PlatformIndexType FwIndexType
Type used to pass context info between components during framing/deframing.
void set(FwIndexType comQueueIndex, ComCfg::Apid::T apid, U16 sequenceCount, U8 vcId)
Set all members.
FwIndexType m_comQueueIndex
APIDs are 11 bits in the Space Packet protocol, so we use U16. Max value 7FF.
FrameContext & operator=(const FrameContext &obj)
Copy assignment operator.