14 #ifndef signalgeneratorH
15 #define signalgeneratorH
17 #include "primarydriver.h"
18 #include "xnodeconnector.h"
25 XSG(
const char *name,
bool runtime,
26 Transaction &tr_meas,
const shared_ptr<XMeasure> &meas);
33 double freq()
const {
return m_freq;}
54 const shared_ptr<XBoolNode> &
rfON()
const {
return m_rfON;}
55 const shared_ptr<XDoubleNode> &
freq()
const {
return m_freq;}
56 const shared_ptr<XDoubleNode> &
oLevel()
const {
return m_oLevel;}
57 const shared_ptr<XBoolNode> &
fmON()
const {
return m_fmON;}
58 const shared_ptr<XBoolNode> &
amON()
const {
return m_amON;}
60 virtual void changeFreq(
double mhz) = 0;
68 const shared_ptr<XBoolNode> m_rfON;
69 const shared_ptr<XDoubleNode> m_freq;
70 const shared_ptr<XDoubleNode> m_oLevel;
71 const shared_ptr<XBoolNode> m_fmON;
72 const shared_ptr<XBoolNode> m_amON;
74 std::deque<xqcon_ptr> m_conUIs;
75 shared_ptr<XListener> m_lsnRFON, m_lsnFreq, m_lsnOLevel, m_lsnFMON, m_lsnAMON;