GNU Radio's GR-AIR-MODES Package
slicer_impl.h
Go to the documentation of this file.
1/*
2# Copyright 2013 Nick Foster
3#
4# This file is part of gr-air-modes
5#
6# gr-air-modes is free software; you can redistribute it and/or modify
7# it under the terms of the GNU General Public License as published by
8# the Free Software Foundation; either version 3, or (at your option)
9# any later version.
10#
11# gr-air-modes is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY; without even the implied warranty of
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14# GNU General Public License for more details.
15#
16# You should have received a copy of the GNU General Public License
17# along with gr-air-modes; see the file COPYING. If not, write to
18# the Free Software Foundation, Inc., 51 Franklin Street,
19# Boston, MA 02110-1301, USA.
20#
21*/
22
23#ifndef INCLUDED_AIR_MODES_SLICER_IMPL_H
24#define INCLUDED_AIR_MODES_SLICER_IMPL_H
25
26#include <gnuradio/sync_block.h>
27#include <gnuradio/msg_queue.h>
28#include <gr_air_modes/api.h>
29#include <gr_air_modes/slicer.h>
30
31namespace gr {
32namespace air_modes {
33
35{
36private:
37 int d_check_width;
38 int d_chip_rate;
39 int d_samples_per_chip;
40 int d_samples_per_symbol;
41 gr::tag_t d_timestamp;
42 gr::msg_queue::sptr d_queue;
43 std::ostringstream d_payload;
44
45public:
46 slicer_impl(gr::msg_queue::sptr queue);
47
48 int work (int noutput_items,
49 gr_vector_const_void_star &input_items,
50 gr_vector_void_star &output_items);
51};
52
53} //namespace air_modes
54} //namespace gr
55
56#endif /* INCLUDED_AIR_MODES_SLICER_IMPL_H */
#define AIR_MODES_API
Definition api.h:30
Definition slicer_impl.h:35
slicer_impl(gr::msg_queue::sptr queue)
int work(int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
mode select slicer
Definition slicer.h:38
Definition preamble.h:29