qmca  0.0.20
Public Member Functions | Private Attributes | List of all members
EpicsA2DConverter Class Reference

#include <epicsa2dconverter.h>

Inheritance diagram for EpicsA2DConverter:
Inheritance graph

Public Member Functions

 EpicsA2DConverter (QString pvName, QObject *parent=0)
 
virtual ~EpicsA2DConverter ()
 
EpicsEnumerationgain ()
 
EpicsEnumerationrange ()
 
EpicsIntegeroffset ()
 
EpicsDoublelowerLevelDiscrim ()
 
EpicsDoubleupperLevelDiscrim ()
 
EpicsDoublezeroOffset ()
 
EpicsBooleangateMode ()
 
EpicsBooleancoincidenceMode ()
 
EpicsBooleanpeakDetectMode ()
 
EpicsBooleanacquisitionMode ()
 
void setGain (int gain)
 
void setRange (int gain)
 
void setOffset (int gain)
 
void setLowerLevelDiscrim (double l)
 
void setUpperLevelDiscrim (double l)
 
void setCoincidence (int coinc)
 
- Public Member Functions inherited from EpicsDouble
 EpicsDouble (QString pvName, QObject *parent=0, int debug=0)
 
virtual ~EpicsDouble ()
 
void changeConnection (QString pv)
 
void connected ()
 
double value ()
 
- Public Member Functions inherited from EpicsObject
 EpicsObject (QString pvName, QObject *parent=0, int debug=0)
 
virtual ~EpicsObject ()
 
void changeConnection (QString pv)
 
int count ()
 
QString pvName ()
 
QString toolTip ()
 
virtual void disconnected ()
 
chid channelID ()
 
int debug ()
 
void setDebug (int dbg)
 
void settle (double t)
 
void ca_pend_io (double t)
 

Private Attributes

EpicsEnumeration m_Gain
 
EpicsEnumeration m_Range
 
EpicsInteger m_Offset
 
EpicsDouble m_LowerLevelDiscrim
 
EpicsDouble m_UpperLevelDiscrim
 
EpicsDouble m_ZeroOffset
 
EpicsBoolean m_GateMode
 
EpicsBoolean m_CoincidenceMode
 
EpicsBoolean m_PeakDetectMode
 
EpicsBoolean m_AcquisitionMode
 

Additional Inherited Members

- Public Slots inherited from EpicsDouble
void changeValue (dbr_gr_double val)
 
void caput (double val)
 
- Signals inherited from EpicsDouble
void valueChanged (double val)
 
void valueGraphicChanged (dbr_gr_double val)
 
- Signals inherited from EpicsObject
void valueChanged ()
 
- Static Public Attributes inherited from EpicsObject
static QMutex m_Mutex
 
- Protected Attributes inherited from EpicsObject
chid m_ChannelID
 
evid m_EventID
 
bool m_HasEventHandler
 
int m_Debug
 

Detailed Description

Definition at line 10 of file epicsa2dconverter.h.

Constructor & Destructor Documentation

EpicsA2DConverter::EpicsA2DConverter ( QString  pvName,
QObject *  parent = 0 
)

Definition at line 3 of file epicsa2dconverter.cpp.

4  : EpicsDouble(pvName, parent),
5  m_Gain(pvName+"GAIN"),
6  m_Range(pvName+"RANGE"),
7  m_Offset(pvName+"OFFSET"),
10  m_ZeroOffset(pvName+"ZERO"),
11  m_GateMode(pvName+"GMOD"),
12  m_CoincidenceMode(pvName+"CMOD"),
13  m_PeakDetectMode(pvName+"PMOD"),
15 {
16 }
EpicsBoolean m_GateMode
EpicsInteger m_Offset
QString pvName()
Definition: epicsobject.cpp:30
EpicsDouble m_ZeroOffset
EpicsDouble m_UpperLevelDiscrim
EpicsDouble m_LowerLevelDiscrim
EpicsEnumeration m_Gain
EpicsEnumeration m_Range
EpicsBoolean m_AcquisitionMode
EpicsDouble(QString pvName, QObject *parent=0, int debug=0)
Definition: epicsdouble.cpp:6
EpicsBoolean m_PeakDetectMode
EpicsBoolean m_CoincidenceMode
EpicsA2DConverter::~EpicsA2DConverter ( )
virtual

Definition at line 18 of file epicsa2dconverter.cpp.

19 {
20 }

Member Function Documentation

EpicsBoolean* EpicsA2DConverter::acquisitionMode ( )
inline

Definition at line 28 of file epicsa2dconverter.h.

References m_AcquisitionMode.

28 { return &m_AcquisitionMode; }
EpicsBoolean m_AcquisitionMode
EpicsBoolean* EpicsA2DConverter::coincidenceMode ( )
inline

Definition at line 26 of file epicsa2dconverter.h.

References m_CoincidenceMode.

26 { return &m_CoincidenceMode; }
EpicsBoolean m_CoincidenceMode
EpicsEnumeration* EpicsA2DConverter::gain ( )
inline

Definition at line 19 of file epicsa2dconverter.h.

References m_Gain.

Referenced by A2DConverterControlPanel::append().

19 { return &m_Gain; }
EpicsEnumeration m_Gain
EpicsBoolean* EpicsA2DConverter::gateMode ( )
inline

Definition at line 25 of file epicsa2dconverter.h.

References m_GateMode.

25 { return &m_GateMode; }
EpicsBoolean m_GateMode
EpicsDouble* EpicsA2DConverter::lowerLevelDiscrim ( )
inline

Definition at line 22 of file epicsa2dconverter.h.

