descrambler308_impl.h
Go to the documentation of this file.
/* -*- c++ -*- */
/*
* Copyright 2018 Daniel Estevez <daniel@destevez.net>
*
* This file is part of gr-satellites
*
* SPDX-License-Identifier: GPL-3.0-or-later
*
*/
#ifndef INCLUDED_SATELLITES_DESCRAMBLER308_IMPL_H
#define INCLUDED_SATELLITES_DESCRAMBLER308_IMPL_H
#include <stdint.h>
#include <satellites/descrambler308.h>
namespace gr {
namespace satellites {
class descrambler308_impl : public descrambler308
{
private:
uint32_t d_counter;
uint32_t d_shift_register;
unsigned char d_scramble_bit(unsigned char inbit);
public:
descrambler308_impl();
~descrambler308_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_DESCRAMBLER308_IMPL_H */
gr::satellites::descrambler308_impl
Definition descrambler308_impl.h:22
gr::satellites::descrambler308_impl::~descrambler308_impl
~descrambler308_impl()
gr::satellites::descrambler308_impl::work
int work(int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
gr::satellites::descrambler308_impl::descrambler308_impl
descrambler308_impl()
gr::satellites::descrambler308
<+description of block+>
Definition descrambler308.h:26
descrambler308.h
gr
Definition ax100_decode.h:17