17 #include "primarydriverwiththread.h"
18 #include "xnodeconnector.h"
27 XLIA(
const char *name,
bool runtime,
28 Transaction &tr_meas,
const shared_ptr<XMeasure> &meas);
43 const shared_ptr<XScalarEntry> &
valueX()
const {
return m_valueX;}
44 const shared_ptr<XScalarEntry> &valueY()
const {
return m_valueY;}
46 const shared_ptr<XDoubleNode> & output()
const {
return m_output;}
47 const shared_ptr<XDoubleNode> & frequency()
const {
return m_frequency;}
48 const shared_ptr<XComboNode> & sensitivity()
const {
return m_sensitivity;}
49 const shared_ptr<XComboNode> & timeConst()
const {
return m_timeConst;}
50 const shared_ptr<XBoolNode> & autoScaleX()
const {
return m_autoScaleX;}
51 const shared_ptr<XBoolNode> & autoScaleY()
const {
return m_autoScaleY;}
52 const shared_ptr<XDoubleNode> & fetchFreq()
const {
return m_fetchFreq;}
54 virtual void get(
double *cos,
double *sin) = 0;
55 virtual void changeOutput(
double volt) = 0;
56 virtual void changeFreq(
double freq) = 0;
57 virtual void changeSensitivity(
int) = 0;
58 virtual void changeTimeConst(
int) = 0;
60 const shared_ptr<XScalarEntry> m_valueX, m_valueY;
62 const shared_ptr<XDoubleNode> m_output;
63 const shared_ptr<XDoubleNode> m_frequency;
64 const shared_ptr<XComboNode> m_sensitivity;
65 const shared_ptr<XComboNode> m_timeConst;
66 const shared_ptr<XBoolNode> m_autoScaleX;
67 const shared_ptr<XBoolNode> m_autoScaleY;
68 const shared_ptr<XDoubleNode> m_fetchFreq;
69 shared_ptr<XListener> m_lsnOutput, m_lsnSens, m_lsnTimeConst, m_lsnFreq;
70 xqcon_ptr m_conSens, m_conTimeConst, m_conOutput, m_conFreq;
71 xqcon_ptr m_conAutoScaleX, m_conAutoScaleY, m_conFetchFreq;