GNU Radio 3.6.5 C++ API
|
#include <message_strobe_impl.h>
Public Member Functions | |
message_strobe_impl (pmt::pmt_t msg, float period_ms) | |
~message_strobe_impl () | |
void | set_msg (pmt::pmt_t msg) |
pmt::pmt_t | msg () const |
void | set_period (float period_ms) |
float | period () const |
gr::blocks::message_strobe_impl::message_strobe_impl | ( | pmt::pmt_t | msg, |
float | period_ms | ||
) |
gr::blocks::message_strobe_impl::~message_strobe_impl | ( | ) |
pmt::pmt_t gr::blocks::message_strobe_impl::msg | ( | ) | const [inline, virtual] |
Get the value of the message being sent.
Implements gr::blocks::message_strobe.
float gr::blocks::message_strobe_impl::period | ( | ) | const [inline, virtual] |
Get the time interval of the strobe.
Implements gr::blocks::message_strobe.
void gr::blocks::message_strobe_impl::set_msg | ( | pmt::pmt_t | msg | ) | [inline, virtual] |
Reset the message being sent.
msg | The message to send as a PMT. |
Implements gr::blocks::message_strobe.
void gr::blocks::message_strobe_impl::set_period | ( | float | period_ms | ) | [inline, virtual] |
Reset the sending interval.
period_ms | the time period in milliseconds. |
Implements gr::blocks::message_strobe.