#ifdef ENABLE_DECODE
bool is_decode_signal() const;
-
- shared_ptr<pv::data::DecoderStack> decoder_stack() const;
-
- void set_decoder_stack(shared_ptr<pv::data::DecoderStack> decoder_stack);
#endif
- void save_settings(QSettings &settings) const;
+ virtual void save_settings(QSettings &settings) const;
- void restore_settings(QSettings &settings);
+ virtual void restore_settings(QSettings &settings);
private:
uint8_t convert_a2l_threshold(float threshold, float value);
void on_capture_state_changed(int state);
-private:
+protected:
shared_ptr<sigrok::Channel> channel_;
ChannelType channel_type_;
shared_ptr<pv::data::SignalData> data_;
shared_ptr<pv::data::SignalData> converted_data_;
int conversion_type_;
-#ifdef ENABLE_DECODE
- shared_ptr<pv::data::DecoderStack> decoder_stack_;
-#endif
-
std::thread conversion_thread_;
QString internal_name_, name_;