Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members

BeamCommon.hh

Go to the documentation of this file.
00001 /*
00002 
00003     Beamforming input server, common
00004     Copyright (C) 2002 Jussi Laako
00005 
00006     This program 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 2 of the License, or
00009     (at your option) any later version.
00010 
00011     This program 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 this program; if not, write to the Free Software
00018     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00019 
00020 */
00021 
00022 
00023 #ifndef BEAMCOMMON_HH
00024 #define BEAMCOMMON_HH
00025 
00026 #   define BS_LOGBUFSIZE    4096
00027 #   define BS_ACCEPT_TO     250
00028 
00029 
00033     enum
00034     {
00035         BS_ARRAY_TYPE_DIPOLE = 0,
00036         BS_ARRAY_TYPE_TRIANGLE = 1,
00037         BS_ARRAY_TYPE_LINE = 2,
00038         BS_ARRAY_TYPE_PLANE = 3,
00039         BS_ARRAY_TYPE_CYLINDER = 4,
00040         BS_ARRAY_TYPE_SPHERE = 5
00041     };
00042 
00043 
00047     typedef struct _stBeamNodeParams
00048     {
00049         int iType;          
00050         int iSensors;       
00051         float fSpacing;     
00052         float fSoundSpeed;  
00053         int iBeamCount;     
00054         int iWindowSize;    
00055         int iBlockSize;     
00056         float fSampleRate;  
00057     } stBeamNodeParams, *stpBeamNodeParams;
00058 
00059 #endif

Generated on Sun Oct 26 19:11:18 2003 for HASAS by doxygen 1.3.3