27#ifndef _nidas_dynld_raf_vcsel_serial_h_
28#define _nidas_dynld_raf_vcsel_serial_h_
35namespace nidas {
namespace dynld {
namespace raf {
64 bool process(
const Sample* samp,std::list<const Sample*>& results);
Interface of a DerivedDataClient of the DerivedDataReader.
Definition DerivedDataClient.h:37
Interface to a data sample.
Definition Sample.h:190
Support for a sensor that is sending packets on a TCP socket, a UDP socket, a Bluetooth RF Comm socke...
Definition SerialSensor.h:65
VCSEL Serial Sensor.
Definition VCSEL_Serial.h:44
int _atxRate
How often to send ATX to the VCSEL.
Definition VCSEL_Serial.h:76
VCSEL_Serial()
Definition VCSEL_Serial.cc:39
virtual void derivedDataNotify(const nidas::core::DerivedDataReader *s)
Method called on a DerivedDataClient by the DerivedDataReader thread when a new packet of derived dat...
Definition VCSEL_Serial.cc:69
int _hz_counter
25Hz sample index counter.
Definition VCSEL_Serial.h:82
virtual void sendAmbientTemperature(float atx)
Send the ambient temperature up to the VCSEL.
Definition VCSEL_Serial.cc:84
~VCSEL_Serial()
Definition VCSEL_Serial.cc:43
void open(int flags)
open the sensor and perform any intialization to the driver.
Definition VCSEL_Serial.cc:48
int getATXRate() const
Definition VCSEL_Serial.h:57
bool process(const Sample *samp, std::list< const Sample * > &results)
Process a raw sample, which in this case means do a sscanf on the character string contents,...
Definition VCSEL_Serial.cc:91
void setATXRate(int val)
Definition VCSEL_Serial.h:59
void close()
close my associated device.
Definition VCSEL_Serial.cc:61
The essential core classes of nidas.
Definition A2DConverter.h:31
Sample * getSample(sampleType type, unsigned int len)
A convienence method for getting a sample of an enumerated type from a pool.
Definition Sample.cc:70
Root namespace for the NCAR In-Situ Data Acquisition Software.
Definition A2DConverter.h:31