projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Store annotations as objects emplaced in the vector
[pulseview.git]
/
pv
/
data
/
decoderstack.h
diff --git
a/pv/data/decoderstack.h
b/pv/data/decoderstack.h
index 4de7ae4c24ab85cdfd9e93e52c465f8d3ed6d105..58dd887145c62cc6bb98dfa18d43c316112b649b 100644
(file)
--- a/
pv/data/decoderstack.h
+++ b/
pv/data/decoderstack.h
@@
-78,12
+78,13
@@
public:
int64_t samples_decoded() const;
int64_t samples_decoded() const;
- const std::vector< boost::shared_ptr<pv::view::decode::Annotation> >
- annotations() const;
+ const std::vector<pv::view::decode::Annotation> annotations() const;
QString error_message();
QString error_message();
- void clear_snapshots();
+ void clear();
+
+ uint64_t get_max_sample_count() const;
void begin_decode();
void begin_decode();
@@
-110,8
+111,7
@@
private:
mutable boost::mutex _mutex;
int64_t _samples_decoded;
mutable boost::mutex _mutex;
int64_t _samples_decoded;
- std::vector< boost::shared_ptr<pv::view::decode::Annotation> >
- _annotations;
+ std::vector<pv::view::decode::Annotation> _annotations;
QString _error_message;
boost::thread _decode_thread;
QString _error_message;
boost::thread _decode_thread;