Changeset 17634 for trunk/psModules/src/camera/pmFPAfileDefine.h
- Timestamp:
- May 12, 2008, 11:41:55 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPAfileDefine.h (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPAfileDefine.h
r15931 r17634 4 4 * @author EAM, IfA 5 5 * 6 * @version $Revision: 1.1 6$ $Name: not supported by cvs2svn $7 * @date $Date: 200 7-12-27 02:08:19$6 * @version $Revision: 1.17 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2008-05-12 21:41:55 $ 8 8 * Copyright 2004-2005 Institute for Astronomy, University of Hawaii 9 9 */ … … 39 39 40 40 /// Define the FPA file using the provided camera and format names. 41 /// 42 /// Note that the returned pmFPAfile is a view only, so it should not be freed by the caller --- the only 43 /// reference count is held by the config->files metadata. 41 44 pmFPAfile *pmFPAfileDefineOutputForFormat(const pmConfig *config, // Configuration 42 45 pmFPA *fpa, // Optional FPA to bind … … 78 81 79 82 /// Same as pmFPAfileDefineFromFPA, except it uses an FPA file instead of an FPA 83 /// 84 /// The new pmFPAfile is inserted into the config->files metadata, freed and returned; so that the user does 85 /// not have to (and should not!) free the result. 80 86 pmFPAfile *pmFPAfileDefineFromFile(const pmConfig *config, // Configuration 81 87 pmFPAfile *src, // Source file for this file … … 122 128 // create a file with the given name, assign it type "INTERNAL", and supply it with an image 123 129 // of the requested dimensions. (image only, mask and weight are ignored) 124 pmReadout *pmFPAfileDefineInternal (psMetadata *files, const char *name, int Nx, int Ny, int type); 130 /// 131 /// The new pmFPAfile is inserted into the config->files metadata, freed and returned; so that the user does 132 /// not have to (and should not!) free the result. 133 pmReadout *pmFPAfileDefineInternal(psMetadata *files, const char *name, int Nx, int Ny, int type); 125 134 126 135 // delete the INTERNAL file of the given name (if it exists) 127 bool pmFPAfileDropInternal (psMetadata *files, const char *name);136 bool pmFPAfileDropInternal(psMetadata *files, const char *name); 128 137 129 138 // look for the given argname on the argument list. find the give filename from the file rules … … 131 140 // Note that the returned pmFPAfile is a view only, so it should not be freed by the caller --- the only 132 141 // reference count is held by the config->files metadata. 133 pmFPAfile *pmFPAfileDefineSingleFromArgs (bool *found, pmConfig *config, const char *filename,134 const char *argname, int entry);142 pmFPAfile *pmFPAfileDefineSingleFromArgs(bool *found, pmConfig *config, const char *filename, 143 const char *argname, int entry); 135 144 136 145 // Select or construct the requested readout. If the named entry does not exist, generate it based … … 139 148 // pmFPAfile is being used internally. 140 149 pmReadout *pmFPAGenerateReadout(const pmConfig *config, // configuration information 141 const pmFPAview *view, // select background for this entry142 const char *name, // name of internal/external file143 const pmFPA *fpa, // use this fpa to generate144 const psImageBinning *binning);150 const pmFPAview *view, // select background for this entry 151 const char *name, // name of internal/external file 152 const pmFPA *fpa, // use this fpa to generate 153 const psImageBinning *binning); 145 154 146 155 /// @}
Note:
See TracChangeset
for help on using the changeset viewer.
