33 FW_ASSERT(this->m_bufferState == BufferOwnershipState::OWNED, static_cast<FwAssertArgType>(this->m_bufferState));
49 const U16 dataFieldStatus =
58 this->m_masterFrameCount++;
59 this->m_virtualFrameCount++;
86 status = frameSerializer.serializeFrom(trailer);
89 this->m_bufferState = BufferOwnershipState::NOT_OWNED;
100 void TmFramer ::dataReturnIn_handler(
FwIndexType portNum,
105 FW_ASSERT(frameBuffer.
getData() < &this->m_frameBuffer[0] +
sizeof(this->m_frameBuffer));
106 this->m_bufferState = BufferOwnershipState::OWNED;
Serialization/Deserialization operation was successful.
static U16 compute(const U8 *buffer, U32 length)
compute CRC16 for a buffer
~TmFramer()
Destroy TmFramer object.
Describes the frame trailer format for a Telemetry (TM) Transfer Frame.
SerializeStatus serializeFrom(U8 val, Endianness mode=Endianness::BIG) override
Serialize an 8-bit unsigned integer value.
void set_fecf(U16 fecf)
Set member fecf.
SerializeStatus
forward declaration for string
void comStatusOut_out(FwIndexType portNum, Fw::Success &condition) const
Invoke output port comStatusOut.
void dataOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context) const
Invoke output port dataOut.
Omit length from serialization.
U8 get_vcId() const
Get member vcId.
bool isConnected_comStatusOut_OutputPort(FwIndexType portNum) const
U16 get_firstHeaderPointer() const
Get member firstHeaderPointer.
FwSizeType getSize() const
void dataReturnOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context) const
Invoke output port dataReturnOut.
Auto-generated base for TmFramer component.
TmFramer(const char *const compName)
Construct TmFramer object.
PlatformIndexType FwIndexType
Type used to pass context info between components during framing/deframing.
RateGroupDivider component implementation.
The size of the serial representation.
ExternalSerializeBufferWithMemberCopy getSerializer()
PlatformAssertArgType FwAssertArgType
The type of arguments to assert functions.