Changeset 11749 for trunk/psModules/src/concepts/pmConcepts.h
- Timestamp:
- Feb 12, 2007, 12:22:15 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/concepts/pmConcepts.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/concepts/pmConcepts.h
r11253 r11749 4 4 * @author Paul Price, IfA 5 5 * 6 * @version $Revision: 1.1 1$ $Name: not supported by cvs2svn $7 * @date $Date: 2007-0 1-24 02:54:14$6 * @version $Revision: 1.12 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2007-02-12 22:22:15 $ 8 8 * Copyright 2005-2006 Institute for Astronomy, University of Hawaii 9 9 */ … … 19 19 #include "pmFPALevel.h" 20 20 21 /// Source for concepts when reading and writing. 22 /// 23 /// Since some sources become available at different times from others, we need to provide some specificity to 24 /// reading and writing concepts (or we're forced to wait until everything's available, which we don't want to 25 /// do). Concepts may be read from or written to multiple sources at once by OR-ing them. 26 typedef enum { 27 PM_CONCEPT_SOURCE_NONE = 0x00, ///< No concepts 28 PM_CONCEPT_SOURCE_CELLS = 0x01, ///< Concept comes from the camera information 29 PM_CONCEPT_SOURCE_DEFAULTS = 0x02, ///< Concept comes from defaults 30 PM_CONCEPT_SOURCE_PHU = 0x04, ///< Concept comes from PHU 31 PM_CONCEPT_SOURCE_HEADER = 0x08, ///< Concept comes from FITS header 32 PM_CONCEPT_SOURCE_DATABASE = 0x10, ///< Concept comes from database 33 PM_CONCEPT_SOURCE_ALL = 0xff ///< All concepts 34 } pmConceptSource; 35 21 36 /// Function to call to parse a concept once it has been read 22 37 typedef psMetadataItem* (*pmConceptParseFunc)(const psMetadataItem *concept, ///< Concept to parse 23 38 const psMetadataItem *pattern, ///< Pattern for parsing 39 pmConceptSource source, ///< Source of concept 24 40 const psMetadata *cameraFormat, ///< Camera format definition 25 41 const pmFPA *fpa, ///< FPA for concept, or NULL … … 30 46 /// Function to call to format a concept for writing 31 47 typedef psMetadataItem* (*pmConceptFormatFunc)(const psMetadataItem *concept, ///< Concept to format 48 pmConceptSource source, ///< Source of concept 32 49 const psMetadata *cameraFormat, ///< Camera format definition 33 50 const pmFPA *fpa, ///< FPA for concept, or NULL … … 65 82 pmFPALevel level ///< Level at which to store concept in the FPA hierarchy 66 83 ); 67 68 /// Source for concepts when reading and writing.69 ///70 /// Since some sources become available at different times from others, we need to provide some specificity to71 /// reading and writing concepts (or we're forced to wait until everything's available, which we don't want to72 /// do). Concepts may be read from or written to multiple sources at once by OR-ing them.73 typedef enum {74 PM_CONCEPT_SOURCE_NONE = 0x00, ///< No concepts75 PM_CONCEPT_SOURCE_CELLS = 0x01, ///< Concept comes from the camera information76 PM_CONCEPT_SOURCE_DEFAULTS = 0x02, ///< Concept comes from defaults77 PM_CONCEPT_SOURCE_PHU = 0x04, ///< Concept comes from PHU78 PM_CONCEPT_SOURCE_HEADER = 0x08, ///< Concept comes from FITS header79 PM_CONCEPT_SOURCE_DATABASE = 0x10, ///< Concept comes from database80 PM_CONCEPT_SOURCE_ALL = 0xff ///< All concepts81 } pmConceptSource;82 84 83 85 /// Get a list of defined concepts for a particular level.
Note:
See TracChangeset
for help on using the changeset viewer.
