nidas  v1.2-1520
Licor7500.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  ** 2014, 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 
27 #ifndef NIDAS_DYNLD_ISFF_LICOR7500_H
28 #define NIDAS_DYNLD_ISFF_LICOR7500_H
29 
32 
33 namespace nidas { namespace dynld { namespace isff {
34 
41 {
42 public:
43 
44  Licor7500();
45 
46  ~Licor7500();
47 
49 
50  bool process(const nidas::core::Sample* samp,std::list<const nidas::core::Sample*>& results)
51  throw();
52 
53 private:
54 
63  unsigned int _diagIndex;
64 
65  unsigned int _pcellIndex;
66 
67  unsigned int _tcellIndex;
68 
69  unsigned int _co2Index;
70 
71  unsigned int _h2oIndex;
72 
73  float _minDiag;
74 
75  float _maxDiag;
76 
77  float _minPcell;
78 
79  float _maxPcell;
80 
81  float _minTcell;
82 
83  float _maxTcell;
84 
85  // no copying
86  Licor7500(const Licor7500& x);
87 
88  // no assignment
89  Licor7500& operator=(const Licor7500& x);
90 
91 
92 };
93 
94 }}} // namespace nidas namespace dynld namespace isff
95 
96 #endif
float _minDiag
Definition: Licor7500.h:73
unsigned int _co2Index
Definition: Licor7500.h:69
float _maxDiag
Definition: Licor7500.h:75
float _minTcell
Definition: Licor7500.h:81
Support for a sensor that is sending packets on a TCP socket, a UDP socket, a Bluetooth RF Comm socke...
Definition: SerialSensor.h:64
float _minPcell
Definition: Licor7500.h:77
float _maxTcell
Definition: Licor7500.h:83
unsigned int _h2oIndex
Definition: Licor7500.h:71
bool process(const nidas::core::Sample *samp, std::list< const nidas::core::Sample * > &results)
Definition: Licor7500.cc:104
unsigned int _tcellIndex
Definition: Licor7500.h:67
Interface to a data sample.
Definition: Sample.h:189
unsigned int _diagIndex
In the validate() method the variables generated by this sensor class are scanned, and if one matches &quot;diag&quot; then its index, min and max values are copied to these class members.
Definition: Licor7500.h:63
unsigned int _pcellIndex
Definition: Licor7500.h:65
Sensor class for the Licor 7500 gas analyzer.
Definition: Licor7500.h:40
float _maxPcell
Definition: Licor7500.h:79
Licor7500()
Definition: Licor7500.cc:43
~Licor7500()
Definition: Licor7500.cc:58
Licor7500 & operator=(const Licor7500 &x)
void validate()
Implementation of DSMSensor::validate for a Character Sensor.
Definition: Licor7500.cc:62
Definition: InvalidParameterException.h:35