include/satellites/encode_rs.h
Go to the documentation of this file.
/* -*- c++ -*- */
/*
* Copyright 2018,2020 Daniel Estevez <daniel@destevez.net>
*
* This file is part of gr-satellites
*
* SPDX-License-Identifier: GPL-3.0-or-later
*
*/
#ifndef INCLUDED_SATELLITES_ENCODE_RS_H
#define INCLUDED_SATELLITES_ENCODE_RS_H
#include <gnuradio/block.h>
#include <satellites/api.h>
namespace gr {
namespace satellites {
/*!
* \brief <+description of block+>
* \ingroup satellites
*
*/
class SATELLITES_API encode_rs : virtual public gr::block
{
public:
typedef boost::shared_ptr<encode_rs> sptr;
/*!
* \brief Return a shared_ptr to a new instance of satellites::encode_rs.
*
* To avoid accidental use of raw pointers, satellites::encode_rs's
* constructor is in a private implementation
* class. satellites::encode_rs::make is the public interface for
* creating new instances.
*/
static sptr make(bool dual_basis, int interleave = 1);
static sptr
make(int symsize, int gfpoly, int fcr, int prim, int nroots, int interleave = 1);
};
} // namespace satellites
} // namespace gr
#endif /* INCLUDED_SATELLITES_ENCODE_RS_H */
api.h
SATELLITES_API
#define SATELLITES_API
Definition api.h:31
gr::satellites::encode_rs
<+description of block+>
Definition include/satellites/encode_rs.h:26
gr::satellites::encode_rs::sptr
boost::shared_ptr< encode_rs > sptr
Definition include/satellites/encode_rs.h:28
gr::satellites::encode_rs::make
static sptr make(bool dual_basis, int interleave=1)
Return a shared_ptr to a new instance of satellites::encode_rs.
gr::satellites::encode_rs::make
static sptr make(int symsize, int gfpoly, int fcr, int prim, int nroots, int interleave=1)
nroots
rs nroots
Definition init_rs.h:80
fcr
rs fcr
Definition init_rs.h:78
prim
rs prim
Definition init_rs.h:79
gr::satellites
Definition ax100_decode.h:18
gr
Definition ax100_decode.h:17