27 #ifndef NIDAS_DYNLD_ISFF_CU_COLDWIRE_H
28 #define NIDAS_DYNLD_ISFF_CU_COLDWIRE_H
33 namespace nidas {
namespace dynld {
namespace isff {
53 bool process(
const Sample* samp,std::list<const nidas::core::Sample*>& results)
59 static unsigned char checksum(
const unsigned char* buf,
const unsigned char* eob);
bool process(const Sample *samp, std::list< const nidas::core::Sample * > &results)
Definition: CU_Coldwire.cc:84
~CU_Coldwire()
Definition: CU_Coldwire.cc:51
unsigned int dsm_sample_id_t
Definition: Sample.h:63
Support for a sensor that is sending packets on a TCP socket, a UDP socket, a Bluetooth RF Comm socke...
Definition: SerialSensor.h:64
A class for parsing the binary output of Dale Lawrence's cold-wire sensor package.
Definition: CU_Coldwire.h:42
static unsigned char checksum(const unsigned char *buf, const unsigned char *eob)
Calculate the checksum of a data record.
Definition: CU_Coldwire.cc:67
unsigned int _badChecksums
Counter of the number of records with incorrect checksums.
Definition: CU_Coldwire.h:73
bool reportBadChecksum()
Definition: CU_Coldwire.cc:76
unsigned int _nsamps
Number of configured samples.
Definition: CU_Coldwire.h:68
Interface to a data sample.
Definition: Sample.h:189
CU_Coldwire()
Definition: CU_Coldwire.cc:45
void validate()
Implementation of DSMSensor::validate for a Character Sensor.
Definition: CU_Coldwire.cc:55
Definition: InvalidParameterException.h:35