ao40_syncframe_soft_impl.h
Go to the documentation of this file.
/* -*- c++ -*- */
/*
* Copyright 2018 Daniel Estevez <daniel@destevez.net>.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef INCLUDED_SATELLITES_AO40_SYNCFRAME_SOFT_IMPL_H
#define INCLUDED_SATELLITES_AO40_SYNCFRAME_SOFT_IMPL_H
#include <satellites/ao40_syncframe_soft.h>
#define SYNCLEN 65
namespace gr {
namespace satellites {
class ao40_syncframe_soft_impl : public ao40_syncframe_soft
{
private:
int d_threshold;
static const uint8_t d_syncword[SYNCLEN];
public:
ao40_syncframe_soft_impl(int threshold);
~ao40_syncframe_soft_impl();
// Where all the action really happens
int work(int noutput_items,
gr_vector_const_void_star &input_items,
gr_vector_void_star &output_items);
};
} // namespace satellites
} // namespace gr
#endif /* INCLUDED_SATELLITES_AO40_SYNCFRAME_SOFT_IMPL_H */
ao40_syncframe_soft.h
SYNCLEN
#define SYNCLEN
Definition: ao40_syncframe_soft_impl.h:24
gr::satellites::ao40_syncframe_soft_impl
Definition: ao40_syncframe_soft_impl.h:30
gr::satellites::ao40_syncframe_soft_impl::~ao40_syncframe_soft_impl
~ao40_syncframe_soft_impl()
gr::satellites::ao40_syncframe_soft_impl::work
int work(int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
gr::satellites::ao40_syncframe_soft_impl::ao40_syncframe_soft_impl
ao40_syncframe_soft_impl(int threshold)
gr::satellites::ao40_syncframe_soft
<+description of block+>
Definition: ao40_syncframe_soft.h:34
gr
Definition: ao40_deinterleaver.h:25