f54fa56a2e1e047011c95692eb53de1c8803a78b
[debian/gnuradio] / mblock / src / lib / mb_common.h
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2006 Free Software Foundation, Inc.
4  * 
5  * This file is part of GNU Radio
6  * 
7  * GNU Radio is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2, or (at your option)
10  * any later version.
11  * 
12  * GNU Radio is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  * 
17  * You should have received a copy of the GNU General Public License along
18  * with this program; if not, write to the Free Software Foundation, Inc.,
19  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20  */
21 #ifndef INCLUDED_MB_COMMON_H
22 #define INCLUDED_MB_COMMON_H
23
24 #include <pmt.h>
25 #include <vector>
26 #include <stdexcept>
27 #include <boost/utility.hpp>
28
29
30 typedef unsigned int    mb_pri_t;
31 static const mb_pri_t   MB_PRI_DEFAULT = 5;
32
33
34 class mb_runtime;
35 typedef boost::shared_ptr<mb_runtime> mb_runtime_sptr;
36
37 class mb_runtime_impl;
38 typedef boost::shared_ptr<mb_runtime_impl> mb_runtime_impl_sptr;
39
40 class mb_mblock;
41 typedef boost::shared_ptr<mb_mblock> mb_mblock_sptr;
42
43 class mb_mblock_impl;
44 typedef boost::shared_ptr<mb_mblock_impl> mb_mblock_impl_sptr;
45
46 class mb_port;
47 typedef boost::shared_ptr<mb_port> mb_port_sptr;
48
49 class mb_port_detail;
50 typedef boost::shared_ptr<mb_port_detail> mb_port_detail_sptr;
51
52
53 #endif /* INCLUDED_MB_COMMON_H */