+ /**
+ * Sets the internal data object.
+ */
+ void set_data(std::shared_ptr<pv::data::SignalData> data);
+
+ /**
+ * Get the internal data as analog data object in case of analog type.
+ */
+ std::shared_ptr<pv::data::Analog> analog_data() const;
+
+ /**
+ * Get the internal data as logic data object in case of logic type.
+ */
+ std::shared_ptr<pv::data::Logic> logic_data() const;
+
+#ifdef ENABLE_DECODE
+ bool is_decode_signal() const;
+
+ std::shared_ptr<pv::data::DecoderStack> decoder_stack() const;
+
+ void set_decoder_stack(std::shared_ptr<pv::data::DecoderStack>
+ decoder_stack);
+#endif
+
+ void save_settings(QSettings &settings) const;
+
+ void restore_settings(QSettings &settings);
+