20#ifndef SRECORD_MEMORY_WALKER_CRC16_H
21#define SRECORD_MEMORY_WALKER_CRC16_H
33class memory_walker_crc16:
37 typedef std::shared_ptr<memory_walker_crc16>
pointer;
86 void observe(
unsigned long,
const void *,
int);
98 memory_walker_crc16(
const memory_walker_crc16 &);
103 memory_walker_crc16 &operator=(
const memory_walker_crc16 &);
The crc16 class is used to represent the running value of a 16-bit cyclic redundancy check of series ...
std::shared_ptr< memory_walker_crc16 > pointer
static pointer create(crc16::seed_mode_t seed_mode, bool augment_flag, unsigned short polynomial, crc16::bit_direction_t bitdir)
The create class method is used to create new dynamically allocated instances of this class.
unsigned get() const
The get method is used to get the CRC16 checksum once all memory chunks have been processed by calls ...
virtual ~memory_walker_crc16()
The destructror.
void observe(unsigned long, const void *, int)
The observe method is used by the memory walker to provide data.
memory_walker()
The default constructor.