GNU Radio's SATELLITES Package

pdu_length_filter_impl.h
Go to the documentation of this file.
1/* -*- c++ -*- */
2/*
3 * Copyright 2021 Daniel Estevez <daniel@destevez.net>
4 *
5 * This file is part of gr-satellites
6 *
7 * SPDX-License-Identifier: GPL-3.0-or-later
8 *
9 */
10
11#ifndef INCLUDED_SATELLITES_PDU_LENGTH_FILTER_IMPL_H
12#define INCLUDED_SATELLITES_PDU_LENGTH_FILTER_IMPL_H
13
14#include <satellites/pdu_length_filter.h>
15
16 namespace gr {
17 namespace satellites {
18
19 class pdu_length_filter_impl : public pdu_length_filter
20{
21 private:
22 size_t d_min, d_max;
23
24 public:
25 pdu_length_filter_impl(int min, int max);
26 ~pdu_length_filter_impl();
27
28 // Where all the action really happens
29 void forecast(int noutput_items, gr_vector_int& ninput_items_required);
30
31 int general_work(int noutput_items,
32 gr_vector_int& ninput_items,
33 gr_vector_const_void_star& input_items,
34 gr_vector_void_star& output_items);
35
36 void msg_handler(pmt::pmt_t pmt_msg);
37};
38
39} // namespace satellites
40} // namespace gr
41
42#endif /* INCLUDED_SATELLITES_PDU_LENGTH_FILTER_IMPL_H */
gr::satellites::pdu_length_filter_impl::general_work
int general_work(int noutput_items, gr_vector_int &ninput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
gr::satellites::pdu_length_filter_impl::~pdu_length_filter_impl
~pdu_length_filter_impl()
gr::satellites::pdu_length_filter_impl::pdu_length_filter_impl
pdu_length_filter_impl(int min, int max)
gr::satellites::pdu_length_filter_impl::forecast
void forecast(int noutput_items, gr_vector_int &ninput_items_required)
gr::satellites::pdu_length_filter_impl::msg_handler
void msg_handler(pmt::pmt_t pmt_msg)
gr::satellites::pdu_length_filter
<+description of block+>
Definition pdu_length_filter.h:26
gr::satellites
Definition ax100_decode.h:18
gr
Definition ax100_decode.h:17
pdu_length_filter.h