projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Session: Enable logic data acquisition using gstreamer
[pulseview.git]
/
pv
/
data
/
analog.hpp
diff --git
a/pv/data/analog.hpp
b/pv/data/analog.hpp
index 30860ce18e4a0c4f98590629fd965c8a0326d3de..c0b9a0134d72d9b5028f75b5d19040a71d81c991 100644
(file)
--- a/
pv/data/analog.hpp
+++ b/
pv/data/analog.hpp
@@
-49,19
+49,27
@@
public:
vector< shared_ptr<Segment> > segments() const;
vector< shared_ptr<Segment> > segments() const;
+ uint32_t get_segment_count() const;
+
void clear();
void clear();
+ double get_samplerate() const;
+
uint64_t max_sample_count() const;
void notify_samples_added(QObject* segment, uint64_t start_sample,
uint64_t end_sample);
uint64_t max_sample_count() const;
void notify_samples_added(QObject* segment, uint64_t start_sample,
uint64_t end_sample);
+ void notify_min_max_changed(float min, float max);
+
Q_SIGNALS:
void samples_cleared();
void samples_added(QObject* segment, uint64_t start_sample,
uint64_t end_sample);
Q_SIGNALS:
void samples_cleared();
void samples_added(QObject* segment, uint64_t start_sample,
uint64_t end_sample);
+ void min_max_changed(float min, float max);
+
private:
deque< shared_ptr<AnalogSegment> > segments_;
};
private:
deque< shared_ptr<AnalogSegment> > segments_;
};