X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdata%2Fsignalbase.hpp;h=6a3af14b3f0115c64dee8f1438fc21accfc37168;hp=977a9cd68121f743e7e7070d67957e9d7e07081e;hb=558ad6ceb934ab7406d286c1a4ae08da4aba1448;hpb=65efd0258bc6a70806f7c832a32ac74ce489fa52 diff --git a/pv/data/signalbase.hpp b/pv/data/signalbase.hpp index 977a9cd6..6a3af14b 100644 --- a/pv/data/signalbase.hpp +++ b/pv/data/signalbase.hpp @@ -175,6 +175,12 @@ public: */ shared_ptr logic_data() const; + /** + * Determines whether a given segment is complete (i.e. end-of-frame has + * been seen). It only considers the original data, not the converted data. + */ + bool segment_is_complete(uint32_t segment_id) const; + /** * Queries the kind of conversion performed on this channel. */