20 #include "xitemnode.h"
21 #include "xlistnode.h"
23 #include "xnodeconnector.h"
31 XScalarEntry(
const char *name,
bool runtime,
const shared_ptr<XDriver> &driver,
32 const char *format = 0L);
39 const shared_ptr<XDoubleNode> &delta()
const {
return m_delta;}
41 const shared_ptr<XBoolNode> &store()
const {
return m_store;}
43 const shared_ptr<XDoubleNode> &value()
const {
return m_value;}
44 const shared_ptr<XDoubleNode> &storedValue()
const {
return m_storedValue;}
48 shared_ptr<XDriver> driver()
const {
return m_driver.lock();}
55 Payload() : m_bTriggered(
false) {}
56 bool isTriggered()
const {
return m_bTriggered;}
63 const weak_ptr<XDriver> m_driver;
65 const shared_ptr<XDoubleNode> m_delta;
66 const shared_ptr<XBoolNode> m_store;
68 const shared_ptr<XDoubleNode> m_value;
69 const shared_ptr<XDoubleNode> m_storedValue;
87 XValChart(
const char *name,
bool runtime,
const shared_ptr<XScalarEntry> &entry);
90 const shared_ptr<XScalarEntry> &entry()
const {
return m_entry;}
92 shared_ptr<XListener> m_lsnOnRecord;
96 const shared_ptr<XScalarEntry> m_entry;
97 shared_ptr<XGraph> m_graph;
99 shared_ptr<XXYPlot> m_chart;
104 XChartList(
const char *name,
bool runtime,
const shared_ptr<XScalarEntryList> &entries);
107 shared_ptr<XListener> m_lsnOnCatchEntry;
108 shared_ptr<XListener> m_lsnOnReleaseEntry;
112 const shared_ptr<XScalarEntryList> m_entries;
117 XValGraph(
const char *name,
bool runtime,
118 Transaction &tr_entries,
const shared_ptr<XScalarEntryList> &entries);
122 void clearAllPoints();
126 const shared_ptr<tAxis> &axisX()
const {
return m_axisX;}
127 const shared_ptr<tAxis> &axisY1()
const {
return m_axisY1;}
128 const shared_ptr<tAxis> &axisZ()
const {
return m_axisZ;}
133 shared_ptr<XGraph> m_graph;
134 shared_ptr<XXYPlot> m_livePlot, m_storePlot;
140 shared_ptr<tAxis> m_axisX, m_axisY1, m_axisZ;
141 shared_ptr<XListener> m_lsnAxisChanged;
144 shared_ptr<XListener> m_lsnLiveChanged;
145 shared_ptr<XListener> m_lsnStoreChanged;
149 weak_ptr<XScalarEntryList> m_entries;
154 XGraphList(
const char *name,
bool runtime,
const shared_ptr<XScalarEntryList> &entries);
158 const shared_ptr<XScalarEntryList> &entries()
const {
return m_entries;}
160 const shared_ptr<XScalarEntryList> m_entries;