11 #ifndef INCLUDED_GR_MESSAGE_STROBE_RANDOM_H
12 #define INCLUDED_GR_MESSAGE_STROBE_RANDOM_H
45 typedef std::shared_ptr<message_strobe_random>
sptr;
96 virtual float mean()
const = 0;
107 virtual float std()
const = 0;
The abstract base class for all 'terminal' processing blocks.
Definition: gnuradio-runtime/include/gnuradio/block.h:63
Send message at defined interval.
Definition: message_strobe_random.h:42
virtual void set_dist(message_strobe_random_distribution_t dist)=0
virtual void set_msg(pmt::pmt_t msg)=0
virtual float std() const =0
virtual pmt::pmt_t msg() const =0
virtual void set_std(float std)=0
std::shared_ptr< message_strobe_random > sptr
Definition: message_strobe_random.h:45
virtual float mean() const =0
virtual void set_mean(float mean)=0
virtual message_strobe_random_distribution_t dist() const =0
static sptr make(pmt::pmt_t msg, message_strobe_random_distribution_t dist, float mean_ms, float std_ms)
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:18
message_strobe_random_distribution_t
Definition: message_strobe_random.h:23
@ STROBE_GAUSSIAN
Definition: message_strobe_random.h:25
@ STROBE_UNIFORM
Definition: message_strobe_random.h:26
@ STROBE_EXPONENTIAL
Definition: message_strobe_random.h:27
@ STROBE_POISSON
Definition: message_strobe_random.h:24
GR_RUNTIME_API const pmt::pmt_t msg()
GNU Radio logging wrapper.
Definition: basic_block.h:29
std::shared_ptr< pmt_base > pmt_t
typedef for shared pointer (transparent reference counting).
Definition: pmt.h:83