X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fdata%2Fdecoderstack.h;h=58dd887145c62cc6bb98dfa18d43c316112b649b;hb=db62bbfda512aeddca5b9d7b5960e9cf24b8859c;hp=4de7ae4c24ab85cdfd9e93e52c465f8d3ed6d105;hpb=5dfeb70fc60f1c4752697d8ad6f80e1415213197;p=pulseview.git diff --git a/pv/data/decoderstack.h b/pv/data/decoderstack.h index 4de7ae4..58dd887 100644 --- a/pv/data/decoderstack.h +++ b/pv/data/decoderstack.h @@ -78,12 +78,13 @@ public: int64_t samples_decoded() const; - const std::vector< boost::shared_ptr > - annotations() const; + const std::vector annotations() const; QString error_message(); - void clear_snapshots(); + void clear(); + + uint64_t get_max_sample_count() const; void begin_decode(); @@ -110,8 +111,7 @@ private: mutable boost::mutex _mutex; int64_t _samples_decoded; - std::vector< boost::shared_ptr > - _annotations; + std::vector _annotations; QString _error_message; boost::thread _decode_thread;