00001 /* @file pmFPALevel.h 00002 * @brief Defines enum and string representations for the FPA levels 00003 * 00004 * @author Eugene Magnier, MHPCC 00005 * 00006 * @version $Revision: 1.3 $ $Name: $ 00007 * @date $Date: 2007/01/24 02:54:14 $ 00008 * Copyright 2005-2006 Institute for Astronomy, University of Hawaii 00009 */ 00010 00011 #ifndef PM_FPA_LEVEL_H 00012 #define PM_FPA_LEVEL_H 00013 00014 /// @addtogroup Camera Camera Layout 00015 /// @{ 00016 00017 /// Specify the level of the FPA hierarchy 00018 typedef enum { 00019 PM_FPA_LEVEL_NONE, ///< No particular level specified 00020 PM_FPA_LEVEL_FPA, ///< Level corresponds to an FPA 00021 PM_FPA_LEVEL_CHIP, ///< Level corresponds to a Chip 00022 PM_FPA_LEVEL_CELL, ///< Level corresponds to a Cell 00023 PM_FPA_LEVEL_READOUT ///< Level corresponds to a Readout 00024 } pmFPALevel; 00025 00026 00027 /// Return the string representation of the FPA level 00028 const char *pmFPALevelToName(pmFPALevel level ///< Level enum 00029 ); 00030 00031 /// Return the enum representation of the FPA level 00032 pmFPALevel pmFPALevelFromName(const char *name ///< Level name 00033 ); 00034 /// @} 00035 #endif // #ifndef PM_FPA_LEVEL_H
1.5.1