namespace pv {
+class SigSession;
+
namespace view {
class LogicSignal;
}
static const int64_t DecodeChunkLength;
public:
- DecoderStack(const srd_decoder *const decoder);
+ DecoderStack(pv::SigSession &_session,
+ const srd_decoder *const decoder);
virtual ~DecoderStack();
int64_t samples_decoded() const;
- std::vector<decode::Row> get_rows() const;
+ std::vector<decode::Row> get_visible_rows() const;
/**
* Extracts sorted annotations between two period into a vector.
static void annotation_callback(srd_proto_data *pdata,
void *decoder);
+private slots:
+ void on_new_frame();
+
signals:
void new_decode_data();
private:
+ pv::SigSession &_session;
/**
* This mutex prevents more than one decode operation occuring