X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fdata%2Fdecoderstack.hpp;h=39e507e88c58a57cde8f605cfc01211b75ab1ea6;hb=f054289f67046e0c2d23d0f34eba94a681cc7ccd;hp=e8aeed10f2b09da3db62e8fbc82c317c383ed536;hpb=2b81ae4682ade4109ffa442794de36ceb32045eb;p=pulseview.git diff --git a/pv/data/decoderstack.hpp b/pv/data/decoderstack.hpp index e8aeed10..39e507e8 100644 --- a/pv/data/decoderstack.hpp +++ b/pv/data/decoderstack.hpp @@ -67,7 +67,7 @@ class Decoder; class Logic; -class DecoderStack : public QObject, public SignalData +class DecoderStack : public QObject { Q_OBJECT @@ -87,6 +87,10 @@ public: void push(std::shared_ptr decoder); void remove(int index); + double samplerate() const; + + double start_time() const; + int64_t samples_decoded() const; std::vector get_visible_rows() const; @@ -131,6 +135,9 @@ Q_SIGNALS: private: pv::Session &session_; + double start_time_; + double samplerate_; + /** * This mutex prevents more than one decode operation occuring * concurrently.