signal_generator_fsk_c_impl.h
Go to the documentation of this file.
/* -*- c++ -*- */
/*
* Copyright 2014 Communications Engineering Lab, KIT.
*
* This is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street,
* Boston, MA 02110-1301, USA.
*/
#ifndef INCLUDED_RADAR_SIGNAL_GENERATOR_FSK_C_IMPL_H
#define INCLUDED_RADAR_SIGNAL_GENERATOR_FSK_C_IMPL_H
#include <radar/signal_generator_fsk_c.h>
namespace gr {
namespace radar {
class signal_generator_fsk_c_impl : public signal_generator_fsk_c
{
private:
// Nothing to declare in this block.
public:
signal_generator_fsk_c_impl(int samp_rate,
int samp_per_freq,
int blocks_per_tag,
float freq_low,
float freq_high,
float amplitude,
const std::string& len_key);
~signal_generator_fsk_c_impl();
int d_samp_rate, d_samp_per_freq, d_blocks_per_tag, d_packet_len;
float d_freq_low, d_freq_high, d_amplitude;
pmt::pmt_t d_key, d_value, d_srcid;
gr_complex d_phase_high, d_phase_low;
bool d_state;
// Where all the action really happens
int work(int noutput_items,
gr_vector_const_void_star& input_items,
gr_vector_void_star& output_items);
};
} // namespace radar
} // namespace gr
#endif /* INCLUDED_RADAR_SIGNAL_GENERATOR_FSK_C_IMPL_H */
gr::radar::signal_generator_fsk_c_impl::d_srcid
pmt::pmt_t d_srcid
Definition signal_generator_fsk_c_impl.h:47
gr::radar::signal_generator_fsk_c_impl::d_samp_rate
int d_samp_rate
Definition signal_generator_fsk_c_impl.h:44
gr::radar::signal_generator_fsk_c_impl::d_key
pmt::pmt_t d_key
Definition signal_generator_fsk_c_impl.h:47
gr::radar::signal_generator_fsk_c_impl::d_packet_len
int d_packet_len
Definition signal_generator_fsk_c_impl.h:44
gr::radar::signal_generator_fsk_c_impl::d_samp_per_freq
int d_samp_per_freq
Definition signal_generator_fsk_c_impl.h:44
gr::radar::signal_generator_fsk_c_impl::d_freq_high
float d_freq_high
Definition signal_generator_fsk_c_impl.h:45
gr::radar::signal_generator_fsk_c_impl::d_state
bool d_state
Definition signal_generator_fsk_c_impl.h:50
gr::radar::signal_generator_fsk_c_impl::d_phase_low
gr_complex d_phase_low
Definition signal_generator_fsk_c_impl.h:48
gr::radar::signal_generator_fsk_c_impl::d_blocks_per_tag
int d_blocks_per_tag
Definition signal_generator_fsk_c_impl.h:44
gr::radar::signal_generator_fsk_c_impl::d_amplitude
float d_amplitude
Definition signal_generator_fsk_c_impl.h:45
gr::radar::signal_generator_fsk_c_impl::d_phase_high
gr_complex d_phase_high
Definition signal_generator_fsk_c_impl.h:48
gr::radar::signal_generator_fsk_c_impl::work
int work(int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
gr::radar::signal_generator_fsk_c_impl::signal_generator_fsk_c_impl
signal_generator_fsk_c_impl(int samp_rate, int samp_per_freq, int blocks_per_tag, float freq_low, float freq_high, float amplitude, const std::string &len_key)
gr::radar::signal_generator_fsk_c_impl::~signal_generator_fsk_c_impl
~signal_generator_fsk_c_impl()
gr::radar::signal_generator_fsk_c_impl::d_value
pmt::pmt_t d_value
Definition signal_generator_fsk_c_impl.h:47
gr::radar::signal_generator_fsk_c_impl::d_freq_low
float d_freq_low
Definition signal_generator_fsk_c_impl.h:45
gr::radar::signal_generator_fsk_c
This block generates a signal for FSK radar in baseband. The waveform consists of a signal with an al...
Definition signal_generator_fsk_c.h:48
gr::radar
Definition crop_matrix_vcvc.h:29
gr
Definition crop_matrix_vcvc.h:28
signal_generator_fsk_c.h