pmFPAFlags.h

Go to the documentation of this file.
00001 /*  @file pmFPAFlags.h
00002  *  @brief Functions for setting and checking the status flags within the FPA hierarchy
00003  * 
00004  *  @author George Gusciora, MHPCC
00005  *  @author Paul Price, IfA
00006  *  @author Eugene Magnier, IfA
00007  * 
00008  *  @version $Revision: 1.3 $ $Name:  $
00009  *  @date $Date: 2007/01/24 02:54:14 $
00010  *  Copyright 2005-2006 Institute for Astronomy, University of Hawaii
00011  */
00012 
00013 #ifndef PM_FPA_FLAGS_H
00014 #define PM_FPA_FLAGS_H
00015 
00016 /// @addtogroup Camera Camera Layout
00017 /// @{
00018 
00019 #include "pmFPA.h"
00020 
00021 
00022 // Functions to turn on/off the file_exists flags
00023 
00024 /// Set the file_exists flag for an FPA and components
00025 bool pmFPASetFileStatus(pmFPA *fpa,     ///< FPA for which to set status
00026                         bool status     ///< Status to set
00027                        );
00028 
00029 /// Set the file_exists flag for a chip and components
00030 bool pmChipSetFileStatus(pmChip *chip,  ///< Chip for which to set status
00031                          bool status    ///< Status to set
00032                         );
00033 
00034 /// Set the file_exists flag for a cell and components
00035 bool pmCellSetFileStatus(pmCell *cell,  ///< Cell for which to set status
00036                          bool status    ///< Status to set
00037                         );
00038 
00039 // Functions to check the file_exists flags
00040 
00041 /// Return the file_exists status for an FPA and components
00042 bool pmFPACheckFileStatus(const pmFPA *fpa ///< FPA for which to check status
00043                          );
00044 
00045 /// Return the file_exists status for a chip and components
00046 bool pmChipCheckFileStatus(const pmChip *chip ///< Chip for which to check status
00047                           );
00048 
00049 /// Return the file_exists status for a chip and components
00050 bool pmCellCheckFileStatus(const pmCell *cell ///< Cell for which to check status
00051                           );
00052 
00053 // Functions to turn on/off the data_exists flags
00054 
00055 /// Set the data_exists flag for an FPA and components
00056 bool pmFPASetDataStatus(pmFPA *fpa,     ///< FPA for which to set status
00057                         bool status     ///< Status to set
00058                        );
00059 
00060 /// Set the data_exists flag for a chip and components
00061 bool pmChipSetDataStatus(pmChip *chip,  ///< Chip for which to set status
00062                          bool status    ///< Status to set
00063                         );
00064 
00065 /// Set the data_exists flag for a cell and components
00066 bool pmCellSetDataStatus(pmCell *cell,  ///< Cell for which to set status
00067                          bool status    ///< Status to set
00068                         );
00069 
00070 // Functions to set the process flags
00071 
00072 /// Select a chip within an FPA for processing
00073 ///
00074 /// If exclusive is true, the specified chip is the only chip to be processed.  A negative value for chipNum
00075 /// is valid and, in combinations with exclusive, de-selects all chips.
00076 bool pmFPASelectChip(pmFPA *fpa,        ///< FPA containing the chip of interest
00077                      int chipNum,       ///< Chip number to select
00078                      bool exclusive     ///< Process this chip exclusive of the others?
00079                     );
00080 
00081 /// Select a chip within a chip for processing
00082 ///
00083 /// If exclusive is true, the specified cell is the only chip to be processed.  A negative value for cellNum
00084 /// is valid and, in combinations with exclusive, de-selects all chips.
00085 bool pmChipSelectCell(pmChip *chip,     ///< Chip containing the cell of interest
00086                       int cellNum,      ///< Cell number to select
00087                       bool exclusive    ///< Process this cell exclusive of the others?
00088                      );
00089 
00090 /// Exclude a chip within an FPA from processing
00091 int pmFPAExcludeChip(pmFPA *fpa,        ///< FPA containing the chip of interest
00092                      int chipNum        ///< Chip number to exclude
00093                     );
00094 
00095 /// Exclude a cell within a chip from processing
00096 int pmChipExcludeCell(pmChip *chip,     ///< Chip containing the chip of interest
00097                       int cellNum       ///< Cell number to exclude
00098                      );
00099 /// @}
00100 #endif

Generated on Fri Feb 2 22:35:28 2007 for Pan-STARRS Module Library by  doxygen 1.5.1