]> sigrok.org Git - pulseview.git/blobdiff - pv/view/rowitemowner.hpp
RowItemOwner: Added list_by_type
[pulseview.git] / pv / view / rowitemowner.hpp
index d72dddb2f2300848ed9ed8ee2a3b772193fe1e60..f64b25920f3c06960436accccf8f4fbff5677a73 100644 (file)
@@ -124,6 +124,12 @@ public:
         */
        std::set< RowItemOwner* > list_row_item_owners();
 
+       /**
+        * Creates a list of decendant signals filtered by type.
+        */
+       template<class T>
+       std::set< std::shared_ptr<T> > list_by_type();
+
        /**
         * Computes the vertical extents of the contents of this row item owner.
         * @return A pair containing the minimum and maximum y-values.