GNU Radio's MAPPER Package
preamble_sync_demapper_hard.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_DECODE_HARD_H
23#define INCLUDED_MAPPER_PREAMBLE_SYNC_DECODE_HARD_H
24
25#include <mapper/api.h>
26#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_demapper_hard : virtual public gr::block
39 {
40 public:
41 typedef boost::shared_ptr<preamble_sync_demapper_hard> sptr;
42
43 static sptr make(int width, const std::vector<unsigned char> &preamble, modtype_t modtype,
44 const std::vector<int> &symbol_map, int acquire_bit_thresh, int loose_bit_thresh,
45 bool passthrough);
46 };
47
48 } // namespace mapper
49} // namespace gr
50
51#endif /* INCLUDED_MAPPER_PREAMBLE_SYNC_DECODE_HARD_H */
52
#define MAPPER_API
Definition api.h:30
<+description of block+>
Definition preamble_sync_demapper_hard.h:39
static sptr make(int width, const std::vector< unsigned char > &preamble, modtype_t modtype, const std::vector< int > &symbol_map, int acquire_bit_thresh, int loose_bit_thresh, bool passthrough)
boost::shared_ptr< preamble_sync_demapper_hard > sptr
Definition preamble_sync_demapper_hard.h:41
modtype_t
Definition constellation.h:23
Definition constellation.h:11