visir_recipe.h

00001 /* $Id: visir_recipe.h,v 1.16 2008/03/25 13:26:57 llundin Exp $
00002  *
00003  * This file is part of the VISIR Pipeline
00004  * Copyright (C) 2002,2003 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  02111-1307  USA
00019  */
00020 
00021 /*
00022  * $Author: llundin $
00023  * $Date: 2008/03/25 13:26:57 $
00024  * $Revision: 1.16 $
00025  * $Name: visir-3_2_2 $
00026  */
00027 
00028 
00029 
00030 /* include file for VISIR recipes */
00031 /* cpp macros that must be defined before inclusion:
00032 
00033    RECIPE_NAME:         e.g. visir_img_combine
00034    RECIPE_STRING:       e.g. "visir_img_combine"
00035    RECIPE_SYNOPSIS:     String with the recipe synopsis
00036    RECIPE_DESCRIPTION:  String with the recipe descrption
00037    Optionally:
00038    RECIPE_PARAMS:       Binary or of VISIR parameter enums
00039 
00040 */
00041 
00042 
00043 #ifndef VISIR_RECIPE_H
00044 #define VISIR_RECIPE_H
00045 
00046 /*-----------------------------------------------------------------------------
00047                                 Includes
00048  -----------------------------------------------------------------------------*/
00049 
00050 #include <math.h>
00051 #include <assert.h>
00052 #include <float.h>
00053 
00054 #include <cpl.h>
00055 
00056 #include "irplib_tools.h"
00057 #include "irplib_plugin.h"
00058 
00059 #include "visir_parameter.h"
00060 #include "visir_utils.h"
00061 #include "visir_pfits.h"
00062 #include "visir_dfs.h"
00063 #include "visir_inputs.h"
00064 
00065 /*-----------------------------------------------------------------------------
00066                                 Defines
00067  -----------------------------------------------------------------------------*/
00068 
00069 #define visir_pipe_id PACKAGE "/" PACKAGE_VERSION
00070 
00071 #define VISIR_RECIPE_DEFINE(RECIPE_NAME, RECIPE_PARAMS, SYNOPSIS, DESCRIPTION) \
00072    CPL_RECIPE_DEFINE(RECIPE_NAME, VISIR_BINARY_VERSION,                        \
00073                      visir_parameter_set(recipe->parameters, #RECIPE_NAME,     \
00074                                          RECIPE_PARAMS),                       \
00075                      "Lars Lundin", PACKAGE_BUGREPORT, "2004, 2005",           \
00076                      SYNOPSIS, DESCRIPTION)
00077 
00078 #endif

Generated on Fri Jul 3 11:15:23 2009 for VISIR Pipeline Reference Manual by  doxygen 1.5.8