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
17
namespace
gr
{
18
namespace
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
*/
30
class
BLOCKS_API
host_buffer_copy
:
virtual
public
sync_block
31
{
32
public
:
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 */
gr::blocks::host_buffer_copy::sptr
std::shared_ptr< host_buffer_copy > sptr
Definition:
host_buffer_copy.h:34
api.h
gr::blocks::host_buffer_copy
copy using host_buffer testing block. FOR TESTING PURPOSES ONLY.
Definition:
host_buffer_copy.h:30
BLOCKS_API
#define BLOCKS_API
Definition:
gr-blocks/include/gnuradio/blocks/api.h:18
gr::sync_block
synchronous 1:1 input to output with history
Definition:
sync_block.h:25
sync_block.h
gr
GNU Radio logging wrapper.
Definition:
basic_block.h:29
gr-blocks
include
gnuradio
blocks
host_buffer_copy.h
Generated by
1.8.17