Don't use std:: in the code directly (where possible).
[pulseview.git] / pv / data / analog.hpp
index 6fd01e035208b0374bf44dfe59e7e1fc57646619..5b6e5ee8600acf15452f52b40d1f815b9fc04f2d 100644 (file)
 
 #include <QObject>
 
+using std::deque;
+using std::shared_ptr;
+using std::vector;
+
 namespace pv {
 namespace data {
 
@@ -39,13 +43,11 @@ class Analog : public QObject, public SignalData
 public:
        Analog();
 
-       void push_segment(
-               std::shared_ptr<AnalogSegment> &segment);
+       void push_segment(shared_ptr<AnalogSegment> &segment);
 
-       const std::deque< std::shared_ptr<AnalogSegment> >&
-               analog_segments() const;
+       const deque< shared_ptr<AnalogSegment> >& analog_segments() const;
 
-       std::vector< std::shared_ptr<Segment> > segments() const;
+       vector< shared_ptr<Segment> > segments() const;
 
        void clear();
 
@@ -61,7 +63,7 @@ Q_SIGNALS:
                uint64_t end_sample);
 
 private:
-       std::deque< std::shared_ptr<AnalogSegment> > segments_;
+       deque< shared_ptr<AnalogSegment> > segments_;
 };
 
 } // namespace data