GNU Radio's PAINT Package
paint_bc.h
Go to the documentation of this file.
1/* -*- c++ -*- */
2/*
3 * Copyright 2015 Ron Economos.
4 *
5 * This is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 3, or (at your option)
8 * any later version.
9 *
10 * This software is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this software; see the file COPYING. If not, write to
17 * the Free Software Foundation, Inc., 51 Franklin Street,
18 * Boston, MA 02110-1301, USA.
19 */
20
21
22#ifndef INCLUDED_PAINT_PAINT_BC_H
23#define INCLUDED_PAINT_PAINT_BC_H
24
25#include <paint/api.h>
26#include <paint/paint_config.h>
27#include <gnuradio/block.h>
28
29namespace gr {
30 namespace paint {
31
32 /*!
33 * \brief <+description of block+>
34 * \ingroup paint
35 *
36 */
37 class PAINT_API paint_bc : virtual public gr::block
38 {
39 public:
40 typedef std::shared_ptr<paint_bc> sptr;
41
42 /*!
43 * \brief Return a shared_ptr to a new instance of paint::paint_bc.
44 *
45 * To avoid accidental use of raw pointers, paint::paint_bc's
46 * constructor is in a private implementation
47 * class. paint::paint_bc::make is the public interface for
48 * creating new instances.
49 */
50 static sptr make(int width, int repeats, int equalization, int randomsrc, int inputs);
51 };
52
53 } // namespace paint
54} // namespace gr
55
56#endif /* INCLUDED_PAINT_PAINT_BC_H */
57
#define PAINT_API
Definition api.h:19
<+description of block+>
Definition paint_bc.h:38
static sptr make(int width, int repeats, int equalization, int randomsrc, int inputs)
Return a shared_ptr to a new instance of paint::paint_bc.
std::shared_ptr< paint_bc > sptr
Definition paint_bc.h:40
Definition paint_bc.h:29