X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdata%2Flogic.h;h=739b52e86327caf42f788c46972cf28b680d0926;hp=e29427a6f3669ab889cc8e3b727d9202ed821b94;hb=caabb84c559023f179bf2c4600a5ebce34eab081;hpb=be73bdfa788fcc62bda3187cb1ba04fed2b9d721 diff --git a/pv/data/logic.h b/pv/data/logic.h index e29427a6..739b52e8 100644 --- a/pv/data/logic.h +++ b/pv/data/logic.h @@ -34,7 +34,7 @@ class LogicSnapshot; class Logic : public SignalData { public: - Logic(unsigned int num_probes, uint64_t samplerate); + Logic(unsigned int num_probes); int get_num_probes() const; @@ -44,6 +44,8 @@ public: std::deque< boost::shared_ptr >& get_snapshots(); + void clear(); + private: const unsigned int _num_probes; std::deque< boost::shared_ptr > _snapshots;