]> sigrok.org Git - pulseview.git/blobdiff - pv/data/analogsnapshot.h
Make member variable underscores a suffix instead of a prefix
[pulseview.git] / pv / data / analogsnapshot.h
index 9c7f4d51ae982bc76cad204995cbcbbc380ec241..9e2e782ae124838c336da09e55b96d3680582c0a 100644 (file)
@@ -27,7 +27,7 @@
 #include <vector>
 
 namespace AnalogSnapshotTest {
-class Basic;
+struct Basic;
 }
 
 namespace pv {
@@ -66,7 +66,7 @@ private:
        static const uint64_t EnvelopeDataUnit;
 
 public:
-       AnalogSnapshot();
+       AnalogSnapshot(uint64_t expected_num_samples = 0);
 
        virtual ~AnalogSnapshot();
 
@@ -85,9 +85,9 @@ private:
        void append_payload_to_envelope_levels();
 
 private:
-       struct Envelope _envelope_levels[ScaleStepCount];
+       struct Envelope envelope_levels_[ScaleStepCount];
 
-       friend class AnalogSnapshotTest::Basic;
+       friend struct AnalogSnapshotTest::Basic;
 };
 
 } // namespace data