Loading...
Searching...
No Matches
host_buffer_copy.h
Go to the documentation of this file.
/* -*- c++ -*- */
/*
* Copyright 2010,2013 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
* SPDX-License-Identifier: GPL-3.0-or-later
*
*/
#ifndef INCLUDED_GR_HOST_BUFFER_COPY_H
#define INCLUDED_GR_HOST_BUFFER_COPY_H
#include <gnuradio/blocks/api.h>
#include <gnuradio/sync_block.h>
namespace gr {
namespace blocks {
/*!
* \brief copy using host_buffer testing block. FOR TESTING PURPOSES ONLY.
* \ingroup debug_tools_blk
*
* \details
* This block is a standard copy block that uses the host_buffer single mapped
* buffers to simulate data movement.
*
* Warning: This block is only meant for testing.
*/
class BLOCKS_API host_buffer_copy : virtual public sync_block
{
public:
// gr::blocks::host_buffer_copy::sptr
typedef std::shared_ptr<host_buffer_copy> sptr;
static sptr make(int history);
};
} /* namespace blocks */
} /* namespace gr */
#endif /* INCLUDED_GR_ANNOTATOR_1TO1_H */
gr::block::history
unsigned history() const
gr::blocks::host_buffer_copy
copy using host_buffer testing block. FOR TESTING PURPOSES ONLY.
Definition host_buffer_copy.h:31
gr::blocks::host_buffer_copy::make
static sptr make(int history)
gr::blocks::host_buffer_copy::sptr
std::shared_ptr< host_buffer_copy > sptr
Definition host_buffer_copy.h:34
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