23 #ifndef INCLUDED_GR_RUNTIME_SYNC_DECIMATOR_H
24 #define INCLUDED_GR_RUNTIME_SYNC_DECIMATOR_H
40 unsigned d_decimation;
53 d_decimation = decimation;
54 set_relative_rate(1.0 / decimation);
58 void forecast(
int noutput_items,
gr_vector_int &ninput_items_required);
59 int general_work(
int noutput_items,
66 int fixed_rate_ninput_to_noutput(
int ninput);
67 int fixed_rate_noutput_to_ninput(
int noutput);
boost::shared_ptr< io_signature > sptr
Definition: io_signature.h:45
std::vector< const void * > gr_vector_const_void_star
Definition: gnuradio-runtime/include/gnuradio/types.h:38
void set_decimation(unsigned decimation)
Definition: sync_decimator.h:51
#define GR_RUNTIME_API
Definition: gnuradio-runtime/include/gnuradio/api.h:30
std::vector< void * > gr_vector_void_star
Definition: gnuradio-runtime/include/gnuradio/types.h:37
std::vector< int > gr_vector_int
Definition: gnuradio-runtime/include/gnuradio/types.h:33
Include this header to use the message passing features.
Definition: logger.h:131
synchronous 1:1 input to output with historyOverride work to provide the signal processing implementa...
Definition: sync_block.h:37
synchronous N:1 input to output with historyOverride work to provide the signal processing implementa...
Definition: sync_decimator.h:37
sync_decimator(void)
Definition: sync_decimator.h:43
unsigned decimation() const
Definition: sync_decimator.h:50