ao40_syncframe.h
Go to the documentation of this file.
/* -*- c++ -*- */
/*
* gr-ao40 GNU Radio OOT module for AO-40 FEC
*
* Copyright 2017 Daniel Estevez <daniel@destevez.net>.
*
* This program 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 program 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 program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef INCLUDED_SATELLITES_AO40_SYNCFRAME_H
#define INCLUDED_SATELLITES_AO40_SYNCFRAME_H
#include <satellites/api.h>
#include <gnuradio/sync_block.h>
namespace gr {
namespace satellites {
/*!
* \brief <+description of block+>
* \ingroup satellites
*
*/
class SATELLITES_API ao40_syncframe : virtual public gr::sync_block
{
public:
typedef boost::shared_ptr<ao40_syncframe> sptr;
/*!
* \brief Return a shared_ptr to a new instance of ao40::syncframe.
*
* To avoid accidental use of raw pointers, ao40::syncframe's
* constructor is in a private implementation
* class. ao40::syncframe::make is the public interface for
* creating new instances.
*/
static sptr make(int threshold);
};
} // namespace satellites
} // namespace gr
#endif /* INCLUDED_SATELLITES_AO40_SYNCFRAME_H */
api.h
SATELLITES_API
#define SATELLITES_API
Definition: api.h:30
gr::satellites::ao40_syncframe
<+description of block+>
Definition: ao40_syncframe.h:36
gr::satellites::ao40_syncframe::make
static sptr make(int threshold)
Return a shared_ptr to a new instance of ao40::syncframe.
gr::satellites::ao40_syncframe::sptr
boost::shared_ptr< ao40_syncframe > sptr
Definition: ao40_syncframe.h:38
gr
Definition: ao40_deinterleaver.h:25