#include <unordered_set>
#include <vector>
+#include <QDebug>
#include <QSettings>
#include <libsigrokdecode/libsigrokdecode.h>
// Constructor is a no-op
DecodeSegment() { };
// Copy constructor is a no-op
- DecodeSegment(DecodeSegment&& ds) { (void)ds; };
+ DecodeSegment(DecodeSegment&& ds) { (void)ds; qCritical() << "Empty DecodeSegment copy constructor called"; };
map<const Row*, RowData> annotation_rows; // Note: Row is the same for all segments while RowData is not
pv::util::Timestamp start_time;
void stop_srd_session();
void connect_input_notifiers();
+ void disconnect_input_notifiers();
+ void connect_input_segment_notifiers(uint32_t segment_id);
+ void disconnect_input_segment_notifiers(uint32_t segment_id);
void create_decode_segment();
void on_capture_state_changed(int state);
void on_data_cleared();
void on_data_received();
+ void on_input_segment_completed();
void on_annotation_visibility_changed();
vector< shared_ptr<Decoder> > stack_;
bool stack_config_changed_;
- vector<DecodeSegment> segments_;
+ deque<DecodeSegment> segments_;
uint32_t current_segment_id_;
mutable mutex input_mutex_, output_mutex_, decode_pause_mutex_, logic_mux_mutex_;