userlevelmeter.h
1 /***************************************************************************
2  Copyright (C) 2002-2015 Kentaro Kitagawa
3  kitagawa@phys.s.u-tokyo.ac.jp
4 
5  This program is free software; you can redistribute it and/or
6  modify it under the terms of the GNU Library General Public
7  License as published by the Free Software Foundation; either
8  version 2 of the License, or (at your option) any later version.
9 
10  You should have received a copy of the GNU Library General
11  Public License and a list of authors along with this program;
12  see the files COPYING and AUTHORS.
13 ***************************************************************************/
14 //---------------------------------------------------------------------------
15 #ifndef userlevelmeterH
16 #define userlevelmeterH
17 
18 #include "levelmeter.h"
19 #include "oxforddriver.h"
20 //---------------------------------------------------------------------------
21 //OXFORD ILM helim level meter
22 class XILM : public XOxfordDriver<XLevelMeter> {
23 public:
24  XILM(const char *name, bool runtime,
25  Transaction &tr_meas, const shared_ptr<XMeasure> &meas);
26  virtual ~XILM() {}
27 protected:
28  virtual double getLevel(unsigned int ch);
29 };
30 
31 //LakeShore LM-500 level meter
32 class XLM500 : public XCharDeviceDriver<XLevelMeter> {
33 public:
34  XLM500(const char *name, bool runtime,
35  Transaction &tr_meas, const shared_ptr<XMeasure> &meas);
36  virtual ~XLM500() {}
37 protected:
38  virtual double getLevel(unsigned int ch);
39 };
40 #endif
41 

Generated for KAME4 by  doxygen 1.8.3