]> sigrok.org Git - pulseview.git/blobdiff - pv/view/trace.hpp
Rework signaling mechanism for trace repainting
[pulseview.git] / pv / view / trace.hpp
index 731ed5dbd5980b38a26477b55920ddffc165069a..b6b15198451e74bbfd014e5591f8d451da531dfc 100644 (file)
@@ -38,6 +38,10 @@ class QFormLayout;
 
 namespace pv {
 
+namespace data {
+class SignalBase;
+}
+
 namespace widgets {
 class Popup;
 }
@@ -60,6 +64,11 @@ protected:
        Trace(shared_ptr<data::SignalBase> channel);
 
 public:
+       /**
+        * Returns the underlying SignalBase instance.
+        */
+       shared_ptr<data::SignalBase> base() const;
+
        /**
         * Sets the name of the signal.
         */