12 #ifndef INCLUDED_GR_THROTTLE_H 13 #define INCLUDED_GR_THROTTLE_H 45 typedef std::shared_ptr<throttle>
sptr;
64 double samples_per_sec,
65 bool ignore_tags =
true,
66 unsigned int maximum_items_per_chunk = 0);
69 virtual void set_sample_rate(
double rate) = 0;
75 virtual void set_maximum_items_per_chunk(
unsigned int maximum_items_per_chunk) = 0;
78 virtual unsigned int maximum_items_per_chunk()
const = 0;
std::shared_ptr< throttle > sptr
Definition: throttle.h:45
GNU Radio logging wrapper.
Definition: basic_block.h:29
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:18
synchronous 1:1 input to output with historyOverride work to provide the signal processing implementa...
Definition: sync_block.h:25
throttle flow of samples such that the average rate does not exceed samples_per_sec.
Definition: throttle.h:42
GR_RUNTIME_API size_t itemsize(types::vector_type type)