fors_instrument.h

00001 /* $Id: fors_instrument.h,v 1.3 2010-09-14 07:49:30 cizzo Exp $
00002  *
00003  * This file is part of the FORS Library
00004  * Copyright (C) 2002-2010 European Southern Observatory
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., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
00019  */
00020 
00021 /*
00022  * $Author: cizzo $
00023  * $Date: 2010-09-14 07:49:30 $
00024  * $Revision: 1.3 $
00025  * $Name: not supported by cvs2svn $
00026  */
00027 
00028 #ifndef FORS_INSTRUMENT_H
00029 #define FORS_INSTRUMENT_H
00030 
00031 #include <fors_setting.h>
00032 #include <stdbool.h>
00033 #include <cpl.h>
00034 
00035 CPL_BEGIN_DECLS
00036 
00037 char
00038 fors_instrument_filterband_get_by_setting(  const fors_setting  *setting);
00039 
00040 char
00041 fors_instrument_filterband_get_by_name(     const char  *filtername);
00042 
00043 bool
00044 fors_instrument_filterband_is_defined(      char    band);
00045 
00046 bool
00047 fors_instrument_filterband_is_none(         char    band);
00048 
00049 bool
00050 fors_instrument_filterband_is_unknown(      char    band);
00051 
00052 char
00053 fors_instrument_filterband_value_unknown(   void);
00054 
00055 int
00056 fors_instrument_known_filters_get_number(   void);
00057 
00058 const char  *
00059 fors_instrument_known_filters_get_name(     int n);
00060 
00061 char
00062 fors_instrument_known_filters_get_band(     int n);
00063 
00064 CPL_END_DECLS
00065 #endif  /* FORS_INSTRUMENT_H */

Generated on 12 Feb 2016 for FORS Pipeline Reference Manual by  doxygen 1.6.1