GNU Radio 3.6.0 C++ API
op_types.h
Go to the documentation of this file.
00001 /*
00002  * Copyright 2011 Free Software Foundation, Inc.
00003  * 
00004  * This file is part of GNU Radio
00005  * 
00006  * GNU Radio is free software; you can redistribute it and/or modify
00007  * it under the terms of the GNU General Public License as published by
00008  * the Free Software Foundation; either version 3, or (at your option)
00009  * any later version.
00010  * 
00011  * GNU Radio is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  * GNU General Public License for more details.
00015  * 
00016  * You should have received a copy of the GNU General Public License
00017  * along with GNU Radio; see the file COPYING.  If not, write to
00018  * the Free Software Foundation, Inc., 51 Franklin Street,
00019  * Boston, MA 02110-1301, USA.
00020  */
00021 
00022 #ifndef INCLUDED_GR_EXTRAS_OP_TYPES_H
00023 #define INCLUDED_GR_EXTRAS_OP_TYPES_H
00024 
00025 namespace gnuradio{ namespace extras{
00026 
00027 //TODO may support non-homogeneous IO types,
00028 //DIVIDE_S16_S8 (int16 input, int8 output)
00029 //so this will easily fit into the framework.
00030 
00031 //TODO may support non-homogeneous IO types,
00032 //MULTIPLY_S8_S16 (int8 input, int16 output)
00033 //so this will easily fit into the framework.
00034 
00035 //! Most common types for operator extras (add, multiply, etc...)
00036 enum op_type{
00037     OP_FC64,
00038     OP_F64,
00039     OP_FC32,
00040     OP_F32,
00041     OP_SC64,
00042     OP_S64,
00043     OP_SC32,
00044     OP_S32,
00045     OP_SC16,
00046     OP_S16,
00047     OP_SC8,
00048     OP_S8,
00049 };
00050 
00051 }}
00052 
00053 #endif /* INCLUDED_GR_EXTRAS_OP_TYPES_H */