projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Renamed C++ headers to .hpp
[pulseview.git]
/
pv
/
data
/
analog.cpp
diff --git
a/pv/data/analog.cpp
b/pv/data/analog.cpp
index 78fd70e8750de70465160ba863bed89529cd6388..30cf5013033dd0f9cc8b002031769b109495c4b5 100644
(file)
--- a/
pv/data/analog.cpp
+++ b/
pv/data/analog.cpp
@@
-20,8
+20,8
@@
#include <cassert>
#include <cassert>
-#include "analog.h"
-#include "analogsnapshot.h"
+#include "analog.h
pp
"
+#include "analogsnapshot.h
pp
"
using std::deque;
using std::max;
using std::deque;
using std::max;
@@
-37,23
+37,23
@@
Analog::Analog() :
void Analog::push_snapshot(shared_ptr<AnalogSnapshot> &snapshot)
{
void Analog::push_snapshot(shared_ptr<AnalogSnapshot> &snapshot)
{
-
_snapshots
.push_front(snapshot);
+
snapshots_
.push_front(snapshot);
}
deque< shared_ptr<AnalogSnapshot> >& Analog::get_snapshots()
{
}
deque< shared_ptr<AnalogSnapshot> >& Analog::get_snapshots()
{
- return
_snapshots
;
+ return
snapshots_
;
}
void Analog::clear()
{
}
void Analog::clear()
{
-
_snapshots
.clear();
+
snapshots_
.clear();
}
uint64_t Analog::get_max_sample_count() const
{
uint64_t l = 0;
}
uint64_t Analog::get_max_sample_count() const
{
uint64_t l = 0;
- for (const std::shared_ptr<AnalogSnapshot> s :
_snapshots
) {
+ for (const std::shared_ptr<AnalogSnapshot> s :
snapshots_
) {
assert(s);
l = max(l, s->get_sample_count());
}
assert(s);
l = max(l, s->get_sample_count());
}