summaryrefslogtreecommitdiff
path: root/gr-blocks/lib/ctrlport_probe2_c_impl.h
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2013-07-16 14:55:28 -0700
committerJohnathan Corgan <johnathan@corganlabs.com>2013-07-16 15:03:10 -0700
commitaf206bb5fc1a255b48dbab344a2bba7581535cb0 (patch)
tree199adbce01307e132d2ab30184404ad2eb118a05 /gr-blocks/lib/ctrlport_probe2_c_impl.h
parentf0198da0bbf6af214b0d629cb77b8539ac42e02a (diff)
controlport: Added probes for byte, short, and int data types
(ctrlport_probe2_x). Had to add some more plumbing to ControlPort to handle different data types to support the new probes. TODO: in 3.8, we will remove ctrlport_probe_c and make a single GRC file for all data types and remove blocks_ctrlport_probe2_c.xml.
Diffstat (limited to 'gr-blocks/lib/ctrlport_probe2_c_impl.h')
-rw-r--r--gr-blocks/lib/ctrlport_probe2_c_impl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gr-blocks/lib/ctrlport_probe2_c_impl.h b/gr-blocks/lib/ctrlport_probe2_c_impl.h
index c58d97f078..15ff0f4ea2 100644
--- a/gr-blocks/lib/ctrlport_probe2_c_impl.h
+++ b/gr-blocks/lib/ctrlport_probe2_c_impl.h
@@ -36,6 +36,7 @@ namespace gr {
std::string d_id;
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;
@@ -43,7 +44,8 @@ namespace gr {
std::vector<gr_complex> d_buffer;
public:
- ctrlport_probe2_c_impl(const std::string &id, const std::string &desc, int len);
+ ctrlport_probe2_c_impl(const std::string &id, const std::string &desc,
+ int len, unsigned int disp_mask);
~ctrlport_probe2_c_impl();
void setup_rpc();