GNU Radio's MAPPER Package
preamble_sync_cc.h
Go to the documentation of this file.
1/* -*- c++ -*- */
2/*
3 * Copyright 2015 Free Software Foundation, Inc
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_MAPPER_PREAMBLE_SYNC_CC_H
23#define INCLUDED_MAPPER_PREAMBLE_SYNC_CC_H
24
25#include <mapper/api.h>
28#include <gnuradio/block.h>
29
30namespace gr {
31 namespace mapper {
32
33 /*!
34 * \brief <+description of block+>
35 * \ingroup mapper
36 *
37 */
38 class MAPPER_API preamble_sync_cc : virtual public gr::block
39 {
40 public:
41 typedef boost::shared_ptr<preamble_sync_cc> sptr;
42
43 static sptr make(int width, const std::vector<unsigned char> &preamble, modtype_t modtype, const std::vector<int> &symbol_map,
44 float garble_thresh_acquire_sync, float garble_thresh_loose_sync);
45 };
46
47 } // namespace mapper
48} // namespace gr
49
50#endif /* INCLUDED_MAPPER_PREAMBLE_SYNC_CC_H */
51
#define MAPPER_API
Definition: api.h:30
<+description of block+>
Definition: preamble_sync_cc.h:39
boost::shared_ptr< preamble_sync_cc > sptr
Definition: preamble_sync_cc.h:41
static sptr make(int width, const std::vector< unsigned char > &preamble, modtype_t modtype, const std::vector< int > &symbol_map, float garble_thresh_acquire_sync, float garble_thresh_loose_sync)
modtype_t
Definition: constellation.h:23
Definition: constellation.h:11