GNU Radio 3.6.5 C++ API
|
Send message at defined interval. More...
#include <gr_random_pdu.h>
Public Member Functions | |
gr_random_pdu (int, int) | |
bool | start () |
Called to enable drivers, etc for i/o devices. | |
void | generate_pdu (pmt::pmt_t msg) |
void | generate_pdu () |
Friends | |
GR_CORE_API gr_random_pdu_sptr | gr_make_random_pdu (int mintime, int maxtime) |
Send message at defined interval.
gr_random_pdu::gr_random_pdu | ( | int | , |
int | |||
) |
void gr_random_pdu::generate_pdu | ( | pmt::pmt_t | msg | ) | [inline] |
void gr_random_pdu::generate_pdu | ( | ) | [inline] |
bool gr_random_pdu::start | ( | ) | [virtual] |
Called to enable drivers, etc for i/o devices.
This allows a block to enable an associated driver to begin transfering data just before we start to execute the scheduler. The end result is that this reduces latency in the pipeline when dealing with audio devices, usrps, etc.
Reimplemented from gr_block.
GR_CORE_API gr_random_pdu_sptr gr_make_random_pdu | ( | int | mintime, |
int | maxtime | ||
) | [friend] |