GNU Radio C++ API Reference: check_lfsr_32k_s.h Source File

| GNU Radio C++ API Reference 3.10.12.0 The Free & Open Software Radio Ecosystem |

Loading...
Searching...
No Matches
check_lfsr_32k_s.h
Go to the documentation of this file.
1/* -*- c++ -*- */
2/*
3 * Copyright 2004,2013 Free Software Foundation, Inc.
4 *
5 * This file is part of GNU Radio
6 *
7 * SPDX-License-Identifier: GPL-3.0-or-later
8 *
9 */
10
11#ifndef INCLUDED_GR_CHECK_LFSR_32K_S_H
12#define INCLUDED_GR_CHECK_LFSR_32K_S_H
13
14#include <gnuradio/blocks/api.h>
15#include <gnuradio/sync_block.h>
16
17namespace gr {
18namespace blocks {
19
20/*!
21 * \brief sink that checks if its input stream consists of a lfsr_32k sequence.
22 * \ingroup misc_blk
23 *
24 * \details
25 * This sink is typically used along with
26 * gr::blocks::lfsr_32k_source_s to test the USRP using its
27 * digital loopback mode.
28 */
29 class BLOCKS_API check_lfsr_32k_s : virtual public sync_block
30{
31public:
32 // gr::blocks::check_lfsr_32k_s::sptr
33 typedef std::shared_ptr<check_lfsr_32k_s> sptr;
34
35 static sptr make();
36
37 virtual long ntotal() const = 0;
38 virtual long nright() const = 0;
39 virtual long runlength() const = 0;
40};
41
42} /* namespace blocks */
43} /* namespace gr */
44
45#endif /* INCLUDED_GR_CHECK_LFSR_32K_S_H */
gr::blocks::check_lfsr_32k_s
sink that checks if its input stream consists of a lfsr_32k sequence.
Definition check_lfsr_32k_s.h:30
gr::blocks::check_lfsr_32k_s::nright
virtual long nright() const =0
gr::blocks::check_lfsr_32k_s::runlength
virtual long runlength() const =0
gr::blocks::check_lfsr_32k_s::ntotal
virtual long ntotal() const =0
gr::blocks::check_lfsr_32k_s::sptr
std::shared_ptr< check_lfsr_32k_s > sptr
Definition check_lfsr_32k_s.h:33
gr::blocks::check_lfsr_32k_s::make
static sptr make()
gr::sync_block::sync_block
sync_block(void)
Definition sync_block.h:28
api.h
BLOCKS_API
#define BLOCKS_API
Definition gr-blocks/include/gnuradio/blocks/api.h:18
gr::blocks
Definition abs_blk.h:20
gr
GNU Radio logging wrapper.
Definition basic_block.h:29
sync_block.h