GNU Radio's SATELLITES Package

distributed_syncframe_soft_impl.h
Go to the documentation of this file.
1/* -*- c++ -*- */
2/*
3 * Copyright 2019-2020 Daniel Estevez <daniel@destevez.net>
4 *
5 * This file is part of gr-satellites
6 *
7 * SPDX-License-Identifier: GPL-3.0-or-later
8 *
9 */
10
11#ifndef INCLUDED_SATELLITES_DISTRIBUTED_SYNCFRAME_SOFT_IMPL_H
12#define INCLUDED_SATELLITES_DISTRIBUTED_SYNCFRAME_SOFT_IMPL_H
13
14#include <satellites/distributed_syncframe_soft.h>
15
16#include <vector>
17
18 namespace gr {
19 namespace satellites {
20
21 class distributed_syncframe_soft_impl : public distributed_syncframe_soft
22{
23 private:
24 const size_t d_threshold;
25 const size_t d_step;
26 std::vector<uint8_t> d_syncword;
27
28 public:
29 distributed_syncframe_soft_impl(int threshold, const std::string& syncword, int step);
30 ~distributed_syncframe_soft_impl();
31
32 // Where all the action really happens
33 int work(int noutput_items,
34 gr_vector_const_void_star& input_items,
35 gr_vector_void_star& output_items);
36};
37
38} // namespace satellites
39} // namespace gr
40
41#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