X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdata%2Fsignalbase.hpp;h=a2d23244f0e1d007aad79543f909fce796c8ab0c;hp=635db6604bc0e314730375cda8456e2fdfb5b245;hb=06b6ce26694bdde31c7d5b703c4dda36f4a25938;hpb=64845ac28f7abf2a70b460bbf3b2840ab0c2b1b8 diff --git a/pv/data/signalbase.hpp b/pv/data/signalbase.hpp index 635db660..a2d23244 100644 --- a/pv/data/signalbase.hpp +++ b/pv/data/signalbase.hpp @@ -157,6 +157,11 @@ public: */ shared_ptr logic_data() const; + /** + * Queries the kind of conversion performed on this channel. + */ + ConversionType get_conversion_type() const; + /** * Changes the kind of conversion performed on this channel. */ @@ -209,7 +214,7 @@ protected: ChannelType channel_type_; shared_ptr data_; shared_ptr converted_data_; - int conversion_type_; + ConversionType conversion_type_; std::thread conversion_thread_; atomic conversion_interrupt_;