aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorpiotr <Piotr Krysik pkrysik@elka.pw.edu.pl>2014-04-17 11:09:30 +0200
committerpiotr <Piotr Krysik pkrysik@elka.pw.edu.pl>2014-04-17 11:09:30 +0200
commitd77c9cf983530d12ca535da4231269c0967553e4 (patch)
treedabddddd873731461d8451f3eae29098fab3d229 /include
parentbf2d9a477bbd1362e23d7c17a42984466c54fc60 (diff)
Added block filtering bursts containing full CCH messages
Diffstat (limited to 'include')
-rw-r--r--include/gsm/CMakeLists.txt1
-rw-r--r--include/gsm/get_ccch_bursts.h56
2 files changed, 57 insertions, 0 deletions
diff --git a/include/gsm/CMakeLists.txt b/include/gsm/CMakeLists.txt
index c7f4fb3..746f718 100644
--- a/include/gsm/CMakeLists.txt
+++ b/include/gsm/CMakeLists.txt
@@ -23,5 +23,6 @@
install(FILES
api.h
receiver.h
+ get_ccch_bursts.h
bursts_printer.h DESTINATION include/gsm
)
diff --git a/include/gsm/get_ccch_bursts.h b/include/gsm/get_ccch_bursts.h
new file mode 100644
index 0000000..e0bbb1d
--- /dev/null
+++ b/include/gsm/get_ccch_bursts.h
@@ -0,0 +1,56 @@
+/* -*- c++ -*- */
+/*
+ * Copyright 2014 <+YOU OR YOUR COMPANY+>.
+ *
+ * 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_GSM_GET_CCCH_BURSTS_H
+#define INCLUDED_GSM_GET_CCCH_BURSTS_H
+
+#include <gsm/api.h>
+#include <gnuradio/block.h>
+
+namespace gr {
+ namespace gsm {
+
+ /*!
+ * \brief <+description of block+>
+ * \ingroup gsm
+ *
+ */
+ class GSM_API get_ccch_bursts : virtual public gr::block
+ {
+ public:
+ typedef boost::shared_ptr<get_ccch_bursts> sptr;
+
+ /*!
+ * \brief Return a shared_ptr to a new instance of gsm::get_ccch_bursts.
+ *
+ * To avoid accidental use of raw pointers, gsm::get_ccch_bursts's
+ * constructor is in a private implementation
+ * class. gsm::get_ccch_bursts::make is the public interface for
+ * creating new instances.
+ */
+ static sptr make();
+ };
+
+ } // namespace gsm
+} // namespace gr
+
+#endif /* INCLUDED_GSM_GET_CCCH_BURSTS_H */
+