projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implemented zoom-fit
[pulseview.git]
/
pv
/
data
/
decoderstack.h
diff --git
a/pv/data/decoderstack.h
b/pv/data/decoderstack.h
index 8b9d29b2bf89e487c31bf12e030b98678d618e2c..dc656f91f7f9b503ff13a850cc35e0328a68a3f5 100644
(file)
--- a/
pv/data/decoderstack.h
+++ b/
pv/data/decoderstack.h
@@
-74,13
+74,18
@@
public:
const std::list< boost::shared_ptr<decode::Decoder> >& stack() const;
void push(boost::shared_ptr<decode::Decoder> decoder);
const std::list< boost::shared_ptr<decode::Decoder> >& stack() const;
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;
QString error_message();
const std::vector< boost::shared_ptr<pv::view::decode::Annotation> >
annotations() const;
QString error_message();
- void clear_snapshots();
+ void clear();
+
+ uint64_t get_max_sample_count() const;
void begin_decode();
void begin_decode();
@@
-106,6
+111,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;