GNU Radio 3.6.5 C++ API
gr::blocks::message_strobe_impl Class Reference

#include <message_strobe_impl.h>

Inheritance diagram for gr::blocks::message_strobe_impl:

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
 

Additional Inherited Members

- Public Types inherited from gr::blocks::message_strobe
typedef boost::shared_ptr
< message_strobe
sptr
 
- Static Public Member Functions inherited from gr::blocks::message_strobe
static sptr make (pmt::pmt_t msg, float period_ms)
 
- Protected Types inherited from gr_basic_block
enum  vcolor { WHITE, GREY, BLACK }
 
- Protected Member Functions inherited from gr_block
 gr_block (void)
 
 gr_block (const std::string &name, gr_io_signature_sptr input_signature, gr_io_signature_sptr output_signature)
 
void set_fixed_rate (bool fixed_rate)
 
void add_item_tag (unsigned int which_output, uint64_t abs_offset, const pmt::pmt_t &key, const pmt::pmt_t &value, const pmt::pmt_t &srcid=pmt::PMT_F)
 Adds a new tag onto the given output buffer. More...
 
void add_item_tag (unsigned int which_output, const gr_tag_t &tag)
 Adds a new tag onto the given output buffer. More...
 
void remove_item_tag (unsigned int which_input, uint64_t abs_offset, const pmt::pmt_t &key, const pmt::pmt_t &value, const pmt::pmt_t &srcid=pmt::PMT_F)
 Removes a tag from the given input buffer. More...
 
void remove_item_tag (unsigned int which_input, const gr_tag_t &tag)
 Removes a tag from the given input buffer. More...
 
void get_tags_in_range (std::vector< gr_tag_t > &v, unsigned int which_input, uint64_t abs_start, uint64_t abs_end)
 Given a [start,end), returns a vector of all tags in the range. More...
 
void get_tags_in_range (std::vector< gr_tag_t > &v, unsigned int which_input, uint64_t abs_start, uint64_t abs_end, const pmt::pmt_t &key)
 Given a [start,end), returns a vector of all tags in the range with a given key. More...
 
- Protected Attributes inherited from gr_block
std::vector< long > d_max_output_buffer
 
std::vector< long > d_min_output_buffer
 
gruel::mutex d_setlock
 
gr_logger_ptr d_logger
 
gr_logger_ptr d_debug_logger
 

Constructor & Destructor Documentation

gr::blocks::message_strobe_impl::message_strobe_impl ( pmt::pmt_t  msg,
float  period_ms 
)
gr::blocks::message_strobe_impl::~message_strobe_impl ( )

Member Function Documentation

pmt::pmt_t gr::blocks::message_strobe_impl::msg ( ) const
inlinevirtual

Get the value of the message being sent.

Implements gr::blocks::message_strobe.

float gr::blocks::message_strobe_impl::period ( ) const
inlinevirtual

Get the time interval of the strobe.

Implements gr::blocks::message_strobe.

void gr::blocks::message_strobe_impl::set_msg ( pmt::pmt_t  msg)
inlinevirtual

Reset the message being sent.

Parameters
msgThe message to send as a PMT.

Implements gr::blocks::message_strobe.

void gr::blocks::message_strobe_impl::set_period ( float  period_ms)
inlinevirtual

Reset the sending interval.

Parameters
period_msthe time period in milliseconds.

Implements gr::blocks::message_strobe.


The documentation for this class was generated from the following file: