aboutsummaryrefslogtreecommitdiffstats
path: root/include/grgsm/misc_utils
diff options
context:
space:
mode:
authorptrkrysik <ptrkrysik@gmail.com>2015-01-15 11:47:38 +0100
committerptrkrysik <ptrkrysik@gmail.com>2015-01-15 11:47:38 +0100
commitdd700c17fe0aeb27637632ee4a201cedc6a840b2 (patch)
treeb4db531cdae09d82ce33203005ea93500761007d /include/grgsm/misc_utils
parent258bbb8e92aea4731be2108596cb6b83065646ea (diff)
Moved files to gr-gsm directories. Changed CMakeLists.txt files accordingly.
Diffstat (limited to 'include/grgsm/misc_utils')
-rw-r--r--include/grgsm/misc_utils/CMakeLists.txt3
-rw-r--r--include/grgsm/misc_utils/tmsi_dumper.h58
2 files changed, 60 insertions, 1 deletions
diff --git a/include/grgsm/misc_utils/CMakeLists.txt b/include/grgsm/misc_utils/CMakeLists.txt
index 1f640a2..eb75bb3 100644
--- a/include/grgsm/misc_utils/CMakeLists.txt
+++ b/include/grgsm/misc_utils/CMakeLists.txt
@@ -25,5 +25,6 @@ install(FILES
extract_system_info.h
controlled_rotator_cc.h
controlled_const_source_f.h
- message_printer.h DESTINATION include/grgsm/misc_utils
+ message_printer.h
+ tmsi_dumper.h DESTINATION include/grgsm/misc_utils
)
diff --git a/include/grgsm/misc_utils/tmsi_dumper.h b/include/grgsm/misc_utils/tmsi_dumper.h
new file mode 100644
index 0000000..88e9941
--- /dev/null
+++ b/include/grgsm/misc_utils/tmsi_dumper.h
@@ -0,0 +1,58 @@
+/* -*- c++ -*- */
+/* @file
+ * @author Piotr Krysik <ptrkrysik@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_GSM_TMSI_DUMPER_H
+#define INCLUDED_GSM_TMSI_DUMPER_H
+
+#include <grgsm/api.h>
+#include <gnuradio/block.h>
+
+namespace gr {
+ namespace gsm {
+
+ /*!
+ * \brief <+description of block+>
+ * \ingroup gsm
+ *
+ */
+ class GSM_API tmsi_dumper : virtual public gr::block
+ {
+ public:
+ typedef boost::shared_ptr<tmsi_dumper> sptr;
+
+ /*!
+ * \brief Return a shared_ptr to a new instance of gsm::tmsi_dumper.
+ *
+ * To avoid accidental use of raw pointers, gsm::tmsi_dumper's
+ * constructor is in a private implementation
+ * class. gsm::tmsi_dumper::make is the public interface for
+ * creating new instances.
+ */
+ static sptr make();
+ };
+
+ } // namespace gsm
+} // namespace gr
+
+#endif /* INCLUDED_GSM_TMSI_DUMPER_H */
+