34 FW_ASSERT(frameSize <= std::numeric_limits<Fw::Buffer::SizeType>::max(), static_cast<FwAssertArgType>(frameSize));
44 status = frameSerializer.serialize(header);
55 status = frameSerializer.serialize(trailer);
Serialization/Deserialization operation was successful.
#define HASH_DIGEST_LENGTH
The size of the serial representation.
PlatformSizeType FwSizeType
void setcrcField(U32 crcField)
Set member crcField.
Auto-generated base for FprimeFramer component.
SerializeStatus
forward declaration for string
void dataOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Invoke output port dataOut.
bool isConnected_comStatusOut_OutputPort(FwIndexType portNum)
Describes the frame trailer format for the F Prime communications protocol.
~FprimeFramer()
Destroy FprimeFramer object.
static void hash(const void *data, const FwSizeType len, HashBuffer &buffer)
void dataReturnOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Invoke output port dataReturnOut.
Omit length from serialization.
PlatformIndexType FwIndexType
U32 asBigEndianU32() const
Convert bytes 0 through 3 of the hash data to a big-Endian U32 value.
A container class for holding a hash buffer.
Fw::Buffer bufferAllocate_out(FwIndexType portNum, U32 size)
Invoke output port bufferAllocate.
Type used to pass context info between components during framing/deframing.
RateGroupDivider component implementation.
void bufferDeallocate_out(FwIndexType portNum, Fw::Buffer &fwBuffer)
Invoke output port bufferDeallocate.
void comStatusOut_out(FwIndexType portNum, Fw::Success &condition)
Invoke output port comStatusOut.
FprimeFramer(const char *const compName)
Construct FprimeFramer object.
ExternalSerializeBufferWithMemberCopy getSerializer()
PlatformAssertArgType FwAssertArgType
The type of arguments to assert functions.