GNU Radio's SATELLITES Package
pdu_head_tail.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_PDU_HEAD_TAIL_H
12 #define INCLUDED_SATELLITES_PDU_HEAD_TAIL_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 pdu_head_tail : virtual public gr::block
26 {
27 public:
28  typedef boost::shared_ptr<pdu_head_tail> sptr;
29 
30  /*!
31  * \brief Return a shared_ptr to a new instance of satellites::pdu_head_tail.
32  *
33  * To avoid accidental use of raw pointers, satellites::pdu_head_tail's
34  * constructor is in a private implementation
35  * class. satellites::pdu_head_tail::make is the public interface for
36  * creating new instances.
37  */
38  static sptr make(int mode, size_t num);
39 };
40 
41 } // namespace satellites
42 } // namespace gr
43 
44 #endif /* INCLUDED_SATELLITES_PDU_HEAD_TAIL_H */
<+description of block+>
Definition: pdu_head_tail.h:25
Definition: ax100_decode.h:17
#define SATELLITES_API
Definition: api.h:31
boost::shared_ptr< pdu_head_tail > sptr
Definition: pdu_head_tail.h:28