projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pv::prop::String: Do not create a widget if the initial value could not be retrieved
[pulseview.git]
/
pv
/
data
/
decoderstack.h
diff --git
a/pv/data/decoderstack.h
b/pv/data/decoderstack.h
index 4de7ae4c24ab85cdfd9e93e52c465f8d3ed6d105..e2139f5b5ca94969e4d704a6cc50ae8024af78c4 100644
(file)
--- a/
pv/data/decoderstack.h
+++ b/
pv/data/decoderstack.h
@@
-43,16
+43,12
@@
namespace pv {
namespace view {
class LogicSignal;
namespace view {
class LogicSignal;
-
-namespace decode {
-class Annotation;
-}
-
}
namespace data {
namespace decode {
}
namespace data {
namespace decode {
+class Annotation;
class Decoder;
}
class Decoder;
}
@@
-78,12
+74,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::data::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
+107,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::data::decode::Annotation> _annotations;
QString _error_message;
boost::thread _decode_thread;
QString _error_message;
boost::thread _decode_thread;