F´ Flight Software - C/C++ Documentation
NASA-v1.5.0
A framework for building embedded system applications to NASA flight quality standards.
|
Go to the documentation of this file.
13 #ifndef CFDP_Checksum_HPP
14 #define CFDP_Checksum_HPP
bool operator!=(const Checksum &checksum) const
Compare checksum and this for inequality.
#define PRIVATE
overridable private for unit testing
uint8_t U8
8-bit unsigned integer
void update(const U8 *const data, const U32 offset, const U32 length)
Update the checksum value by accumulating the words in the data.
void addByteAtOffset(const U8 byte, const U8 offset)
Add byte to value at offset in word.
U32 getValue(void) const
Get the checksum value.
Checksum()
Construct a fresh Checksum object.
void addWordUnaligned(const U8 *const word, const U8 position, const U8 length)
Add a four-byte unaligned word to the checksum value.
const Checksum & operator=(const Checksum &checksum)
Assign checksum to this.
bool operator==(const Checksum &checksum) const
Comapre checksum and this for equality.
~Checksum()
Destroy a Checksum object.
Class representing a CFDP checksum.
Declares ISF basic types.