GNU Radio 3.6.4.2 C++ API
gr_sync_block Struct Reference

#include <gr_sync_block.h>

Inheritance diagram for gr_sync_block:
gr_block comedi_sink_s comedi_source_s gr::blocks::add_ff gr::blocks::char_to_float gr::blocks::char_to_short gr::blocks::complex_to_arg gr::blocks::complex_to_float gr::blocks::complex_to_imag gr::blocks::complex_to_mag gr::blocks::complex_to_mag_squared gr::blocks::complex_to_real gr::blocks::conjugate_cc gr::blocks::file_meta_sink gr::blocks::file_meta_source gr::blocks::file_source gr::blocks::float_to_char gr::blocks::float_to_complex gr::blocks::float_to_int gr::blocks::float_to_short gr::blocks::float_to_uchar gr::blocks::int_to_float gr::blocks::multiply_cc gr::blocks::multiply_conjugate_cc gr::blocks::multiply_const_cc gr::blocks::multiply_const_ff gr::blocks::multiply_ff gr::blocks::nlog10_ff gr::blocks::peak_detector2_fb gr::blocks::regenerate_bb gr::blocks::rms_cf gr::blocks::rms_ff gr::blocks::short_to_char gr::blocks::short_to_float gr::blocks::streams_to_vector gr::blocks::stretch_ff gr::blocks::threshold_ff gr::blocks::throttle gr::blocks::transcendental gr::blocks::uchar_to_float gr::blocks::vector_to_streams gr::fft::fft_vcc gr::fft::fft_vfc gr::filter::dc_blocker_cc gr::filter::dc_blocker_ff gr::filter::filter_delay_fc gr::filter::hilbert_fc gr::filter::iir_filter_ffd gr::filter::pfb_decimator_ccf gr::filter::single_pole_iir_filter_cc gr::filter::single_pole_iir_filter_ff gr_add_ff gr_additive_scrambler_bb gr_agc2_cc gr_agc2_ff gr_agc_cc gr_agc_ff gr_annotator_1to1 gr_annotator_alltoall gr_annotator_raw gr_bin_statistics_f gr_burst_tagger gr_char_to_float gr_char_to_short gr_check_counting_s gr_check_lfsr_32k_s gr_complex_to_arg gr_complex_to_float gr_complex_to_imag gr_complex_to_mag gr_complex_to_mag_squared gr_complex_to_real gr_conjugate_cc gr_correlate_access_code_tag_bb gr_dc_blocker_cc gr_dc_blocker_ff gr_descrambler_bb gr_diff_decoder_bb gr_diff_encoder_bb gr_diff_phasor_cc gr_dpll_bb gr_endian_swap gr_fake_channel_decoder_pp gr_fake_channel_encoder_pp gr_feedforward_agc_cc gr_fft_vcc gr_fft_vfc gr_file_descriptor_sink gr_file_descriptor_source gr_file_sink gr_file_source gr_filter_delay_fc gr_float_to_char gr_float_to_complex gr_float_to_int gr_float_to_short gr_float_to_uchar gr_fmdet_cf gr_framer_sink_1 gr_frequency_modulator_fc gr_glfsr_source_b gr_glfsr_source_f gr_head gr_hilbert_fc gr_histo_sink_f gr_iir_filter_ffd gr_int_to_float gr_iqcomp_cc gr_kludge_copy gr_lfsr_32k_source_s gr_map_bb gr_message_burst_source gr_message_sink gr_message_source gr_multiply_cc gr_multiply_conjugate_cc gr_multiply_const_cc gr_multiply_const_ff gr_multiply_ff gr_nlog10_ff gr_null_sink gr_null_source gr_ofdm_frame_sink2 gr_oscope_sink_x gr_pa_2x2_phase_combiner gr_packet_sink gr_pdu_to_tagged_stream gr_peak_detector2_fb gr_pfb_decimator_ccf gr_phase_modulator_fc gr_pll_carriertracking_cc gr_pll_freqdet_cf gr_pll_refout_cc gr_probe_avg_mag_sqrd_c gr_probe_avg_mag_sqrd_cf gr_probe_avg_mag_sqrd_f gr_probe_density_b gr_quadrature_demod_cf gr_rail_ff gr_regenerate_bb gr_rms_cf gr_rms_ff gr_scrambler_bb gr_short_to_char gr_short_to_float gr_simple_squelch_cc gr_single_pole_iir_filter_cc gr_single_pole_iir_filter_ff gr_stream_pdu_base gr_streams_to_vector gr_stretch_ff gr_sync_decimator gr_sync_interpolator gr_tagged_file_sink gr_tagged_stream_to_pdu gr_threshold_ff gr_throttle gr_transcendental gr_uchar_to_float gr_udp_sink gr_udp_source gr_vco_f gr_vector_map gr_vector_to_streams gr_wavfile_sink gr_wavfile_source qtgui_time_sink_c qtgui_time_sink_f

