projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Provide notifiers for when signal data changes
[pulseview.git]
/
pv
/
data
/
logic.cpp
diff --git
a/pv/data/logic.cpp
b/pv/data/logic.cpp
index 9ba8f2c3d6e1a70ed761f88ea57d27dfff9d38a8..cd80ac99de13ca54384e9a7013239d68076f7823 100644
(file)
--- a/
pv/data/logic.cpp
+++ b/
pv/data/logic.cpp
@@
-62,6
+62,8
@@
vector< shared_ptr<Segment> > Logic::segments() const
void Logic::clear()
{
segments_.clear();
void Logic::clear()
{
segments_.clear();
+
+ samples_cleared();
}
uint64_t Logic::max_sample_count() const
}
uint64_t Logic::max_sample_count() const
@@
-74,5
+76,11
@@
uint64_t Logic::max_sample_count() const
return l;
}
return l;
}
+void Logic::notify_samples_added(QObject* segment, uint64_t start_sample,
+ uint64_t end_sample)
+{
+ samples_added(segment, start_sample, end_sample);
+}
+
} // namespace data
} // namespace pv
} // namespace data
} // namespace pv