GNU Radio's M17 Package
symbol_sync.h
Go to the documentation of this file.
1/* -*- c++ -*- */
2/*
3 * Copyright 2026 wkaczmarski.
4 *
5 * SPDX-License-Identifier: GPL-3.0-or-later
6 */
7
8#ifndef INCLUDED_M17_SYMBOL_SYNC_H
9#define INCLUDED_M17_SYMBOL_SYNC_H
10
11#include <gnuradio/block.h>
12#include <gnuradio/m17/api.h>
13
14namespace gr
15{
16 namespace m17
17 {
18
19 /*!
20 * \brief <+description of block+>
21 * \ingroup m17
22 *
23 */
24 class M17_API symbol_sync : virtual public gr::block
25 {
26 public:
27 typedef std::shared_ptr<symbol_sync> sptr;
28
29 /*!
30 * \brief Return a shared_ptr to a new instance of m17::m17_coder.
31 *
32 * To avoid accidental use of raw pointers, m17::m17_coder's
33 * constructor is in a private implementation
34 * class. m17::m17_coder::make is the public interface for
35 * creating new instances.
36 */
37 static sptr make(int in_sps, float loop_bw, float max_dev);
38 virtual void set_in_sps(int in_sps) = 0;
39 virtual void set_loop_bw(float loop_bw) = 0;
40 virtual void set_max_dev(float max_dev) = 0;
41 };
42
43 } // namespace m17
44} // namespace gr
45
46#endif /* INCLUDED_M17_SYMBOL_SYNC_H */
#define M17_API
Definition api.h:19
<+description of block+>
Definition symbol_sync.h:25
virtual void set_in_sps(int in_sps)=0
virtual void set_loop_bw(float loop_bw)=0
std::shared_ptr< symbol_sync > sptr
Definition symbol_sync.h:27
static sptr make(int in_sps, float loop_bw, float max_dev)
Return a shared_ptr to a new instance of m17::m17_coder.
virtual void set_max_dev(float max_dev)=0
Definition codec2_decoder.h:17
Definition codec2_decoder.h:15