GNU Radio 3.3.0 C++ API
gr_runtime_types.h
Go to the documentation of this file.
00001 /* -*- c++ -*- */
00002 /*
00003  * Copyright 2004,2007 Free Software Foundation, Inc.
00004  * 
00005  * This file is part of GNU Radio
00006  * 
00007  * GNU Radio is free software; you can redistribute it and/or modify
00008  * it under the terms of the GNU General Public License as published by
00009  * the Free Software Foundation; either version 3, or (at your option)
00010  * any later version.
00011  * 
00012  * GNU Radio is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015  * GNU General Public License for more details.
00016  * 
00017  * You should have received a copy of the GNU General Public License
00018  * along with GNU Radio; see the file COPYING.  If not, write to
00019  * the Free Software Foundation, Inc., 51 Franklin Street,
00020  * Boston, MA 02110-1301, USA.
00021  */
00022 
00023 #ifndef INCLUDED_GR_RUNTIME_TYPES_H
00024 #define INCLUDED_GR_RUNTIME_TYPES_H
00025 
00026 #include <gr_types.h>
00027 
00028 /*
00029  * typedefs for smart pointers we use throughout the runtime system
00030  */
00031 
00032 class gr_basic_block;
00033 class gr_block;
00034 class gr_block_detail;
00035 class gr_hier_block2;
00036 class gr_io_signature;
00037 class gr_buffer;
00038 class gr_buffer_reader;
00039 class gr_flowgraph;
00040 class gr_flat_flowgraph;
00041 class gr_top_block;
00042 class gr_top_block_detail;
00043 
00044 typedef boost::shared_ptr<gr_basic_block>       gr_basic_block_sptr;
00045 typedef boost::shared_ptr<gr_block>             gr_block_sptr;
00046 typedef boost::shared_ptr<gr_block_detail>      gr_block_detail_sptr;
00047 typedef boost::shared_ptr<gr_hier_block2>       gr_hier_block2_sptr;
00048 typedef boost::shared_ptr<gr_io_signature>      gr_io_signature_sptr;
00049 typedef boost::shared_ptr<gr_buffer>            gr_buffer_sptr;
00050 typedef boost::shared_ptr<gr_buffer_reader>     gr_buffer_reader_sptr;
00051 typedef boost::shared_ptr<gr_flowgraph>         gr_flowgraph_sptr;
00052 typedef boost::shared_ptr<gr_flat_flowgraph>    gr_flat_flowgraph_sptr;
00053 typedef boost::shared_ptr<gr_top_block>         gr_top_block_sptr;
00054 
00055 #endif /* INCLUDED_GR_RUNTIME_TYPES_H */