distributed_syncframe_soft_impl.h
Go to the documentation of this file.
/* -*- c++ -*- */
/*
* Copyright 2019-2020 Daniel Estevez <daniel@destevez.net>
*
* This file is part of gr-satellites
*
* SPDX-License-Identifier: GPL-3.0-or-later
*
*/
#ifndef INCLUDED_SATELLITES_DISTRIBUTED_SYNCFRAME_SOFT_IMPL_H
#define INCLUDED_SATELLITES_DISTRIBUTED_SYNCFRAME_SOFT_IMPL_H
#include <satellites/distributed_syncframe_soft.h>
#include <vector>
namespace gr {
namespace satellites {
class distributed_syncframe_soft_impl : public distributed_syncframe_soft
{
private:
const size_t d_threshold;
const size_t d_step;
std::vector<uint8_t> d_syncword;
public:
distributed_syncframe_soft_impl(int threshold, const std::string& syncword, int step);
~distributed_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_DISTRIBUTED_SYNCFRAME_SOFT_IMPL_H */
gr::satellites::distributed_syncframe_soft_impl::~distributed_syncframe_soft_impl
~distributed_syncframe_soft_impl()
gr::satellites::distributed_syncframe_soft_impl::distributed_syncframe_soft_impl
distributed_syncframe_soft_impl(int threshold, const std::string &syncword, int step)
gr::satellites::distributed_syncframe_soft_impl::work
int work(int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
gr::satellites::distributed_syncframe_soft
<+description of block+>
Definition distributed_syncframe_soft.h:26
distributed_syncframe_soft.h
gr::satellites
Definition ax100_decode.h:18
gr
Definition ax100_decode.h:17