GNU Radio's IIO Package
converter_ss.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2014 Analog Devices Inc.
4  * Author: Paul Cercueil <paul.cercueil@analog.com>
5  *
6  * This is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 3, or (at your option)
9  * any later version.
10  *
11  * This software is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this software; see the file COPYING. If not, write to
18  * the Free Software Foundation, Inc., 51 Franklin Street,
19  * Boston, MA 02110-1301, USA.
20  */
21 
22 
23 #ifndef INCLUDED_IIO_CONVERTER_SS_H
24 #define INCLUDED_IIO_CONVERTER_SS_H
25 
26 #include <iio/api.h>
27 #include <gnuradio/sync_block.h>
28 
29 extern "C" {
30  struct iio_channel;
31 };
32 
33 namespace gr {
34  namespace iio {
35 
36  /*!
37  * \brief <+description of block+>
38  * \ingroup iio
39  *
40  */
41  class IIO_API converter_ss : virtual public gr::sync_block
42  {
43  public:
44  typedef std::shared_ptr<converter_ss> sptr;
45 
46  static sptr make(const struct iio_channel *channel,
47  bool inverse);
48  };
49  }
50 }
51 
52 #endif /* INCLUDED_IIO_CONVERTER_SS_H */
#define IIO_API
Definition: api.h:19
Definition: attr_sink.h:29
<+description of block+>
Definition: converter_ss.h:41
std::shared_ptr< converter_ss > sptr
Definition: converter_ss.h:44