GNU Radio's SATELLITES Package
distributed_syncframe_soft_impl.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2019-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_DISTRIBUTED_SYNCFRAME_SOFT_IMPL_H
12 #define INCLUDED_SATELLITES_DISTRIBUTED_SYNCFRAME_SOFT_IMPL_H
13 
15 
16 #include <vector>
17 
18 namespace gr {
19 namespace satellites {
20 
22 {
23 private:
24  const size_t d_threshold;
25  const size_t d_step;
26  std::vector<uint8_t> d_syncword;
27 
28 public:
29  distributed_syncframe_soft_impl(int threshold, const std::string& syncword, int step);
31 
32  // Where all the action really happens
33  int work(int noutput_items,
34  gr_vector_const_void_star& input_items,
35  gr_vector_void_star& output_items);
36 };
37 
38 } // namespace satellites
39 } // namespace gr
40 
41 #endif /* INCLUDED_SATELLITES_DISTRIBUTED_SYNCFRAME_SOFT_IMPL_H */
<+description of block+>
Definition: distributed_syncframe_soft.h:25
int work(int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
Definition: ax100_decode.h:17
distributed_syncframe_soft_impl(int threshold, const std::string &syncword, int step)
Definition: distributed_syncframe_soft_impl.h:21