GNU Radio's M17 Package
codec2_decoder.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_CODEC2_DECODER_H
9#define INCLUDED_M17_CODEC2_DECODER_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 codec2_decoder : virtual public gr::block
25 {
26 public:
27 typedef std::shared_ptr<codec2_decoder> 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();
38 };
39
40 } // namespace m17
41} // namespace gr
42
43#endif /* INCLUDED_M17_CODEC2_DECODER_H */
#define M17_API
Definition api.h:19
<+description of block+>
Definition codec2_decoder.h:25
static sptr make()
Return a shared_ptr to a new instance of m17::m17_coder.
std::shared_ptr< codec2_decoder > sptr
Definition codec2_decoder.h:27
Definition codec2_decoder.h:17
Definition codec2_decoder.h:15