GNU Radio's SATELLITES Package
include/satellites/decode_rs.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2016 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_DECODE_RS_H
12 #define INCLUDED_SATELLITES_DECODE_RS_H
13 
14 #include <gnuradio/block.h>
15 #include <satellites/api.h>
16 
17 namespace gr {
18 namespace satellites {
19 
20 /*!
21  * \brief <+description of block+>
22  * \ingroup satellites
23  *
24  */
25 class SATELLITES_API decode_rs : virtual public gr::block
26 {
27 public:
28  typedef boost::shared_ptr<decode_rs> sptr;
29 
30  /*!
31  * \brief Return a shared_ptr to a new instance of satellites::decode_rs.
32  *
33  * To avoid accidental use of raw pointers, satellites::decode_rs's
34  * constructor is in a private implementation
35  * class. satellites::decode_rs::make is the public interface for
36  * creating new instances.
37  */
38  static sptr make(int dual_basis, int interleave);
39  static sptr
40  make(int symsize, int gfpoly, int fcr, int prim, int nroots, int interleave);
41 };
42 
43 } // namespace satellites
44 } // namespace gr
45 
46 #endif /* INCLUDED_SATELLITES_DECODE_RS_H */
rs nroots
Definition: init_rs.h:80
<+description of block+>
Definition: include/satellites/decode_rs.h:25
Definition: ax100_decode.h:17
rs fcr
Definition: init_rs.h:78
rs prim
Definition: init_rs.h:79
#define SATELLITES_API
Definition: api.h:31
boost::shared_ptr< decode_rs > sptr
Definition: include/satellites/decode_rs.h:28