GNU Radio's SATELLITES Package
distributed_syncframe_soft.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2019 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_H
12 #define INCLUDED_SATELLITES_DISTRIBUTED_SYNCFRAME_SOFT_H
13 
14 #include <gnuradio/sync_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 distributed_syncframe_soft : virtual public gr::sync_block
26 {
27 public:
28  typedef std::shared_ptr<distributed_syncframe_soft> sptr;
29 
30  /*!
31  * \brief Return a shared_ptr to a new instance of
32  * satellites::distributed_syncframe_soft.
33  *
34  * To avoid accidental use of raw pointers, satellites::distributed_syncframe_soft's
35  * constructor is in a private implementation
36  * class. satellites::distributed_syncframe_soft::make is the public interface for
37  * creating new instances.
38  */
39  static sptr make(int threshold, const std::string& syncword, int step);
40 };
41 
42 } // namespace satellites
43 } // namespace gr
44 
45 #endif /* INCLUDED_SATELLITES_DISTRIBUTED_SYNCFRAME_H */
#define SATELLITES_API
Definition: api.h:31
<+description of block+>
Definition: distributed_syncframe_soft.h:26
std::shared_ptr< distributed_syncframe_soft > sptr
Definition: distributed_syncframe_soft.h:28
static sptr make(int threshold, const std::string &syncword, int step)
Return a shared_ptr to a new instance of satellites::distributed_syncframe_soft.
Definition: ax100_decode.h:17