List of all members.

Public Member Functions

 gr_sync_block (void)
 gr_sync_block (const std::string &name, gr_io_signature_sptr input_signature, gr_io_signature_sptr output_signature)
virtual ~gr_sync_block (void)
int general_work (int noutput_items, gr_vector_int &ninput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
 implements work -> calls work
virtual int work (int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
 just like gr_block::general_work, only this arranges to call consume_each for you

Constructor & Destructor Documentation

gr_sync_block::gr_sync_block ( const std::string &  name,
gr_io_signature_sptr  input_signature,
gr_io_signature_sptr  output_signature 
)
virtual gr_sync_block::~gr_sync_block ( void  ) [virtual]

Member Function Documentation

GRAS_FORCE_INLINE int gr_sync_block::general_work ( int  noutput_items,
gr_vector_int &  ninput_items,
gr_vector_const_void_star &  input_items,
gr_vector_void_star &  output_items 
) [virtual]

implements work -> calls work

Reimplemented from gr_block.

References gr_block::consume_each(), gr_block::decimation(), gr_block::interpolation(), and work().

virtual int gr_sync_block::work ( int  noutput_items,
gr_vector_const_void_star &  input_items,
gr_vector_void_star &  output_items 
) [virtual]

just like gr_block::general_work, only this arranges to call consume_each for you

The user must override work to define the signal processing code

Reimplemented in gr_complex_to_arg, gr_pfb_decimator_ccf, gr_pfb_synthesizer_ccf, gr_complex_to_mag_squared, gr_wavfile_sink, gr_pfb_interpolator_ccf, gr_complex_to_mag, gr_ofdm_frame_sink2, gr_dc_blocker_ff, gr_udp_sink, gr_dc_blocker_cc, gr_udp_source, gr_framer_sink_1, gr_peak_detector2_fb, gr_complex_to_imag, gr_packet_sink, qtgui_time_sink_c, gr_iir_filter_ffd, gr_bin_statistics_f, qtgui_time_sink_f, gr_check_lfsr_32k_s, gr::blocks::file_meta_sink_impl, gr_fake_channel_decoder_pp, comedi_source_s, comedi_sink_s, gr_fft_filter_ccc, gr_fft_filter_fff, gr_single_pole_iir_filter_cc, gr_check_counting_s, gr_single_pole_iir_filter_ff, gr_complex_to_real, gr::blocks::file_meta_source_impl, gr_file_source, gr::filter::pfb_synthesizer_ccf_impl, gr_correlate_access_code_tag_bb, gr_vector_map, gr_decode_ccsds_27_fb, gr_wavfile_source, gr_regenerate_bb, gr_vco_f, gr_probe_density_b, gr_tagged_stream_to_pdu, gr::filter::dc_blocker_cc_impl, gr::filter::dc_blocker_ff_impl, gr_message_burst_source, gr_tagged_file_sink, gr_fft_vfc, gr_char_to_float, gr_complex_to_float, gr_float_to_char, gr_float_to_int, gr_int_to_float, gr_short_to_float, gr_message_source, gr_additive_scrambler_bb, gr_float_to_short, gr_file_descriptor_source, gr_probe_avg_mag_sqrd_cf, gr_fft_vcc_fftw, gr_probe_avg_mag_sqrd_c, gr_probe_avg_mag_sqrd_f, gr_filter_delay_fc, gr_burst_tagger, gr_cpfsk_bc, gr_encode_ccsds_27_bb, gr_histo_sink_f, gr_glfsr_source_b, gr_glfsr_source_f, gr_pa_2x2_phase_combiner, gr_message_sink, gr_adaptive_fir_ccc, gr_pdu_to_tagged_stream, gr::filter::pfb_decimator_ccf_impl, gr_bytes_to_syms, gr::blocks::peak_detector2_fb_impl, gr_descrambler_bb, gr_lfsr_32k_source_s, gr_pn_correlator_cc, gr_scrambler_bb, gr_stretch_ff, gr_oscope_sink_f, gr_adaptive_fir_ccf, gr_annotator_alltoall, gr_fake_channel_encoder_pp, gr_frequency_modulator_fc, gr_multiply_const_cc, gr_multiply_const_ff, gr_threshold_ff, gr_hilbert_fc, gr_annotator_1to1, gr_dpll_bb, gr_simple_squelch_cc, gr_file_descriptor_sink, gr_file_sink, gr::filter::adaptive_fir_ccc_impl, gr::filter::adaptive_fir_ccf_impl, gr::filter::fft_filter_ccc_impl, gr::filter::fft_filter_fff_impl, gr::filter::pfb_interpolator_ccf_impl, gr_goertzel_fc, gr_char_to_short, gr_feedforward_agc_cc, gr_rail_ff, gr_repeat, gr_rms_cf, gr_rms_ff, gr_short_to_char, gr::blocks::file_source_impl, gr::fft::fft_vcc_fftw, gr_agc2_cc, gr_endian_swap, gr_kludge_copy, gr_multiply_conjugate_cc, gr_pack_k_bits_bb, gr_phase_modulator_fc, gr_quadrature_demod_cf, gr_stream_to_streams, gr_streams_to_stream, gr_unpack_k_bits_bb, gr::fft::fft_vfc_fftw, gr::fft::goertzel_fc_impl, gr_add_ff, gr_agc_cc, gr_agc_ff, gr_annotator_raw, gr_iqcomp_cc, gr_multiply_cc, gr_multiply_ff, gr_nlog10_ff, gr_agc2_ff, gr_deinterleave, gr_diff_encoder_bb, gr_float_to_complex, gr_head, gr_interleave, gr_stream_to_vector, gr_streams_to_vector, gr_vector_to_stream, gr_vector_to_streams, gr::blocks::regenerate_bb_impl, gr::blocks::threshold_ff_impl, gr_diff_decoder_bb, gr_diff_phasor_cc, gr_stream_pdu_base, gr::filter::filter_delay_fc_impl, gr::filter::iir_filter_ffd_impl, gr_complex_to_interleaved_short, gr_conjugate_cc, gr_interleaved_short_to_complex, gr_map_bb, gr_null_sink, gr::blocks::rms_cf_impl, gr::blocks::rms_ff_impl, gr::blocks::throttle_impl, gr::filter::single_pole_iir_filter_cc_impl, gr_float_to_uchar, gr_null_source, gr_uchar_to_float, gr::filter::single_pole_iir_filter_ff_impl, gr::blocks::stretch_ff_impl, gr::blocks::multiply_const_cc_impl, gr::blocks::multiply_const_ff_impl, gr::filter::hilbert_fc_impl, gr::blocks::transcendental_impl, gr::blocks::char_to_float_impl, gr::blocks::float_to_char_impl, gr::blocks::float_to_int_impl, gr::blocks::float_to_short_impl, gr::blocks::int_to_float_impl, gr::blocks::short_to_float_impl, gr::blocks::deinterleave_impl, gr::blocks::interleave_impl, gr::blocks::nlog10_ff_impl, gr::blocks::repeat_impl, gr::blocks::add_ff_impl, gr::blocks::char_to_short_impl, gr::blocks::complex_to_arg_impl, gr::blocks::complex_to_float_impl, gr::blocks::complex_to_imag_impl, gr::blocks::complex_to_mag_impl, gr::blocks::complex_to_mag_squared_impl, gr::blocks::complex_to_real_impl, gr::blocks::float_to_complex_impl, gr::blocks::multiply_cc_impl, gr::blocks::multiply_conjugate_cc_impl, gr::blocks::multiply_ff_impl, gr::blocks::short_to_char_impl, gr::blocks::complex_to_interleaved_short_impl, gr::blocks::conjugate_cc_impl, gr::blocks::float_to_uchar_impl, gr::blocks::interleaved_short_to_complex_impl, gr::blocks::stream_to_streams_impl, gr::blocks::stream_to_vector_impl, gr::blocks::streams_to_stream_impl, gr::blocks::streams_to_vector_impl, gr::blocks::uchar_to_float_impl, gr::blocks::vector_to_stream_impl, and gr::blocks::vector_to_streams_impl.

Referenced by general_work().


The documentation for this struct was generated from the following file: