GNU Radio Manual and C++ API Reference  3.10.9.1
The Free & Open Software Radio Ecosystem
runtime_types.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2004,2007 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_RUNTIME_TYPES_H
12 #define INCLUDED_GR_RUNTIME_TYPES_H
13 
14 #include <gnuradio/api.h>
15 #include <gnuradio/types.h>
16 
17 namespace gr {
18 
19 /*
20  * typedefs for smart pointers we use throughout the runtime system
21  */
22 class basic_block;
23 class block;
24 class block_detail;
25 class buffer;
26 class buffer_reader;
27 class hier_block2;
28 class flat_flowgraph;
29 class flowgraph;
30 class top_block;
31 
32 typedef std::shared_ptr<basic_block> basic_block_sptr;
33 typedef std::shared_ptr<block> block_sptr;
34 typedef std::shared_ptr<block_detail> block_detail_sptr;
35 typedef std::shared_ptr<buffer> buffer_sptr;
36 typedef std::shared_ptr<buffer_reader> buffer_reader_sptr;
37 typedef std::shared_ptr<hier_block2> hier_block2_sptr;
38 typedef std::shared_ptr<flat_flowgraph> flat_flowgraph_sptr;
39 typedef std::shared_ptr<flowgraph> flowgraph_sptr;
40 typedef std::shared_ptr<top_block> top_block_sptr;
41 
42 } /* namespace gr */
43 
44 #endif /* INCLUDED_GR_RUNTIME_TYPES_H */
GNU Radio logging wrapper.
Definition: basic_block.h:29