u482c_decode_impl.h
Go to the documentation of this file.
/* -*- c++ -*- */
/*
* Copyright 2016 Daniel Estevez <daniel@destevez.net>.
*
* This 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 software 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 software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street,
* Boston, MA 02110-1301, USA.
*/
#ifndef INCLUDED_SATELLITES_U482C_DECODE_IMPL_H
#define INCLUDED_SATELLITES_U428C_DECODE_IMPL_H
#include <satellites/u482c_decode.h>
#include <pmt/pmt.h>
#define RS_LEN 255
#define HEADER_LEN 3
namespace gr {
namespace satellites {
class u482c_decode_impl : public u482c_decode
{
private:
bool d_verbose;
char d_ccsds_sequence[RS_LEN];
void *d_vp;
int d_viterbi, d_scrambler, d_rs;
public:
u482c_decode_impl(bool verbose, int viterbi, int scrambler, int rs);
~u482c_decode_impl();
// Where all the action really happens
void forecast (int noutput_items, gr_vector_int &ninput_items_required);
int general_work(int noutput_items,
gr_vector_int &ninput_items,
gr_vector_const_void_star &input_items,
gr_vector_void_star &output_items);
void msg_handler (pmt::pmt_t pmt_msg);
};
} // namespace satellites
} // namespace gr
#endif /* INCLUDED_SATELLITES_U482C_DECODE_IMPL_H */
gr::satellites::u482c_decode_impl
Definition: u482c_decode_impl.h:34
gr::satellites::u482c_decode_impl::~u482c_decode_impl
~u482c_decode_impl()
gr::satellites::u482c_decode_impl::general_work
int general_work(int noutput_items, gr_vector_int &ninput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
gr::satellites::u482c_decode_impl::msg_handler
void msg_handler(pmt::pmt_t pmt_msg)
gr::satellites::u482c_decode_impl::u482c_decode_impl
u482c_decode_impl(bool verbose, int viterbi, int scrambler, int rs)
gr::satellites::u482c_decode_impl::forecast
void forecast(int noutput_items, gr_vector_int &ninput_items_required)
gr::satellites::u482c_decode
<+description of block+>
Definition: u482c_decode.h:37
gr
Definition: ao40_deinterleaver.h:25
u482c_decode.h
RS_LEN
#define RS_LEN
Definition: u482c_decode_impl.h:27