GNU Radio's MAPPER Package
preamble_sync_demapper.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_H
23
#define INCLUDED_MAPPER_PREAMBLE_SYNC_DECODE_H
24
25
#include <
mapper/api.h
>
26
#include <gnuradio/block.h>
27
#include <
mapper/constellation.h
>
28
#include <
mapper/pream_sync_correlator.h
>
29
30
namespace
gr
{
31
namespace
mapper {
32
33
/*!
34
* \brief <+description of block+>
35
* \ingroup mapper
36
*
37
*/
38
class
MAPPER_API
preamble_sync_demapper
:
virtual
public
gr::block
39
{
40
public
:
41
typedef
boost::shared_ptr<preamble_sync_demapper>
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_H */
52
api.h
MAPPER_API
#define MAPPER_API
Definition
api.h:30
gr::mapper::preamble_sync_demapper
<+description of block+>
Definition
preamble_sync_demapper.h:39
gr::mapper::preamble_sync_demapper::make
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)
gr::mapper::preamble_sync_demapper::sptr
boost::shared_ptr< preamble_sync_demapper > sptr
Definition
preamble_sync_demapper.h:41
constellation.h
gr::mapper::modtype_t
modtype_t
Definition
constellation.h:23
gr
Definition
constellation.h:11
pream_sync_correlator.h
gr-mapper-2ea1eb68c5fe17f37cab870f93bb9f97d1066b72
include
mapper
preamble_sync_demapper.h
Generated by
1.11.0