GNU Radio's DPD Package
stream_to_message.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2020 Alekh Gupta
4  *
5  * SPDX-License-Identifier: GPL-3.0-or-later
6  */
7 
8 #ifndef INCLUDED_DPD_STREAM_TO_MESSAGE_H
9 #define INCLUDED_DPD_STREAM_TO_MESSAGE_H
10 
11 #include <gnuradio/sync_block.h>
12 #include <dpd/api.h>
13 
14 namespace gr {
15 namespace dpd {
16 
17 /*!
18  * \brief Converts a stream of single complex data item into messages (PMT's)
19  * which are published by output message port 'message'.
20  * \ingroup dpd
21  *
22  */
23 class DPD_API stream_to_message : virtual public gr::sync_block
24 {
25 public:
26  typedef boost::shared_ptr<stream_to_message> sptr;
27 
28  /*!
29  * \brief Make stream_to_message block
30  *
31  */
32  static sptr make();
33 };
34 
35 } // namespace dpd
36 } // namespace gr
37 
38 #endif /* INCLUDED_DPD_STREAM_TO_MESSAGE_H */
Definition: gain_phase_calibrate.h:14
Converts a stream of single complex data item into messages (PMT&#39;s) which are published by output mes...
Definition: stream_to_message.h:23
#define DPD_API
Definition: api.h:19
boost::shared_ptr< stream_to_message > sptr
Definition: stream_to_message.h:26