GNU Radio's SATELLITES Package

descrambler308_impl.h
Go to the documentation of this file.
1/* -*- c++ -*- */
2/*
3 * Copyright 2018 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_DESCRAMBLER308_IMPL_H
12#define INCLUDED_SATELLITES_DESCRAMBLER308_IMPL_H
13
14#include <stdint.h>
15
16#include <satellites/descrambler308.h>
17
18 namespace gr {
19 namespace satellites {
20
21 class descrambler308_impl : public descrambler308
22{
23 private:
24 uint32_t d_counter;
25 uint32_t d_shift_register;
26 unsigned char d_scramble_bit(unsigned char inbit);
27
28 public:
29 descrambler308_impl();
30 ~descrambler308_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_DESCRAMBLER308_IMPL_H */
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::satellites
Definition ax100_decode.h:18
gr
Definition ax100_decode.h:17