#include <libsigrokdecode/libsigrokdecode.h>
#include <pv/data/signalbase.hpp>
+#include <pv/util.hpp>
using std::list;
using std::unordered_set;
void remove_decoder(int index);
bool toggle_decoder_visibility(int index);
+ void begin_decode();
QString error_message() const;
const list<data::DecodeChannel> get_channels() const;
double samplerate() const;
const pv::util::Timestamp& start_time() const;
- int64_t sample_count() const;
- int64_t samples_decoded() const;
+
+ /**
+ * Returns the number of samples that can be worked on,
+ * i.e. the number of samples where samples are available
+ * for all connected channels.
+ */
+ int64_t get_working_sample_count() const;
+
+ int64_t get_decoded_sample_count() const;
vector<decode::Row> visible_rows() const;