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