GNU Radio's IIO Package
converter_ss_impl.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2015 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 #ifndef INCLUDED_IIO_CONVERTER_SS_IMPL_H
23 #define INCLUDED_IIO_CONVERTER_SS_IMPL_H
24 
25 #include <iio.h>
26 #include <iio/converter_ss.h>
27 
28 namespace gr {
29  namespace iio {
31  {
32  private:
33  const struct iio_channel *chn;
34  bool inverse;
35 
36  public:
37  converter_ss_impl(const struct iio_channel *channel,
38  bool inverse);
40 
41  int work(int noutput_items,
42  gr_vector_const_void_star &input_items,
43  gr_vector_void_star &output_items);
44  };
45  }
46 }
47 
48 #endif /* INCLUDED_IIO_CONVERTER_SS_IMPL_H */
int work(int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
Definition: attr_sink.h:29
converter_ss_impl(const struct iio_channel *channel, bool inverse)
<+description of block+>
Definition: converter_ss.h:41
Definition: converter_ss_impl.h:30