Imported Upstream version 3.0.4
[debian/gnuradio] / gnuradio-core / src / lib / general / gr_test_types.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 3, 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
18  * along with GNU Radio; see the file COPYING.  If not, write to
19  * the Free Software Foundation, Inc., 51 Franklin Street,
20  * Boston, MA 02110-1301, USA.
21  */
22 #ifndef INCLUDED_GR_TEST_TYPES_H
23 #define INCLUDED_GR_TEST_TYPES_H
24
25 typedef enum {
26       CONSUME_NOUTPUT_ITEMS=0,
27       CONSUME_NOUTPUT_ITEMS_LIMIT_MAX=1,
28       CONSUME_NOUTPUT_ITEMS_LIMIT_MIN=2,
29       CONSUME_ALL_AVAILABLE=3,
30       CONSUME_ALL_AVAILABLE_LIMIT_MAX=4,
31       /*CONSUME_ALL_AVAILABLE_LIMIT_MIN=5,*/
32       CONSUME_ZERO=6,
33       CONSUME_ONE=7,
34       CONSUME_MINUS_ONE=8
35   } gr_consume_type_t;
36
37 typedef enum {
38       PRODUCE_NOUTPUT_ITEMS=0,
39       PRODUCE_NOUTPUT_ITEMS_LIMIT_MAX=1,
40       /*PRODUCE_NOUTPUT_ITEMS_LIMIT_MIN=2,*/
41       PRODUCE_ZERO=6,
42       PRODUCE_ONE=7,
43       PRODUCE_MINUS_ONE=8
44   } gr_produce_type_t;
45
46 #endif /* INCLUDED_GR_TEST_TYPES_H */