diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2017-10-17 08:24:25 +0700 |
---|---|---|
committer | Piotr Krysik <ptrkrysik@users.noreply.github.com> | 2017-11-05 17:33:26 +0100 |
commit | e601c366bd179f908d4f34da9fe535c2606cac32 (patch) | |
tree | 6ac7846752a17c375abda18bb97e08166c784522 /include | |
parent | ba7ad29638ecb08af8c7a38dc98c8da715a5fcde (diff) |
Refactor the 'TRX Burst Interface' block
The following changes were made:
- Both implementation and headers were merged with misc_utils
- Fixed namespace mess: was gr::grgsm, became gr::gsm
- More accurate class name was chosen: "trx_burst_if"
Diffstat (limited to 'include')
-rw-r--r-- | include/grgsm/CMakeLists.txt | 1 | ||||
-rw-r--r-- | include/grgsm/misc_utils/CMakeLists.txt | 1 | ||||
-rw-r--r-- | include/grgsm/misc_utils/trx_burst_if.h (renamed from include/grgsm/trx_interface/trx.h) | 16 |
3 files changed, 9 insertions, 9 deletions
diff --git a/include/grgsm/CMakeLists.txt b/include/grgsm/CMakeLists.txt index 59034dc..0b58018 100644 --- a/include/grgsm/CMakeLists.txt +++ b/include/grgsm/CMakeLists.txt @@ -36,4 +36,3 @@ add_subdirectory(misc_utils) add_subdirectory(qa_utils) add_subdirectory(flow_control) add_subdirectory(transmitter) -add_subdirectory(trx_interface) diff --git a/include/grgsm/misc_utils/CMakeLists.txt b/include/grgsm/misc_utils/CMakeLists.txt index 978695e..8ac1f52 100644 --- a/include/grgsm/misc_utils/CMakeLists.txt +++ b/include/grgsm/misc_utils/CMakeLists.txt @@ -34,6 +34,7 @@ install(FILES message_printer.h tmsi_dumper.h msg_to_tag.h + trx_burst_if.h controlled_fractional_resampler_cc.h time_spec.h fn_time.h DESTINATION include/grgsm/misc_utils diff --git a/include/grgsm/trx_interface/trx.h b/include/grgsm/misc_utils/trx_burst_if.h index c55bf36..18ceef1 100644 --- a/include/grgsm/trx_interface/trx.h +++ b/include/grgsm/misc_utils/trx_burst_if.h @@ -20,8 +20,8 @@ * */ -#ifndef INCLUDED_GRGSM_TRX_H -#define INCLUDED_GRGSM_TRX_H +#ifndef INCLUDED_GRGSM_TRX_BURST_IF_H +#define INCLUDED_GRGSM_TRX_BURST_IF_H #include <grgsm/api.h> #include <gnuradio/sync_block.h> @@ -34,17 +34,17 @@ namespace gr { * \ingroup grgsm * */ - class GRGSM_API trx : virtual public gr::block + class GRGSM_API trx_burst_if : virtual public gr::block { public: - typedef boost::shared_ptr<trx> sptr; + typedef boost::shared_ptr<trx_burst_if> sptr; /*! - * \brief Return a shared_ptr to a new instance of grgsm::trx. + * \brief Return a shared_ptr to a new instance of grgsm::trx_burst_if. * - * To avoid accidental use of raw pointers, grgsm::trx's + * To avoid accidental use of raw pointers, grgsm::trx_burst_if's * constructor is in a private implementation - * class. grgsm::trx::make is the public interface for + * class. grgsm::trx_burst_if::make is the public interface for * creating new instances. */ static sptr make( @@ -59,5 +59,5 @@ namespace gr { } // namespace gsm } // namespace gr -#endif /* INCLUDED_GRGSM_TRX_H */ +#endif /* INCLUDED_GRGSM_TRX_BURST_IF_H */ |