 |
F´ Flight Software - C/C++ Documentation
NASA-v2.0.1
A framework for building embedded system applications to NASA flight quality standards.
|
Go to the documentation of this file.
22 const U32 sequenceIndex,
33 return this->header.bufferSize() +
sizeof(this->checksumValue);
43 return this->toSerialBuffer(serialBuffer);
49 this->checksumValue = checksum.
getValue();
81 status = this->header.toSerialBuffer(serialBuffer);
85 status = serialBuffer.
serialize(this->checksumValue);
U32 bufferSize(void) const
Compute the buffer size needed to hold this EndPacket.
A variable-length serializable buffer.
SerializeStatus
forward declaration for string
SerializeStatus serialize(U8 val)
serialize 8-bit unsigned int
U32 getValue(void) const
Get the checksum value.
void initialize(const U32 sequenceIndex, const CFDP::Checksum &checksum)
Initialize an end packet.
@ FW_SERIALIZE_OK
Serialization/Deserialization operation was successful.
Header header
The packet header.
void setChecksum(const CFDP::Checksum &checksum)
Set the checksum.
void getChecksum(CFDP::Checksum &checksum) const
Get the checksum.
Class representing a CFDP checksum.
SerializeStatus deserialize(U8 &val)
deserialize 8-bit unsigned int
SerializeStatus toBuffer(Buffer &buffer) const
Convert this EndPacket to a Buffer.