ldas-tools-framecpp 3.0.4
Loading...
Searching...
No Matches
FrameCPP::Common::crc_ldas Class Reference

#include <cksum_ldas.hh>

Inheritance diagram for FrameCPP::Common::crc_ldas:

Public Types

typedef uint32_t value_type
typedef uint64_t size_type
typedef uint32_t value_type
typedef uint64_t size_type

Public Member Functions

 crc_ldas ()
 crc_ldas (const crc_ldas &Source)
value_type checksum () const
void reset ()
void process_bytes (const void *Buffer, size_type NBytes)
 crc_ldas ()
 crc_ldas (const crc_ldas &Source)
value_type checksum () const
void reset ()
void process_bytes (const void *Buffer, size_type NBytes)

Private Member Functions

void slice_by_1 (const void *Data, size_t Length, value_type &crc) const
void slice_by_8 (const void *Data, size_t Length)
template<boost::endian::order ByteOrder>
void process_eight_byte_chunck (const value_type *&Current)
void slice_by_1 (const void *Data, size_t Length, value_type &crc) const
void slice_by_8 (const void *Data, size_t Length)
template<boost::endian::order ByteOrder>
void process_eight_byte_chunck (const value_type *&Current)

Private Attributes

value_type checksum_accumulator { 0 }

Static Private Attributes

static const value_type m_crctab [8][256]

Member Typedef Documentation

◆ size_type [1/2]

◆ size_type [2/2]

◆ value_type [1/2]

◆ value_type [2/2]

Constructor & Destructor Documentation

◆ crc_ldas() [1/4]

FrameCPP::Common::crc_ldas::crc_ldas ( )
inline

◆ crc_ldas() [2/4]

FrameCPP::Common::crc_ldas::crc_ldas ( const crc_ldas & Source)
inline

◆ crc_ldas() [3/4]

FrameCPP::Common::crc_ldas::crc_ldas ( )

◆ crc_ldas() [4/4]

FrameCPP::Common::crc_ldas::crc_ldas ( const crc_ldas & Source)

Member Function Documentation

◆ checksum() [1/2]

crc_ldas::value_type FrameCPP::Common::crc_ldas::checksum ( ) const
inline

◆ checksum() [2/2]

value_type FrameCPP::Common::crc_ldas::checksum ( ) const

◆ process_bytes() [1/2]

void FrameCPP::Common::crc_ldas::process_bytes ( const void * Buffer,
size_type NBytes )
inline

◆ process_bytes() [2/2]

void FrameCPP::Common::crc_ldas::process_bytes ( const void * Buffer,
size_type NBytes )

◆ process_eight_byte_chunck() [1/2]

template<boost::endian::order ByteOrder>
void FrameCPP::Common::crc_ldas::process_eight_byte_chunck ( const value_type *& Current)
private

◆ process_eight_byte_chunck() [2/2]

template<boost::endian::order ByteOrder>
void FrameCPP::Common::crc_ldas::process_eight_byte_chunck ( const value_type *& Current)
private

◆ reset() [1/2]

void FrameCPP::Common::crc_ldas::reset ( )
inline

◆ reset() [2/2]

void FrameCPP::Common::crc_ldas::reset ( )

◆ slice_by_1() [1/2]

void FrameCPP::Common::crc_ldas::slice_by_1 ( const void * Data,
size_t Length,
value_type & crc ) const
inlineprivate

◆ slice_by_1() [2/2]

void FrameCPP::Common::crc_ldas::slice_by_1 ( const void * Data,
size_t Length,
value_type & crc ) const
private

◆ slice_by_8() [1/2]

void FrameCPP::Common::crc_ldas::slice_by_8 ( const void * Data,
size_t Length )
inlineprivate

◆ slice_by_8() [2/2]

void FrameCPP::Common::crc_ldas::slice_by_8 ( const void * Data,
size_t Length )
private

Member Data Documentation

◆ checksum_accumulator

value_type FrameCPP::Common::crc_ldas::checksum_accumulator { 0 }
mutableprivate

◆ m_crctab

const value_type FrameCPP::Common::crc_ldas::m_crctab
staticprivate

These values were calculated using crc_ldas_data_builder


The documentation for this class was generated from the following files:
  • /home/abuild/rpmbuild/BUILD/ldas-tools-framecpp-3.0.4-build/ldas-tools-framecpp-3.0.4/build/include/framecpp/Common/cksum_ldas.hh
  • /home/abuild/rpmbuild/BUILD/ldas-tools-framecpp-3.0.4-build/ldas-tools-framecpp-3.0.4/src/Common/cksum_ldas.hh
  • /home/abuild/rpmbuild/BUILD/ldas-tools-framecpp-3.0.4-build/ldas-tools-framecpp-3.0.4/src/Common/cksum_ldas.cc