ldas-tools-framecpp  2.9.3
Public Types | Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
FrameCPP::Common::crc_ldas Class Reference

#include <cksum_ldas.hh>

Public Types

typedef uint32_t value_type
 
typedef uint64_t size_type
 
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)
 
 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)
 
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)
 
template<>
void process_eight_byte_chunck (const value_type *&Current)
 
template<>
void process_eight_byte_chunck (const value_type *&Current)
 
template<>
void process_eight_byte_chunck (const value_type *&Current)
 
template<>
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/3]

◆ size_type [2/3]

◆ size_type [3/3]

◆ value_type [1/3]

◆ value_type [2/3]

◆ value_type [3/3]

Constructor & Destructor Documentation

◆ crc_ldas() [1/6]

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

◆ crc_ldas() [2/6]

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

◆ crc_ldas() [3/6]

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

◆ crc_ldas() [4/6]

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

◆ crc_ldas() [5/6]

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

◆ crc_ldas() [6/6]

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

Member Function Documentation

◆ checksum() [1/3]

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

◆ checksum() [2/3]

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

◆ checksum() [3/3]

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

◆ process_bytes() [1/3]

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

◆ process_bytes() [2/3]

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

◆ process_bytes() [3/3]

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

◆ process_eight_byte_chunck() [1/7]

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

◆ process_eight_byte_chunck() [2/7]

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

◆ process_eight_byte_chunck() [3/7]

template<>
void FrameCPP::Common::crc_ldas::process_eight_byte_chunck ( const value_type *&  Current)
inlineprivate

◆ process_eight_byte_chunck() [4/7]

template<>
void FrameCPP::Common::crc_ldas::process_eight_byte_chunck ( const value_type *&  Current)
inlineprivate

◆ process_eight_byte_chunck() [5/7]

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

◆ process_eight_byte_chunck() [6/7]

template<>
void FrameCPP::Common::crc_ldas::process_eight_byte_chunck ( const value_type *&  Current)
inlineprivate

◆ process_eight_byte_chunck() [7/7]

template<>
void FrameCPP::Common::crc_ldas::process_eight_byte_chunck ( const value_type *&  Current)
inlineprivate

◆ reset() [1/3]

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

◆ reset() [2/3]

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

◆ reset() [3/3]

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

◆ slice_by_1() [1/3]

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

◆ slice_by_1() [2/3]

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

◆ slice_by_1() [3/3]

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

◆ slice_by_8() [1/3]

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

◆ slice_by_8() [2/3]

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

◆ slice_by_8() [3/3]

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

static 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: