X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fsession.hpp;h=0828edbbf912cb3d8e09e18db94102df872ca1e1;hp=59060a591fdfd0d743ad83780dbcd066cdefbc01;hb=cbf0f87e496c9d9157591c94dc445aaa960fe79d;hpb=b48daed65bff5da5fddc6db11377b8730220865f diff --git a/pv/session.hpp b/pv/session.hpp index 59060a59..0828edbb 100644 --- a/pv/session.hpp +++ b/pv/session.hpp @@ -35,7 +35,7 @@ #define NOGDI #define NORESOURCE #endif -#include +#include #include #include @@ -114,9 +114,7 @@ public: std::set< std::shared_ptr > get_data() const; - boost::shared_mutex& signals_mutex() const; - - const std::unordered_set< std::shared_ptr >& + const std::unordered_set< std::shared_ptr > signals() const; #ifdef ENABLE_DECODE @@ -174,6 +172,8 @@ private: std::thread sampling_thread_; + bool out_of_memory_; + Q_SIGNALS: void capture_state_changed(int state); void device_selected();