17 #include "primarydriver.h"
18 #include "xnodeconnector.h"
28 Transaction &tr_meas,
const shared_ptr<XMeasure> &meas);
36 virtual void changeFunction(
int ch,
int x) = 0;
37 virtual void changeOutput(
int ch,
bool x) = 0;
38 virtual void changeValue(
int ch,
double x,
bool autorange) = 0;
39 virtual void changeRange(
int ch,
int x) = 0;
40 virtual void queryStatus(
Transaction &tr,
int ch) = 0;
41 virtual double max(
int ch,
bool autorange)
const = 0;
43 const shared_ptr<XComboNode> &
function()
const {
46 const shared_ptr<XBoolNode> &output()
const {
49 const shared_ptr<XDoubleNode> &value()
const {
52 const shared_ptr<XComboNode> &channel()
const {
55 const shared_ptr<XComboNode> &range()
const {
75 onChannelChanged(shot, channel().
get());
79 const shared_ptr<XScalarEntry> m_entryValue;
80 xqcon_ptr m_conFunction, m_conOutput, m_conValue, m_conChannel, m_conRange;
81 const shared_ptr<XComboNode> m_function;
82 const shared_ptr<XBoolNode> m_output;
83 const shared_ptr<XDoubleNode> m_value;
84 const shared_ptr<XComboNode> m_channel;
85 const shared_ptr<XComboNode> m_range;
86 shared_ptr<XListener> m_lsnFunction, m_lsnOutput, m_lsnValue, m_lsnChannel,
97 void finish(
const XTime &time_awared);