GNU Radio's SATELLITES Package
ao40_syncframe_soft.h
Go to the documentation of this file.
1/* -*- c++ -*- */
2/*
3 * Copyright 2018 Daniel Estevez <daniel@destevez.net>.
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 3, or (at your option)
8 * any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19#ifndef INCLUDED_SATELLITES_AO40_SYNCFRAME_SOFT_H
20#define INCLUDED_SATELLITES_AO40_SYNCFRAME_SOFT_H
21
22#include <satellites/api.h>
23#include <gnuradio/sync_block.h>
24
25namespace gr {
26 namespace satellites {
27
28 /*!
29 * \brief <+description of block+>
30 * \ingroup satellites
31 *
32 */
33 class SATELLITES_API ao40_syncframe_soft : virtual public gr::sync_block
34 {
35 public:
36 typedef boost::shared_ptr<ao40_syncframe_soft> sptr;
37
38 /*!
39 * \brief Return a shared_ptr to a new instance of satellites::syncframe_soft.
40 *
41 * To avoid accidental use of raw pointers, satellites::syncframe_soft's
42 * constructor is in a private implementation
43 * class. satellites::syncframe_soft::make is the public interface for
44 * creating new instances.
45 */
46 static sptr make(int threshold);
47 };
48
49 } // namespace satellites
50} // namespace gr
51
52#endif /* INCLUDED_SATELLITES_AO40_SYNCFRAME_H */
53
#define SATELLITES_API
Definition api.h:30
<+description of block+>
Definition ao40_syncframe_soft.h:34
static sptr make(int threshold)
Return a shared_ptr to a new instance of satellites::syncframe_soft.
boost::shared_ptr< ao40_syncframe_soft > sptr
Definition ao40_syncframe_soft.h:36
Definition ao40_deinterleaver.h:25