 |
GNU Radio Manual and C++ API Reference
3.9.4.0
The Free & Open Software Radio Ecosystem
|
|
Go to the documentation of this file.
11 #ifndef INCLUDED_GR_RUNTIME_SYNC_DECIMATOR_H
12 #define INCLUDED_GR_RUNTIME_SYNC_DECIMATOR_H
28 unsigned d_decimation;
41 d_decimation = decimation;
42 set_relative_rate(1, (uint64_t)decimation);
46 void forecast(
int noutput_items,
gr_vector_int& ninput_items_required)
override;
47 int general_work(
int noutput_items,
54 int fixed_rate_ninput_to_noutput(
int ninput)
override;
55 int fixed_rate_noutput_to_ninput(
int noutput)
override;
std::vector< int > gr_vector_int
Definition: types.h:23
synchronous N:1 input to output with history
Definition: sync_decimator.h:25
synchronous 1:1 input to output with history
Definition: sync_block.h:25
sync_decimator(void)
Definition: sync_decimator.h:31
#define GR_RUNTIME_API
Definition: gnuradio-runtime/include/gnuradio/api.h:18
std::vector< const void * > gr_vector_const_void_star
Definition: types.h:28
void set_decimation(unsigned decimation)
Definition: sync_decimator.h:39
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:29
unsigned decimation() const
Definition: sync_decimator.h:38
std::shared_ptr< io_signature > sptr
Definition: io_signature.h:34
std::vector< void * > gr_vector_void_star
Definition: types.h:27