Public Member Functions | Static Protected Attributes | List of all members
cCRC_DSACON32m Class Reference

A derived CRC class that uses a CRC table and initial value suitable for the Weiss Robotics DSACON32m controller. More...

#include <crc.h>

Inheritance diagram for cCRC_DSACON32m:
Inheritance graph
[legend]

Public Member Functions

 cCRC_DSACON32m (void)
 constructor to create a cCRC object suitable for checksumming the communication with a DSACON32m tactile sensor controller More...
 
- Public Member Functions inherited from cCRC
tCRCValue AddByte (unsigned char byte)
 insert byte into CRC calculation and return the new current CRC checksum More...
 
tCRCValue AddBytes (unsigned char *bytes, int nb_bytes)
 insert nb_bytes from bytes into CRC calculation and return the new current CRC checksum More...
 
 cCRC (tCRCValue const *_crc_table, tCRCValue _initial_value)
 constructor: create a new cCRC object and initialize the current value of the CRC checksum. crc_table is the CRC table to use. More...
 
tCRCValue GetCRC ()
 return the current CRC value More...
 
UInt8 GetCRC_HB ()
 return the high byte of the current CRC value More...
 
UInt8 GetCRC_LB ()
 return the low byte of the current CRC value More...
 
tCRCValue Reset ()
 reset the current CRC value to its initial value and return it; More...
 

Static Protected Attributes

static tCRCValue const crc_table_dsacon32m [256]
 the CRC table used by the DSACON32m controller More...
 

Additional Inherited Members

- Protected Attributes inherited from cCRC
tCRCValue const * crc_table
 table with precalculated CRC values More...
 
tCRCValue current_crc
 current value of the CRC checksum More...
 
tCRCValue initial_value
 initial value of the CRC checksum More...
 

Detailed Description

A derived CRC class that uses a CRC table and initial value suitable for the Weiss Robotics DSACON32m controller.

Definition at line 147 of file crc.h.

Constructor & Destructor Documentation

cCRC_DSACON32m::cCRC_DSACON32m ( void  )
inline

constructor to create a cCRC object suitable for checksumming the communication with a DSACON32m tactile sensor controller

Definition at line 155 of file crc.h.

Member Data Documentation

USING_NAMESPACE_SDH tCRCValue const cCRC_DSACON32m::crc_table_dsacon32m
staticprotected

the CRC table used by the DSACON32m controller

Definition at line 151 of file crc.h.


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


sdhlibrary_cpp
Author(s): Dirk Osswald
autogenerated on Sun Aug 18 2019 03:42:20