aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPiotr Krysik <ptrkrysik@gmail.com>2016-08-16 16:05:23 +0200
committerPiotr Krysik <ptrkrysik@gmail.com>2016-08-16 16:05:23 +0200
commit2bb54c8fcd55a1f80680ba11b788ecd5e00ef066 (patch)
treec0445f622cdf4682b211609dacc8eb2fb7fcb57e /include
parent9e7b25c881fdf3413cc92e6e32692552c7a0931c (diff)
Added uplink/downlink splitter
Diffstat (limited to 'include')
-rw-r--r--include/grgsm/CMakeLists.txt3
-rw-r--r--include/grgsm/uplink_downlink_filter.h58
2 files changed, 60 insertions, 1 deletions
diff --git a/include/grgsm/CMakeLists.txt b/include/grgsm/CMakeLists.txt
index dc9b191..61f15bf 100644
--- a/include/grgsm/CMakeLists.txt
+++ b/include/grgsm/CMakeLists.txt
@@ -23,7 +23,8 @@
install(FILES
plotting.hpp
api.h
- gsmtap.h DESTINATION include/grgsm
+ gsmtap.h
+ uplink_downlink_filter.h DESTINATION include/grgsm
)
add_subdirectory(decoding)
diff --git a/include/grgsm/uplink_downlink_filter.h b/include/grgsm/uplink_downlink_filter.h
new file mode 100644
index 0000000..dec4af6
--- /dev/null
+++ b/include/grgsm/uplink_downlink_filter.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_GRGSM_UPLINK_DOWNLINK_FILTER_H
+#define INCLUDED_GRGSM_UPLINK_DOWNLINK_FILTER_H
+
+#include <grgsm/api.h>
+#include <gnuradio/block.h>
+
+namespace gr {
+ namespace grgsm {
+
+ /*!
+ * \brief <+description of block+>
+ * \ingroup grgsm
+ *
+ */
+ class GRGSM_API uplink_downlink_filter : virtual public gr::block
+ {
+ public:
+ typedef boost::shared_ptr<uplink_downlink_filter> sptr;
+
+ /*!
+ * \brief Return a shared_ptr to a new instance of grgsm::uplink_downlink_filter.
+ *
+ * To avoid accidental use of raw pointers, grgsm::uplink_downlink_filter's
+ * constructor is in a private implementation
+ * class. grgsm::uplink_downlink_filter::make is the public interface for
+ * creating new instances.
+ */
+ static sptr make();
+ };
+
+ } // namespace grgsm
+} // namespace gr
+
+#endif /* INCLUDED_GRGSM_UPLINK_DOWNLINK_FILTER_H */
+