- LogicSignal(QString name,
- boost::shared_ptr<pv::data::Logic> data,
- int probe_index);
+ LogicSignal(pv::SigSession &session, const sr_probe *const probe,
+ boost::shared_ptr<pv::data::Logic> data);
+
+ virtual ~LogicSignal();
+
+ boost::shared_ptr<pv::data::Logic> data() const;
+
+ /**
+ * Paints the background layer of the signal with a QPainter
+ * @param p the QPainter to paint into.
+ * @param left the x-coordinate of the left edge of the signal.
+ * @param right the x-coordinate of the right edge of the signal.
+ **/
+ void paint_back(QPainter &p, int left, int right);