]> sigrok.org Git - pulseview.git/blobdiff - pv/data/signalbase.hpp
Implement MathSignal
[pulseview.git] / pv / data / signalbase.hpp
index f646a40dcc24f7255822b6f4a9584a4f721c92b6..5a35218f3a2501e87d5e27ef8656532f27191e74 100644 (file)
@@ -128,6 +128,11 @@ public:
         */
        shared_ptr<sigrok::Channel> channel() const;
 
+       /**
+        * Returns whether this channel is generated or a channel associated with the device.
+        */
+       bool is_generated() const;
+
        /**
         * Returns enabled status of this channel.
         */
@@ -334,7 +339,6 @@ public:
 #endif
 
        virtual void save_settings(QSettings &settings) const;
-
        virtual void restore_settings(QSettings &settings);
 
        void start_conversion(bool delayed_start=false);