X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Frowitemowner.hpp;h=f64b25920f3c06960436accccf8f4fbff5677a73;hp=423351956d675b9600f7178a241e2bca5e58470d;hb=6046c19df08472d69aa06216136ea7fafaf25492;hpb=6e2c3c855dff36f6e946e2a54d576bea699f4a61 diff --git a/pv/view/rowitemowner.hpp b/pv/view/rowitemowner.hpp index 42335195..f64b2592 100644 --- a/pv/view/rowitemowner.hpp +++ b/pv/view/rowitemowner.hpp @@ -18,8 +18,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef PULSEVIEW_PV_VIEW_ROWITEMOWNER_H -#define PULSEVIEW_PV_VIEW_ROWITEMOWNER_H +#ifndef PULSEVIEW_PV_VIEW_ROWITEMOWNER_HPP +#define PULSEVIEW_PV_VIEW_ROWITEMOWNER_HPP #include #include @@ -118,6 +118,18 @@ public: */ const_iterator end() const; + /** + * Makes a list of row item owners of all the row items that are + * decendants of this item. + */ + std::set< RowItemOwner* > list_row_item_owners(); + + /** + * Creates a list of decendant signals filtered by type. + */ + template + std::set< std::shared_ptr > 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. @@ -138,4 +150,4 @@ private: } // view } // pv -#endif // PULSEVIEW_PV_VIEW_ROWITEMOWNER_H +#endif // PULSEVIEW_PV_VIEW_ROWITEMOWNER_HPP