summaryrefslogtreecommitdiff
path: root/gr-blocks/lib/vector_to_stream_impl.h
blob: 7a68667bf69aab32b40129a614c342d7acd601a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/* -*- c++ -*- */
/*
 * Copyright 2012 Free Software Foundation, Inc.
 *
 * This file is part of GNU Radio
 *
 * SPDX-License-Identifier: GPL-3.0-or-later
 *
 */

#ifndef INCLUDED_VECTOR_TO_STREAM_IMPL_H
#define INCLUDED_VECTOR_TO_STREAM_IMPL_H

#include <gnuradio/blocks/vector_to_stream.h>

namespace gr {
namespace blocks {

class BLOCKS_API vector_to_stream_impl : public vector_to_stream
{
public:
    vector_to_stream_impl(size_t itemsize, size_t nitems_per_block);

    int work(int noutput_items,
             gr_vector_const_void_star& input_items,
             gr_vector_void_star& output_items) override;
};

} /* namespace blocks */
} /* namespace gr */

#endif /* INCLUDED_VECTOR_TO_STREAM_IMPL_H */