projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Paint the unresolved area to show the decode progress
[pulseview.git]
/
pv
/
data
/
decoderstack.h
diff --git
a/pv/data/decoderstack.h
b/pv/data/decoderstack.h
index fe03df0aca3011f4f0d1d2c3a116621b6068e23c..4de7ae4c24ab85cdfd9e93e52c465f8d3ed6d105 100644
(file)
--- a/
pv/data/decoderstack.h
+++ b/
pv/data/decoderstack.h
@@
-76,6
+76,8
@@
public:
void push(boost::shared_ptr<decode::Decoder> decoder);
void remove(int index);
void push(boost::shared_ptr<decode::Decoder> decoder);
void remove(int index);
+ int64_t samples_decoded() const;
+
const std::vector< boost::shared_ptr<pv::view::decode::Annotation> >
annotations() const;
const std::vector< boost::shared_ptr<pv::view::decode::Annotation> >
annotations() const;
@@
-107,6
+109,7
@@
private:
std::list< boost::shared_ptr<decode::Decoder> > _stack;
mutable boost::mutex _mutex;
std::list< boost::shared_ptr<decode::Decoder> > _stack;
mutable boost::mutex _mutex;
+ int64_t _samples_decoded;
std::vector< boost::shared_ptr<pv::view::decode::Annotation> >
_annotations;
QString _error_message;
std::vector< boost::shared_ptr<pv::view::decode::Annotation> >
_annotations;
QString _error_message;