X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fsigsession.h;h=4ce6131d4bd39f9a7daf09c43e3b2044aa290df9;hb=e332f6d399ecba201389c1e048239a7fe0cc87d5;hp=88c603e20127baeb171d97b3ddbb154762c5d7cf;hpb=deef291c50ddb212b82f5b1c0a5f597dd7d567e6;p=pulseview.git diff --git a/pv/sigsession.h b/pv/sigsession.h index 88c603e2..4ce6131d 100644 --- a/pv/sigsession.h +++ b/pv/sigsession.h @@ -25,6 +25,7 @@ #include #include +#include #include #include #include @@ -34,6 +35,9 @@ #include +struct srd_decoder; +struct srd_probe; + namespace pv { class DeviceManager; @@ -46,6 +50,7 @@ class LogicSnapshot; } namespace view { +class DecodeSignal; class Signal; } @@ -89,6 +94,10 @@ public: boost::shared_ptr get_data(); + void add_decoder(srd_decoder *const dec, + std::map > probes); + private: void set_capture_state(capture_state state); @@ -147,6 +156,8 @@ private: */ struct sr_dev_inst *_sdi; + std::vector< boost::shared_ptr > _decode_traces; + mutable boost::mutex _sampling_mutex; capture_state _capture_state;