X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fdata%2Fanalog.h;h=7e36edd6e8abd1b782dac745163f26f430660f69;hb=e8d009288de28cb194bc7964f96677c2baf900c9;hp=3a755159a59a8d66382770d6b5113abfee4f6ae8;hpb=b087ba7fd88610cbf54f6371367c7b9f9829dc63;p=pulseview.git diff --git a/pv/data/analog.h b/pv/data/analog.h index 3a755159..7e36edd6 100644 --- a/pv/data/analog.h +++ b/pv/data/analog.h @@ -23,8 +23,8 @@ #include "signaldata.h" -#include #include +#include namespace pv { namespace data { @@ -37,15 +37,17 @@ public: Analog(); void push_snapshot( - boost::shared_ptr &snapshot); + std::shared_ptr &snapshot); - std::deque< boost::shared_ptr >& + std::deque< std::shared_ptr >& get_snapshots(); - void clear_snapshots(); + void clear(); + + uint64_t get_max_sample_count() const; private: - std::deque< boost::shared_ptr > _snapshots; + std::deque< std::shared_ptr > _snapshots; }; } // namespace data