GNU Radio's SATELLITES Package

ax100_decode_impl.h
Go to the documentation of this file.
1/* -*- c++ -*- */
2/*
3 * Copyright 2016,2020 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_AX100_DECODE_IMPL_H
12#define INCLUDED_SATELLITES_AX100_DECODE_IMPL_H
13
14#include <satellites/ax100_decode.h>
15
16#include <array>
17
18 namespace gr {
19 namespace satellites {
20
21 class ax100_decode_impl : public ax100_decode
22{
23 private:
24 std::array<uint8_t, 256> d_data;
25 const bool d_verbose;
26
27 public:
28 ax100_decode_impl(bool verbose);
29 ~ax100_decode_impl();
30
31 // Where all the action really happens
32 void forecast(int noutput_items, gr_vector_int& ninput_items_required);
33
34 int general_work(int noutput_items,
35 gr_vector_int& ninput_items,
36 gr_vector_const_void_star& input_items,
37 gr_vector_void_star& output_items);
38 void msg_handler(pmt::pmt_t pmt_msg);
39};
40
41} // namespace satellites
42} // namespace gr
43
44#endif /* INCLUDED_SATELLITES_AX100_DECODE_IMPL_H */
ax100_decode.h
gr::satellites::ax100_decode_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::ax100_decode_impl::~ax100_decode_impl
~ax100_decode_impl()
gr::satellites::ax100_decode_impl::msg_handler
void msg_handler(pmt::pmt_t pmt_msg)
gr::satellites::ax100_decode_impl::forecast
void forecast(int noutput_items, gr_vector_int &ninput_items_required)
gr::satellites::ax100_decode_impl::ax100_decode_impl
ax100_decode_impl(bool verbose)
gr::satellites::ax100_decode
<+description of block+>
Definition ax100_decode.h:26
gr::satellites
Definition ax100_decode.h:18
gr
Definition ax100_decode.h:17