46 static_cast<FwAssertArgType>(apid));
54 U16 packetSequenceControl = 0;
55 packetSequenceControl |=
57 packetSequenceControl |=
61 U16 packetDataLength =
62 static_cast<U16
>(data.
getSize() - 1);
71 status = frameSerializer.serializeFrom(header);
77 frameBuffer.
setSize(static_cast<Fw::Buffer::SizeType>(frameSize));
89 void SpacePacketFramer ::dataReturnIn_handler(
FwIndexType portNum,
Serialization/Deserialization operation was successful.
~SpacePacketFramer()
Destroy SpacePacketFramer object.
PlatformSizeType FwSizeType
void dataReturnOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context) const
Invoke output port dataReturnOut.
void setSize(FwSizeType size)
ComCfg::Apid::T get_apid() const
Get member apid.
SpacePacketFramer(const char *const compName)
Construct SpacePacketFramer object.
SerializeStatus
forward declaration for string
void bufferDeallocate_out(FwIndexType portNum, Fw::Buffer &fwBuffer) const
Invoke output port bufferDeallocate.
void comStatusOut_out(FwIndexType portNum, Fw::Success &condition) const
Invoke output port comStatusOut.
bool isConnected_comStatusOut_OutputPort(FwIndexType portNum) const
Omit length from serialization.
bool get_hasSecHdr() const
Get member hasSecHdr.
Fw::Buffer bufferAllocate_out(FwIndexType portNum, FwSizeType size) const
Invoke output port bufferAllocate.
Auto-generated base for SpacePacketFramer component.
FwSizeType getSize() const
U16 getApidSeqCount_out(FwIndexType portNum, const ComCfg::Apid &apid, U16 sequenceCount) const
Invoke output port getApidSeqCount.
PlatformIndexType FwIndexType
Type used to pass context info between components during framing/deframing.
void dataOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context) const
Invoke output port dataOut.
RateGroupDivider component implementation.
ExternalSerializeBufferWithMemberCopy getSerializer()
PlatformAssertArgType FwAssertArgType
The type of arguments to assert functions.