diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2017-12-01 19:24:14 +0700 |
---|---|---|
committer | Vadim Yanitskiy <axilirator@gmail.com> | 2017-12-04 01:48:43 +0700 |
commit | 0aafe2856de2286e5b88e43f81785a1aa5284f3f (patch) | |
tree | 8594a79d711fda39ba1e294ad75b197d7c65dc15 /include/grgsm | |
parent | d222ee58bbc260ea70cc995c70d797768f00f895 (diff) |
Implement the 'burst_to_fn_time' block in C++
Diffstat (limited to 'include/grgsm')
-rw-r--r-- | include/grgsm/misc_utils/CMakeLists.txt | 1 | ||||
-rw-r--r-- | include/grgsm/misc_utils/burst_to_fn_time.h | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/include/grgsm/misc_utils/CMakeLists.txt b/include/grgsm/misc_utils/CMakeLists.txt index 8ac1f52..5ff1960 100644 --- a/include/grgsm/misc_utils/CMakeLists.txt +++ b/include/grgsm/misc_utils/CMakeLists.txt @@ -35,6 +35,7 @@ install(FILES tmsi_dumper.h msg_to_tag.h trx_burst_if.h + burst_to_fn_time.h controlled_fractional_resampler_cc.h time_spec.h fn_time.h DESTINATION include/grgsm/misc_utils diff --git a/include/grgsm/misc_utils/burst_to_fn_time.h b/include/grgsm/misc_utils/burst_to_fn_time.h new file mode 100644 index 0000000..870bd83 --- /dev/null +++ b/include/grgsm/misc_utils/burst_to_fn_time.h @@ -0,0 +1,57 @@ +/* -*- c++ -*- */ +/* @file + * @author Piotr Krysik <ptrkrysik@gmail.com> + * @author Vadim Yanitskiy <axilirator@gmail.com> + * @section LICENSE + * + * Gr-gsm 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. + * + * Gr-gsm 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 gr-gsm; see the file COPYING. If not, write to + * the Free Software Foundation, Inc., 51 Franklin Street, + * Boston, MA 02110-1301, USA. + * + */ + +#ifndef INCLUDED_GRGSM_BURST_TO_FN_TIME_H +#define INCLUDED_GRGSM_BURST_TO_FN_TIME_H + +#include <grgsm/api.h> +#include <gnuradio/block.h> + +namespace gr { + namespace gsm { + + /*! + * \brief <+description of block+> + * \ingroup gsm + * + */ + class GRGSM_API burst_to_fn_time : virtual public gr::block + { + public: + typedef boost::shared_ptr<burst_to_fn_time> sptr; + + /*! + * \brief Return a shared_ptr to a new instance of grgsm::burst_to_fn_time. + * + * To avoid accidental use of raw pointers, grgsm::burst_to_fn_time's + * constructor is in a private implementation + * class. grgsm::burst_to_fn_time::make is the public interface for + * creating new instances. + */ + static sptr make(); + }; + + } // namespace gsm +} // namespace gr + +#endif /* INCLUDED_GRGSM_BURST_TO_FN_TIME_H */ |