diff options
Diffstat (limited to 'gr-blocks/lib/message_strobe_impl.h')
-rw-r--r-- | gr-blocks/lib/message_strobe_impl.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gr-blocks/lib/message_strobe_impl.h b/gr-blocks/lib/message_strobe_impl.h index 0f37cd2e0e..3ce71af58f 100644 --- a/gr-blocks/lib/message_strobe_impl.h +++ b/gr-blocks/lib/message_strobe_impl.h @@ -46,6 +46,11 @@ namespace gr { pmt::pmt_t msg() const { return d_msg; } void set_period(float period_ms) { d_period_ms = period_ms; } float period() const { return d_period_ms; } + + // Overloading these to start and stop the internal thread that + // periodically produces the message. + bool start(); + bool stop(); }; } /* namespace blocks */ |