+ std::vector< std::shared_ptr<view::DecodeTrace> > _decode_traces;
+
+ mutable std::mutex _sampling_mutex;
+ capture_state _capture_state;
+
+ mutable std::mutex _signals_mutex;
+ std::vector< std::shared_ptr<view::Signal> > _signals;
+
+ mutable std::mutex _data_mutex;
+ std::shared_ptr<data::Logic> _logic_data;
+ std::shared_ptr<data::LogicSnapshot> _cur_logic_snapshot;
+ std::map< const sr_channel*, std::shared_ptr<data::AnalogSnapshot> >
+ _cur_analog_snapshots;
+
+ std::thread _sampling_thread;
+
+Q_SIGNALS:
+ void capture_state_changed(int state);