References m_LowerLevelDiscrim.

Referenced by A2DConverterControlPanel::append().

22 { return &m_LowerLevelDiscrim; }
EpicsDouble m_LowerLevelDiscrim
EpicsInteger* EpicsA2DConverter::offset ( )
inline

Definition at line 21 of file epicsa2dconverter.h.

References m_Offset.

Referenced by A2DConverterControlPanel::append().

21 { return &m_Offset; }
EpicsInteger m_Offset
EpicsBoolean* EpicsA2DConverter::peakDetectMode ( )
inline

Definition at line 27 of file epicsa2dconverter.h.

References m_PeakDetectMode.

27 { return &m_PeakDetectMode; }
EpicsBoolean m_PeakDetectMode
EpicsEnumeration* EpicsA2DConverter::range ( )
inline

Definition at line 20 of file epicsa2dconverter.h.

References m_Range.

Referenced by A2DConverterControlPanel::append().

20 { return &m_Range; }
EpicsEnumeration m_Range
void EpicsA2DConverter::setCoincidence ( int  coinc)

Definition at line 23 of file epicsa2dconverter.cpp.

References EpicsBoolean::caput(), and m_GateMode.

Referenced by BM12Controller::selectSCA().

24 {
25  m_GateMode.caput(coinc);
26 }
EpicsBoolean m_GateMode
void caput(bool val)
void EpicsA2DConverter::setGain ( int  gain)

Definition at line 28 of file epicsa2dconverter.cpp.

References EpicsEnumeration::caput(), and m_Gain.

Referenced by BM12Controller::BM12Controller().

29 {
30  m_Gain.caput(gain);
31 }
void caput(int val)
EpicsEnumeration * gain()
EpicsEnumeration m_Gain
void EpicsA2DConverter::setLowerLevelDiscrim ( double  l)

Definition at line 43 of file epicsa2dconverter.cpp.

References EpicsDouble::caput(), and m_LowerLevelDiscrim.

Referenced by BM12Controller::BM12Controller().

44 {
46 }
EpicsDouble m_LowerLevelDiscrim
void caput(double val)
void EpicsA2DConverter::setOffset ( int  gain)

Definition at line 38 of file epicsa2dconverter.cpp.

References EpicsInteger::caput(), and m_Offset.

Referenced by BM12Controller::BM12Controller().

39 {
40  m_Offset.caput(off);
41 }
EpicsInteger m_Offset
void caput(int val)
void EpicsA2DConverter::setRange ( int  gain)

Definition at line 33 of file epicsa2dconverter.cpp.

References EpicsEnumeration::caput(), and m_Range.

Referenced by BM12Controller::BM12Controller().

34 {
35  m_Range.caput(rng);
36 }
void caput(int val)
EpicsEnumeration m_Range
void EpicsA2DConverter::setUpperLevelDiscrim ( double  l)

Definition at line 48 of file epicsa2dconverter.cpp.

References EpicsDouble::caput(), and m_UpperLevelDiscrim.

Referenced by BM12Controller::BM12Controller().

49 {
51 }
EpicsDouble m_UpperLevelDiscrim
void caput(double val)
EpicsDouble* EpicsA2DConverter::upperLevelDiscrim ( )
inline

Definition at line 23 of file epicsa2dconverter.h.

References m_UpperLevelDiscrim.

Referenced by A2DConverterControlPanel::append().

23 { return &m_UpperLevelDiscrim; }
EpicsDouble m_UpperLevelDiscrim
EpicsDouble* EpicsA2DConverter::zeroOffset ( )
inline

Definition at line 24 of file epicsa2dconverter.h.

References m_ZeroOffset.

24 { return &m_ZeroOffset; }
EpicsDouble m_ZeroOffset

Member Data Documentation

EpicsBoolean EpicsA2DConverter::m_AcquisitionMode
private

Definition at line 48 of file epicsa2dconverter.h.

Referenced by acquisitionMode().

EpicsBoolean EpicsA2DConverter::m_CoincidenceMode
private

Definition at line 46 of file epicsa2dconverter.h.

Referenced by coincidenceMode().

EpicsEnumeration EpicsA2DConverter::m_Gain
private

Definition at line 39 of file epicsa2dconverter.h.

Referenced by gain(), and setGain().

EpicsBoolean EpicsA2DConverter::m_GateMode
private

Definition at line 45 of file epicsa2dconverter.h.

Referenced by gateMode(), and setCoincidence().

EpicsDouble EpicsA2DConverter::m_LowerLevelDiscrim
private

Definition at line 42 of file epicsa2dconverter.h.

Referenced by lowerLevelDiscrim(), and setLowerLevelDiscrim().

EpicsInteger EpicsA2DConverter::m_Offset
private

Definition at line 41 of file epicsa2dconverter.h.

Referenced by offset(), and setOffset().

EpicsBoolean EpicsA2DConverter::m_PeakDetectMode
private

Definition at line 47 of file epicsa2dconverter.h.

Referenced by peakDetectMode().

EpicsEnumeration EpicsA2DConverter::m_Range
private

Definition at line 40 of file epicsa2dconverter.h.

Referenced by range(), and setRange().

EpicsDouble EpicsA2DConverter::m_UpperLevelDiscrim
private

Definition at line 43 of file epicsa2dconverter.h.

Referenced by setUpperLevelDiscrim(), and upperLevelDiscrim().

EpicsDouble EpicsA2DConverter::m_ZeroOffset
private

Definition at line 44 of file epicsa2dconverter.h.

Referenced by zeroOffset().


The documentation for this class was generated from the following files: