X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fdata%2Fdecoderstack.hpp;fp=pv%2Fdata%2Fdecoderstack.hpp;h=39e507e88c58a57cde8f605cfc01211b75ab1ea6;hb=f054289f67046e0c2d23d0f34eba94a681cc7ccd;hp=e8aeed10f2b09da3db62e8fbc82c317c383ed536;hpb=1df18f6b6d20abd3f1ede94325b6781bf5038ea9;p=pulseview.git diff --git a/pv/data/decoderstack.hpp b/pv/data/decoderstack.hpp index e8aeed1..39e507e 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.