GNU Radio Radar Toolbox
gr::radar::find_max_peak_c_impl Class Reference

#include <find_max_peak_c_impl.h>

Inheritance diagram for gr::radar::find_max_peak_c_impl:
gr::radar::find_max_peak_c

Public Member Functions

 find_max_peak_c_impl (int samp_rate, float threshold, int samp_protect, std::vector< float > max_freq, bool cut_max_freq, const std::string &len_key)
 
 ~find_max_peak_c_impl ()
 
void set_threshold (float threshold)
 
void set_samp_protect (int samp)
 
void set_max_freq (std::vector< float > freq)
 
int work (int noutput_items, gr_vector_int &ninput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
 

Public Attributes

int d_samp_rate
 
float d_threshold
 
int d_samp_protect
 
std::vector< float > d_max_freq
 
bool d_cut_max_freq
 
std::vector< float > d_pks
 
std::vector< float > d_freq
 
std::vector< float > d_angle
 
pmt::pmt_t d_port_id
 
pmt::pmt_t d_ptimestamp
 
pmt::pmt_t d_pfreq
 
pmt::pmt_t d_ppks
 
pmt::pmt_t d_pangle
 
pmt::pmt_t d_value
 
std::vector< tag_t > d_tags
 

Protected Member Functions

int calculate_output_stream_length (const gr_vector_int &ninput_items)
 

Additional Inherited Members

- Public Types inherited from gr::radar::find_max_peak_c
typedef std::shared_ptr< find_max_peak_csptr
 
- Static Public Member Functions inherited from gr::radar::find_max_peak_c
static sptr make (int samp_rate, float threshold, int samp_protect, std::vector< float > max_freq, bool cut_max_freq, const std::string &len_key="packet_len")
 Return a shared_ptr to a new instance of radar::find_max_peak_c.
 

Constructor & Destructor Documentation

◆ find_max_peak_c_impl()

gr::radar::find_max_peak_c_impl::find_max_peak_c_impl ( int  samp_rate,
float  threshold,
int  samp_protect,
std::vector< float >  max_freq,
bool  cut_max_freq,
const std::string &  len_key 
)

◆ ~find_max_peak_c_impl()

gr::radar::find_max_peak_c_impl::~find_max_peak_c_impl ( )

Member Function Documentation

◆ calculate_output_stream_length()

int gr::radar::find_max_peak_c_impl::calculate_output_stream_length ( const gr_vector_int &  ninput_items)
protected

◆ set_max_freq()

void gr::radar::find_max_peak_c_impl::set_max_freq ( std::vector< float >  freq)
virtual

◆ set_samp_protect()

void gr::radar::find_max_peak_c_impl::set_samp_protect ( int  samp)
virtual

◆ set_threshold()

void gr::radar::find_max_peak_c_impl::set_threshold ( float  threshold)
virtual

◆ work()

int gr::radar::find_max_peak_c_impl::work ( int  noutput_items,
gr_vector_int &  ninput_items,
gr_vector_const_void_star &  input_items,
gr_vector_void_star &  output_items 
)

Member Data Documentation

◆ d_angle

std::vector<float> gr::radar::find_max_peak_c_impl::d_angle

◆ d_cut_max_freq

bool gr::radar::find_max_peak_c_impl::d_cut_max_freq

◆ d_freq

std::vector<float> gr::radar::find_max_peak_c_impl::d_freq

◆ d_max_freq

std::vector<float> gr::radar::find_max_peak_c_impl::d_max_freq

◆ d_pangle

pmt::pmt_t gr::radar::find_max_peak_c_impl::d_pangle

◆ d_pfreq

pmt::pmt_t gr::radar::find_max_peak_c_impl::d_pfreq

◆ d_pks

std::vector<float> gr::radar::find_max_peak_c_impl::d_pks

◆ d_port_id

pmt::pmt_t gr::radar::find_max_peak_c_impl::d_port_id

◆ d_ppks

pmt::pmt_t gr::radar::find_max_peak_c_impl::d_ppks

◆ d_ptimestamp

pmt::pmt_t gr::radar::find_max_peak_c_impl::d_ptimestamp

◆ d_samp_protect

int gr::radar::find_max_peak_c_impl::d_samp_protect

◆ d_samp_rate

int gr::radar::find_max_peak_c_impl::d_samp_rate

◆ d_tags

std::vector<tag_t> gr::radar::find_max_peak_c_impl::d_tags

◆ d_threshold

float gr::radar::find_max_peak_c_impl::d_threshold

◆ d_value

pmt::pmt_t gr::radar::find_max_peak_c_impl::d_value

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