GM6000 Digital Heater Controller Branch: main
SDX-1330
List of all members | Public Member Functions
Cpl::Checksum::Fletcher16 Class Reference

This class provides an implementation for the 16 Bit wide Fletcher Checksum. More...

Detailed Description

This class provides an implementation for the 16 Bit wide Fletcher Checksum.

#include <Fletcher16.h>

Inheritance diagram for Cpl::Checksum::Fletcher16:
[legend]
Collaboration diagram for Cpl::Checksum::Fletcher16:
[legend]

Public Member Functions

 Fletcher16 () noexcept
 Constructor.
 
void reset (void) noexcept
 See Cpl::Checksum::Ap16.
 
void accumulate (const void *bytes, unsigned numbytes=1) noexcept
 See Cpl::Checksum::Ap16.
 
uint16_t finalize (void *destBuffer=0) noexcept
 See Cpl::Checksum::Ap16.
 
bool isOkay (void) noexcept
 See Cpl::Checksum::Ap16.
 
- Public Member Functions inherited from Cpl::Checksum::Api16
 ~Api16 ()
 Virtual destructor.
 

Constructor & Destructor Documentation

◆ Fletcher16()

Cpl::Checksum::Fletcher16::Fletcher16 ( )
noexcept

Constructor.

Member Function Documentation

◆ accumulate()

void Cpl::Checksum::Fletcher16::accumulate ( const void *  bytes,
unsigned  numbytes = 1 
)
virtualnoexcept

See Cpl::Checksum::Ap16.

Implements Cpl::Checksum::Api16.

◆ finalize()

uint16_t Cpl::Checksum::Fletcher16::finalize ( void *  destBuffer = 0)
virtualnoexcept

See Cpl::Checksum::Ap16.

Implements Cpl::Checksum::Api16.

◆ isOkay()

bool Cpl::Checksum::Fletcher16::isOkay ( void  )
virtualnoexcept

See Cpl::Checksum::Ap16.

Implements Cpl::Checksum::Api16.

◆ reset()

void Cpl::Checksum::Fletcher16::reset ( void  )
virtualnoexcept

See Cpl::Checksum::Ap16.

Implements Cpl::Checksum::Api16.


The documentation for this class was generated from the following file: