summaryrefslogtreecommitdiff
path: root/mblock/src/lib/mb_timer_queue.h
diff options
context:
space:
mode:
authorjcorgan2009-07-20 03:47:14 +0000
committerjcorgan2009-07-20 03:47:14 +0000
commit6f50256f958ac60d5fc9212b24d86777c1b2ec0d (patch)
treeafdde009cf81d93bcb84027937c62ef71194d9fd /mblock/src/lib/mb_timer_queue.h
parentaff2d8ad842994b1f58e0dc56b7d2fd6229377a9 (diff)
downloadgnuradio-6f50256f958ac60d5fc9212b24d86777c1b2ec0d.tar.gz
gnuradio-6f50256f958ac60d5fc9212b24d86777c1b2ec0d.tar.bz2
gnuradio-6f50256f958ac60d5fc9212b24d86777c1b2ec0d.zip
Merged r11452:11459 from jcorgan/pmt-gruel into trunk. Trunk passes distcheck.
* Merges libpmt into libgruel * Modifies libmblock to use libgruel gruel::pmt_t will be the fundamental msg content for the new message passing implemention for 3.3. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11460 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'mblock/src/lib/mb_timer_queue.h')
-rw-r--r--mblock/src/lib/mb_timer_queue.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/mblock/src/lib/mb_timer_queue.h b/mblock/src/lib/mb_timer_queue.h
index e8b8e1b64..8dcf53383 100644
--- a/mblock/src/lib/mb_timer_queue.h
+++ b/mblock/src/lib/mb_timer_queue.h
@@ -1,6 +1,6 @@
/* -*- c++ -*- */
/*
- * Copyright 2007,2008 Free Software Foundation, Inc.
+ * Copyright 2007,2008,2009 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
@@ -25,7 +25,7 @@
#include <mblock/time.h>
#include <vector>
#include <queue>
-#include <pmt.h>
+#include <gruel/pmt.h>
#include <mblock/msg_accepter.h>
class mb_timeout {
@@ -33,19 +33,19 @@ public:
mb_time d_when; // absolute time to fire timeout
mb_time d_delta; // if periodic, delta_t to next timeout
bool d_is_periodic; // true iff this is a periodic timeout
- pmt_t d_user_data; // data from %timeout msg
- pmt_t d_handle; // handle for cancellation
+ gruel::pmt_t d_user_data; // data from %timeout msg
+ gruel::pmt_t d_handle; // handle for cancellation
mb_msg_accepter_sptr d_accepter; // where to send the message
// one-shot constructor
mb_timeout(const mb_time &abs_time,
- pmt_t user_data, mb_msg_accepter_sptr accepter);
+ gruel::pmt_t user_data, mb_msg_accepter_sptr accepter);
// periodic constructor
mb_timeout(const mb_time &first_abs_time, const mb_time &delta_time,
- pmt_t user_data, mb_msg_accepter_sptr accepter);
+ gruel::pmt_t user_data, mb_msg_accepter_sptr accepter);
- pmt_t handle() const { return d_handle; }
+ gruel::pmt_t handle() const { return d_handle; }
};
typedef boost::shared_ptr<mb_timeout> mb_timeout_sptr;
@@ -67,7 +67,7 @@ class mb_timer_queue : public std::priority_queue<mb_timeout_sptr,
timeout_later>
{
public:
- void cancel(pmt_t handle);
+ void cancel(gruel::pmt_t handle);
};
#endif /* INCLUDED_MB_TIMER_QUEUE_H */