GNU Radio Manual and C++ API Reference 3.10.5.1
The Free & Open Software Radio Ecosystem
host_buffer_copy.h
Go to the documentation of this file.
1/* -*- c++ -*- */
2/*
3 * Copyright 2010,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_HOST_BUFFER_COPY_H
12#define INCLUDED_GR_HOST_BUFFER_COPY_H
13
14#include <gnuradio/blocks/api.h>
15#include <gnuradio/sync_block.h>
16
17namespace gr {
18namespace blocks {
19
20/*!
21 * \brief copy using host_buffer testing block. FOR TESTING PURPOSES ONLY.
22 * \ingroup debug_tools_blk
23 *
24 * \details
25 * This block is a standard copy block that uses the host_buffer single mapped
26 * buffers to simulate data movement.
27 *
28 * Warning: This block is only meant for testing.
29 */
31{
32public:
33 // gr::blocks::host_buffer_copy::sptr
34 typedef std::shared_ptr<host_buffer_copy> sptr;
35
36 static sptr make(int history);
37};
38
39} /* namespace blocks */
40} /* namespace gr */
41
42#endif /* INCLUDED_GR_ANNOTATOR_1TO1_H */
copy using host_buffer testing block. FOR TESTING PURPOSES ONLY.
Definition: host_buffer_copy.h:31
static sptr make(int history)
std::shared_ptr< host_buffer_copy > sptr
Definition: host_buffer_copy.h:34
synchronous 1:1 input to output with history
Definition: sync_block.h:26
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29