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