forked from daniestevez/gr-satellites
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathax100_decode_impl.h
44 lines (34 loc) · 1.01 KB
/
ax100_decode_impl.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/* -*- c++ -*- */
/*
* Copyright 2016,2020 Daniel Estevez <[email protected]>.
*
* This file is part of gr-satellites
*
* SPDX-License-Identifier: GPL-3.0-or-later
*
*/
#ifndef INCLUDED_SATELLITES_AX100_DECODE_IMPL_H
#define INCLUDED_SATELLITES_AX100_DECODE_IMPL_H
#include <satellites/ax100_decode.h>
#include <array>
namespace gr {
namespace satellites {
class ax100_decode_impl : public ax100_decode
{
private:
std::array<uint8_t, 256> d_data;
const bool d_verbose;
public:
ax100_decode_impl(bool verbose);
~ax100_decode_impl();
// Where all the action really happens
void forecast(int noutput_items, gr_vector_int& ninput_items_required);
int general_work(int noutput_items,
gr_vector_int& ninput_items,
gr_vector_const_void_star& input_items,
gr_vector_void_star& output_items);
void msg_handler(pmt::pmt_t pmt_msg);
};
} // namespace satellites
} // namespace gr
#endif /* INCLUDED_SATELLITES_AX100_DECODE_IMPL_H */