GNU Radio's LORA_SDR Package
gray_enc_impl.h
Go to the documentation of this file.
1 #ifndef INCLUDED_LORA_GRAY_ENC_IMPL_H
2 #define INCLUDED_LORA_GRAY_ENC_IMPL_H
3 // #define GRLORA_DEBUG
4 #include <lora_sdr/gray_enc.h>
5 
6 namespace gr {
7 namespace lora_sdr {
8 
9 class gray_enc_impl : public gray_enc {
10 public:
11  /**
12  * @brief Construct a new gray enc impl object
13  *
14  */
15  gray_enc_impl();
16 
17  /**
18  * @brief Destroy the gray enc impl object
19  *
20  */
22 
23  /**
24  * @brief Main function where the actual computation happens
25  *
26  * @param noutput_items : number of input items
27  * @param input_items : input item (i.e. output data from the interleaving stage)
28  * @param output_items : output data
29  * @return int
30  */
31  int work(int noutput_items, gr_vector_const_void_star &input_items,
32  gr_vector_void_star &output_items);
33 };
34 } // namespace lora_sdr
35 } // namespace gr
36 
37 #endif /* INCLUDED_LORA_GRAY_ENC_IMPL_H */
gr::lora_sdr::gray_enc_impl::~gray_enc_impl
~gray_enc_impl()
Destroy the gray enc impl object.
gr::lora_sdr::gray_enc_impl::gray_enc_impl
gray_enc_impl()
Construct a new gray enc impl object.
gr::lora_sdr::gray_enc_impl
Definition: gray_enc_impl.h:9
gr::lora_sdr::gray_enc
Modulate the payload with an Gray map. This ensures that bits are modulated such that two subsequent ...
Definition: gray_enc.h:38
gr::lora_sdr::gray_enc_impl::work
int work(int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
Main function where the actual computation happens.
gr
Definition: add_crc.h:28
gray_enc.h