]> sigrok.org Git - pulseview.git/blobdiff - pv/data/signalbase.hpp
Channels: Let "Enable all changing" also check for sample data
[pulseview.git] / pv / data / signalbase.hpp
index efe4a54abe484bbd571a1209aacdad6d729beaff..3356af5b786ad3fefeace38f7d42fe32dc7bdfa7 100644 (file)
@@ -187,6 +187,11 @@ public:
         */
        bool segment_is_complete(uint32_t segment_id) const;
 
         */
        bool segment_is_complete(uint32_t segment_id) const;
 
+       /**
+        * Determines whether this signal has any sample data at all.
+        */
+       bool has_samples() const;
+
        /**
         * Queries the kind of conversion performed on this channel.
         */
        /**
         * Queries the kind of conversion performed on this channel.
         */