7 #ifndef ComCfg_FrameContextSerializableAc_HPP 8 #define ComCfg_FrameContextSerializableAc_HPP 87 friend std::ostream& operator<<(
115 #if FW_SERIALIZABLE_TO_STRING
FrameContext()
Constructor (default value)
PlatformSizeType FwSizeType
ComCfg::Apid::T get_apid() const
Get member apid.
Fw::SerializeStatus serializeTo(Fw::SerialBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG) const
Serialization.
The size of the serial representation.
void set_apid(ComCfg::Apid::T apid)
Set member apid.
FwSizeType serializedSize() const
Get the dynamic serialized size of the struct.
void set_sendNow(bool sendNow)
Set member sendNow.
bool operator!=(const FrameContext &obj) const
Inequality operator.
FwIndexType get_comQueueIndex() const
Get member comQueueIndex.
SerializeStatus
forward declaration for string
The size of the serial representation.
bool get_sendNow() const
Get member sendNow.
U16 get_sequenceCount() const
Get member sequenceCount.
void set_sequenceCount(U16 sequenceCount)
Set member sequenceCount.
U8 get_vcId() const
Get member vcId.
Fw::SerializeStatus deserializeFrom(Fw::SerialBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG)
Deserialization.
void set_vcId(U8 vcId)
Set member vcId.
uint8_t U8
8-bit unsigned integer
bool operator==(const FrameContext &obj) const
Equality operator.
enum T e
The raw enum value.
void set_comQueueIndex(FwIndexType comQueueIndex)
Set member comQueueIndex.
PlatformIndexType FwIndexType
Type used to pass context info between components during framing/deframing.
FwIndexType m_comQueueIndex
APIDs are 11 bits in the Space Packet protocol, so we use U16. Max value 7FF.
Big endian serialization.
FrameContext & operator=(const FrameContext &obj)
Copy assignment operator.