- Timestamp:
- Feb 19, 2008, 10:09:10 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branch_20080219/psModules/src/config/pmConfig.h
r15385 r16542 5 5 * @author Eugene Magnier, IfA 6 6 * 7 * @version $Revision: 1.32 $ $Name: not supported by cvs2svn $8 * @date $Date: 200 7-10-26 02:41:15$7 * @version $Revision: 1.32.6.1 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2008-02-19 20:09:09 $ 9 9 * Copyright 2005-2006 Institute for Astronomy, University of Hawaii 10 10 */ … … 25 25 typedef enum { 26 26 PM_RECIPE_SOURCE_NONE = 0x00, ///< None yet 27 PM_RECIPE_SOURCE_S ITE = 0x01, ///< Siteconfiguration27 PM_RECIPE_SOURCE_SYSTEM = 0x01, ///< System configuration 28 28 PM_RECIPE_SOURCE_CAMERA = 0x02, ///< Camera configuration 29 29 PM_RECIPE_SOURCE_CL = 0x04, ///< Command-line … … 34 34 /// Configuration information 35 35 /// 36 /// This structure stores the configuration information: the site, camera and recipe configuration, the36 /// This structure stores the configuration information: user, site, system, camera and recipe configuration, the 37 37 /// command-line arguments, the pmFPAfiles used, and the database handle. 38 38 typedef struct { 39 psMetadata *site; ///< Site configuration 39 psMetadata *xxUser; ///< User configuration 40 psMetadata *xxSite; ///< Site configuration 41 psMetadata *xxSystem; ///< System configuration 40 42 psMetadata *camera; ///< Camera specification 41 43 psString cameraName; ///< Camera name … … 68 70 /// Read configuration information from the command line. 69 71 /// 70 /// pmConfigRead loads the site configuration (the file name is specified by "-site SITE_FILE" on the71 /// command-line, the PS_SITEenvironment variable, or it is $HOME/.ipprc). The configuration search path is72 /// pmConfigRead loads the user configuration (the file name is specified by "-ipprc FILE" on the 73 /// command-line, the IPPRC environment variable, or it is $HOME/.ipprc). The configuration search path is 72 74 /// set. The camera configuration is loaded if it is specified on the command line ("-camera 73 75 /// CAMERA_FILE"). Recipes specified on the command line ("-recipe RECIPE_NAME RECIPE_SOURCE") are also 74 76 /// loaded. These command-line arguments are removed from from the command-line, to simplify parsing. The 75 /// psLib log, trace and time setups are also performed if specified in the siteconfiguration.77 /// psLib log, trace and time setups are also performed if specified in the user configuration. 76 78 pmConfig *pmConfigRead(int *argc, ///< Number of command-line arguments 77 79 char **argv, ///< Array of command-line arguments … … 166 168 /// Get the file rule of interest 167 169 /// 168 /// Look up the name of the set of file rules to use, get that set from the s iteconfiguration, and return the170 /// Look up the name of the set of file rules to use, get that set from the system configuration, and return the 169 171 /// appropriate rule from the set. 170 172 psMetadata *pmConfigFileRule(const pmConfig *config, ///< Configuration
Note:
See TracChangeset
for help on using the changeset viewer.
