sss_calculator_vcm.h
Go to the documentation of this file.
/* -*- c++ -*- */
/*
* Copyright 2013 Communications Engineering Lab (CEL) / Karlsruhe Institute of Technology (KIT)
*
* 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_LTE_SSS_CALCULATOR_VCM_H
#define INCLUDED_LTE_SSS_CALCULATOR_VCM_H
#include <lte/api.h>
#include <gnuradio/sync_block.h>
namespace gr {
namespace lte {
/*!
* \brief Detect SSS in symbol
* \ingroup lte
*
*/
class LTE_API sss_calculator_vcm : virtual public gr::sync_block
{
public:
typedef boost::shared_ptr<sss_calculator_vcm> sptr;
/*!
* \brief Return a shared_ptr to a new instance of lte::sss_calculator_vcm.
*
* To avoid accidental use of raw pointers, lte::sss_calculator_vcm's
* constructor is in a private implementation
* class. lte::sss_calculator_vcm::make is the public interface for
* creating new instances.
*/
static sptr make(int fftl, std::string key_id, std::string key_offset, std::string name = "sss_calculator_vcm");
virtual int get_cell_id() = 0;
virtual long get_frame_start() = 0;
};
} // namespace lte
} // namespace gr
#endif /* INCLUDED_LTE_SSS_CALCULATOR_VCM_H */
api.h
LTE_API
#define LTE_API
Definition api.h:30
gr::lte::sss_calculator_vcm
Detect SSS in symbol.
Definition sss_calculator_vcm.h:37
gr::lte::sss_calculator_vcm::make
static sptr make(int fftl, std::string key_id, std::string key_offset, std::string name="sss_calculator_vcm")
Return a shared_ptr to a new instance of lte::sss_calculator_vcm.
gr::lte::sss_calculator_vcm::get_cell_id
virtual int get_cell_id()=0
gr::lte::sss_calculator_vcm::sptr
boost::shared_ptr< sss_calculator_vcm > sptr
Definition sss_calculator_vcm.h:39
gr::lte::sss_calculator_vcm::get_frame_start
virtual long get_frame_start()=0
gr
Definition bch_crc_check_ant_chooser_bb.h:28