nidas  v1.2-1520
ParoSci_202BG_P.h
Go to the documentation of this file.
1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 4; tab-width: 4; -*-
2 // vim: set shiftwidth=4 softtabstop=4 expandtab:
3 /*
4  ********************************************************************
5  ** NIDAS: NCAR In-situ Data Acquistion Software
6  **
7  ** 2008, Copyright University Corporation for Atmospheric Research
8  **
9  ** This program is free software; you can redistribute it and/or modify
10  ** it under the terms of the GNU General Public License as published by
11  ** the Free Software Foundation; either version 2 of the License, or
12  ** (at your option) any later version.
13  **
14  ** This program is distributed in the hope that it will be useful,
15  ** but WITHOUT ANY WARRANTY; without even the implied warranty of
16  ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  ** GNU General Public License for more details.
18  **
19  ** The LICENSE.txt file accompanying this software contains
20  ** a copy of the GNU General Public License. If it is not found,
21  ** write to the Free Software Foundation, Inc.,
22  ** 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
23  **
24  ********************************************************************
25 */
26 #ifndef NIDAS_DYNLD_PAROSCI_202BG_P_h
27 #define NIDAS_DYNLD_PAROSCI_202BG_P_h
28 
29 #include "DSC_FreqCounter.h"
31 
32 using namespace nidas::core;
33 
34 namespace nidas { namespace dynld {
35 
36 class ParoSci_202BG_T;
37 
44 
45 public:
46 
48 
49  void init() throw(nidas::util::InvalidParameterException);
50 
56  bool process(const Sample*,std::list<const Sample*>& result)
57  throw();
58 
63  void createPressureSample(std::list<const Sample*>& result);
64 
65 private:
66 
67  void readParams(const std::list<const Parameter*>& params)
69 
70 
71  float _periodUsec;
72 
74 
76 
78 
80 
82 
85 
87  ParoSci_202BG_P& operator=(const ParoSci_202BG_P&);
88 
89 };
90 
91 }} // namespace nidas namespace dynld
92 
93 #endif
Sensor support for a ParoScientific 202BG temperature sensor connected to a Diamond Systems GPIO-MM c...
Definition: ParoSci_202BG_T.h:43
A class for reading ASCII files containing a time series of calibration data.
Definition: CalFile.h:164
unsigned int dsm_sample_id_t
Definition: Sample.h:63
long long dsm_time_t
Posix time in microseconds, the number of non-leap microseconds since 1970 Jan 1 00:00 UTC...
Definition: Sample.h:61
dsm_sample_id_t _tempSensorId
Definition: ParoSci_202BG_P.h:75
dsm_time_t _lastSampleTime
Definition: ParoSci_202BG_P.h:73
Sensor support for a ParoScientific 202BG pressure sensor connected to a Diamond Systems GPIO-MM card...
Definition: ParoSci_202BG_P.h:43
ParoSci_202BG_Calibration _calibrator
Definition: ParoSci_202BG_P.h:79
Sensor support for a frequency counter device.
Definition: DSC_FreqCounter.h:47
Interface to a data sample.
Definition: Sample.h:189
nidas::core::CalFile * _calfile
Definition: ParoSci_202BG_P.h:81
Support for reading a calibration file for a ParoScientific 202BG sensor.
Definition: ParoSci_202BG_Calibration.h:40
ParoSci_202BG_T * _tempSensor
Definition: ParoSci_202BG_P.h:77
Definition: InvalidParameterException.h:35
float _periodUsec
Definition: ParoSci_202BG_P.h:71