ldas-tools-framecpp 3.0.4
Loading...
Searching...
No Matches
CheckSumCRC Class Reference

#include <CheckSum.hh>

Inheritance diagram for CheckSumCRC:
Collaboration diagram for CheckSumCRC:

Public Types

typedef cksum_ldas crc_type
typedef cksum_ldas crc_type
typedef CheckSum::value_type value_type
typedef CheckSum::value_type value_type
typedef INT_8U size_type
enum  kind_type {
  UNSET = -1 , NONE = 0 , CRC = 1 , UNSET = -1 ,
  NONE = 0 , CRC = 1
}
enum  kind_type {
  UNSET = -1 , NONE = 0 , CRC = 1 , UNSET = -1 ,
  NONE = 0 , CRC = 1
}

Public Member Functions

 CheckSumCRC ()
 CheckSumCRC (value_type Value)
 CheckSumCRC ()
 CheckSumCRC (value_type Value)
virtual CheckSumCRCClone () const
virtual CheckSumCRCClone () const
virtual void Reset ()
virtual void Reset ()
virtual void calc (const void *Buffer, size_type NBytes)
virtual void calc (const void *Buffer, size_type NBytes)
kind_type GetType () const
kind_type GetType () const
value_type value ()
 Things to be do to.
value_type value ()
 Things to be do to.

Static Public Member Functions

static CheckSumCreate (kind_type Type)
static CheckSumCreate (kind_type Type, value_type Value)
static CheckSumCreate (kind_type Type)
static CheckSumCreate (kind_type Type, value_type Value)
static std::string FormatError (value_type ExpectedValue, value_type CalculatedValue)
static std::string FormatError (value_type ExpectedValue, value_type CalculatedValue)

Protected Member Functions

 CheckSumCRC (const CheckSumCRC &Source)
 CheckSumCRC (const CheckSumCRC &Source)
virtual void finish ()
virtual void finish ()

Protected Attributes

crc_type crc_generator
value_type m_value

Private Attributes

bool m_active = true
kind_type m_type = UNSET

Member Typedef Documentation

◆ crc_type [1/2]

◆ crc_type [2/2]

◆ size_type

◆ value_type [1/2]

◆ value_type [2/2]

Member Enumeration Documentation

◆ kind_type [1/2]

Enumerator
UNSET 
NONE 
CRC 
UNSET 
NONE 
CRC 

◆ kind_type [2/2]

Enumerator
UNSET 
NONE 
CRC 
UNSET 
NONE 
CRC 

Constructor & Destructor Documentation

◆ CheckSumCRC() [1/6]

FrameCPP::Common::CheckSumCRC::CheckSumCRC ( )

◆ CheckSumCRC() [2/6]

FrameCPP::Common::CheckSumCRC::CheckSumCRC ( value_type Value)

◆ CheckSumCRC() [3/6]

FrameCPP::Common::CheckSumCRC::CheckSumCRC ( const CheckSumCRC & Source)
protected

◆ CheckSumCRC() [4/6]

FrameCPP::Common::CheckSumCRC::CheckSumCRC ( )

◆ CheckSumCRC() [5/6]

FrameCPP::Common::CheckSumCRC::CheckSumCRC ( value_type Value)

◆ CheckSumCRC() [6/6]

FrameCPP::Common::CheckSumCRC::CheckSumCRC ( const CheckSumCRC & Source)
protected

Member Function Documentation

◆ calc() [1/2]

void FrameCPP::Common::CheckSumCRC::calc ( const void * Buffer,
size_type NBytes )
virtual

◆ calc() [2/2]

virtual void FrameCPP::Common::CheckSumCRC::calc ( const void * Buffer,
size_type NBytes )
virtual

◆ Clone() [1/2]

CheckSumCRC * FrameCPP::Common::CheckSumCRC::Clone ( ) const
virtual

◆ Clone() [2/2]

virtual CheckSumCRC * FrameCPP::Common::CheckSumCRC::Clone ( ) const
virtual

◆ Create() [1/4]

CheckSum * FrameCPP::Common::CheckSum::Create ( kind_type Type)
staticinherited

◆ Create() [2/4]

CheckSum * FrameCPP::Common::CheckSum::Create ( kind_type Type)
staticinherited

◆ Create() [3/4]

CheckSum * FrameCPP::Common::CheckSum::Create ( kind_type Type,
value_type Value )
staticinherited

◆ Create() [4/4]

CheckSum * FrameCPP::Common::CheckSum::Create ( kind_type Type,
value_type Value )
staticinherited

◆ finish() [1/2]

void FrameCPP::Common::CheckSumCRC::finish ( )
protectedvirtual

◆ finish() [2/2]

virtual void FrameCPP::Common::CheckSumCRC::finish ( )
protectedvirtual

◆ FormatError() [1/2]

std::string FrameCPP::Common::CheckSum::FormatError ( value_type ExpectedValue,
value_type CalculatedValue )
staticinherited

◆ FormatError() [2/2]

std::string FrameCPP::Common::CheckSum::FormatError ( value_type ExpectedValue,
value_type CalculatedValue )
staticinherited

◆ GetType() [1/2]

CheckSum::kind_type FrameCPP::Common::CheckSum::GetType ( ) const
inlineinherited

◆ GetType() [2/2]

kind_type FrameCPP::Common::CheckSum::GetType ( ) const
inherited

◆ Reset() [1/2]

void FrameCPP::Common::CheckSumCRC::Reset ( )
virtual

Reimplemented from FrameCPP::Common::CheckSum.

◆ Reset() [2/2]

virtual void FrameCPP::Common::CheckSumCRC::Reset ( )
virtual

Reimplemented from FrameCPP::Common::CheckSum.

◆ value() [1/2]

CheckSum::value_type FrameCPP::Common::CheckSum::value ( )
inlineinherited

Things to be do to.

Things to do to complete the calculation

◆ value() [2/2]

value_type FrameCPP::Common::CheckSum::value ( )
inherited

Things to be do to.

Things to do to complete the calculation

Member Data Documentation

◆ crc_generator

crc_type FrameCPP::Common::CheckSumCRC::crc_generator
protected

◆ m_active

bool FrameCPP::Common::CheckSumCRC::m_active = true
private

◆ m_type

kind_type FrameCPP::Common::CheckSum::m_type = UNSET
privateinherited

◆ m_value

value_type FrameCPP::Common::CheckSum::m_value
protectedinherited

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/CheckSum.hh
  • /home/abuild/rpmbuild/BUILD/ldas-tools-framecpp-3.0.4-build/ldas-tools-framecpp-3.0.4/src/Common/CheckSum.hh
  • /home/abuild/rpmbuild/BUILD/ldas-tools-framecpp-3.0.4-build/ldas-tools-framecpp-3.0.4/src/Common/CheckSum.cc