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