GNU Radio Manual and C++ API Reference
3.9.1.0
The Free & Open Software Radio Ecosystem
skiphead.h
Go to the documentation of this file.
1
/* -*- c++ -*- */
2
/*
3
* Copyright 2005,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_SKIPHEAD_H
12
#define INCLUDED_GR_SKIPHEAD_H
13
14
#include <
gnuradio/blocks/api.h
>
15
#include <
gnuradio/sync_block.h
>
16
#include <cstddef>
// size_t
17
18
namespace
gr
{
19
namespace
blocks {
20
21
/*!
22
* \brief skips the first N items, from then on copies items to the output
23
* \ingroup misc_blk
24
*
25
* \details
26
* Useful for building test cases and sources which have metadata
27
* or junk at the start
28
*/
29
class
BLOCKS_API
skiphead
:
virtual
public
block
30
{
31
public
:
32
// gr::blocks::skiphead::sptr
33
typedef
std::shared_ptr<skiphead>
sptr
;
34
35
static
sptr
make(
size_t
itemsize
, uint64_t nitems_to_skip);
36
};
37
38
}
/* namespace blocks */
39
}
/* namespace gr */
40
41
#endif
/* INCLUDED_GR_SKIPHEAD_H */
api.h
gr::blocks::pdu::itemsize
BLOCKS_API size_t itemsize(vector_type type)
BLOCKS_API
#define BLOCKS_API
Definition:
gr-blocks/include/gnuradio/blocks/api.h:18
gr::blocks::skiphead::sptr
std::shared_ptr< skiphead > sptr
Definition:
skiphead.h:33
gr::block
The abstract base class for all 'terminal' processing blocks.
Definition:
block.h:59
sync_block.h
gr::blocks::skiphead
skips the first N items, from then on copies items to the output
Definition:
skiphead.h:29
gr
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition:
basic_block.h:29
gr-blocks
include
gnuradio
blocks
skiphead.h
Generated by
1.8.17