summaryrefslogtreecommitdiff
path: root/gr-blocks/lib/ctrlport_probe2_f_impl.h
diff options
context:
space:
mode:
authorNate Goergen <nate.goergen.gitlab1@mile10.com>2015-03-19 12:12:10 -0400
committerTom Rondeau <tom@trondeau.com>2015-04-02 15:38:58 -0700
commit1a773a2411fa18455d2e995060fa2e9f42afc007 (patch)
tree836bd3c93b5036f3e495c6132f874a05906b9cff /gr-blocks/lib/ctrlport_probe2_f_impl.h
parent91459f9b06500ac16f555819ef3c20f2029483c8 (diff)
controlport: cleaner, more robust interface for buffer gets.
Diffstat (limited to 'gr-blocks/lib/ctrlport_probe2_f_impl.h')
-rw-r--r--gr-blocks/lib/ctrlport_probe2_f_impl.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/gr-blocks/lib/ctrlport_probe2_f_impl.h b/gr-blocks/lib/ctrlport_probe2_f_impl.h
index a4aa099237..8d406db927 100644
--- a/gr-blocks/lib/ctrlport_probe2_f_impl.h
+++ b/gr-blocks/lib/ctrlport_probe2_f_impl.h
@@ -25,7 +25,7 @@
#include <gnuradio/blocks/ctrlport_probe2_f.h>
#include <gnuradio/rpcregisterhelpers.h>
-#include <boost/thread/shared_mutex.hpp>
+#include <gnuradio/rpcbufferedget.h>
namespace gr {
namespace blocks {
@@ -37,11 +37,9 @@ namespace gr {
std::string d_desc;
size_t d_len;
unsigned int d_disp_mask;
- boost::shared_mutex mutex_buffer;
- mutable boost::mutex mutex_notify;
- boost::condition_variable condition_buffer_ready;
std::vector<float> d_buffer;
+ rpcbufferedget< std::vector<float> > buffered_get;
public:
ctrlport_probe2_f_impl(const std::string &id, const std::string &desc,
@@ -66,4 +64,3 @@ namespace gr {
} /* namespace gr */
#endif /* INCLUDED_CTRLPORT_PROBE2_F_IMPL_H */
-