Changeset 23139 for trunk/ppSim/src/ppSim.h
- Timestamp:
- Mar 3, 2009, 3:52:19 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/ppSim/src/ppSim.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppSim/src/ppSim.h
r21183 r23139 19 19 20 20 // Compare a value with minimum and maximum values, replacing where required. 21 #define COMPARE(VALUE,MIN,MAX) { \22 if (VALUE < MIN) { MIN = VALUE; } \23 if (VALUE > MAX) { MAX = VALUE; } \21 #define COMPARE(VALUE,MIN,MAX) { \ 22 if (VALUE < MIN) { MIN = VALUE; } \ 23 if (VALUE > MAX) { MAX = VALUE; } \ 24 24 } 25 25 … … 147 147 float ppSimMagToFlux (float mag, float zp); 148 148 149 float ppSimArgToRecipeF32(bool *status, 150 psMetadata *options, // Target to which to add value151 const char *recipeName, // Name for value in the recipe152 psMetadata *arguments, // Command-line arguments153 const char *argName// Argument name in the command-line arguments149 float ppSimArgToRecipeF32(bool *status, 150 psMetadata *options, // Target to which to add value 151 const char *recipeName, // Name for value in the recipe 152 psMetadata *arguments, // Command-line arguments 153 const char *argName // Argument name in the command-line arguments 154 154 ); 155 155 156 156 int ppSimArgToRecipeS32(bool *status, 157 psMetadata *options, // Target to which to add value158 const char *recipeName, // Name for value in the recipe159 psMetadata *arguments, // Command-line arguments160 const char *argName// Argument name in the command-line arguments157 psMetadata *options, // Target to which to add value 158 const char *recipeName, // Name for value in the recipe 159 psMetadata *arguments, // Command-line arguments 160 const char *argName // Argument name in the command-line arguments 161 161 ); 162 162 163 163 char *ppSimArgToRecipeStr(bool *status, 164 psMetadata *options, // Target to which to add value165 const char *recipeName, // Name for value in the recipe166 psMetadata *arguments, // Command-line arguments167 const char *argName// Argument name in the command-line arguments164 psMetadata *options, // Target to which to add value 165 const char *recipeName, // Name for value in the recipe 166 psMetadata *arguments, // Command-line arguments 167 const char *argName // Argument name in the command-line arguments 168 168 ); 169 169 170 170 bool ppSimArgToRecipeBool(bool *status, 171 psMetadata *options, // Target to which to add value172 const char *recipeName, // Name for value in the recipe173 psMetadata *arguments, // Command-line arguments174 const char *argName// Argument name in the command-line arguments171 psMetadata *options, // Target to which to add value 172 const char *recipeName, // Name for value in the recipe 173 psMetadata *arguments, // Command-line arguments 174 const char *argName // Argument name in the command-line arguments 175 175 ); 176 176 … … 198 198 bool ppSimDefinePixels (psArray *sources, pmReadout *readout, psMetadata *recipe); 199 199 200 /// Return software version 201 psString ppSimVersion(void); 202 203 /// Return software source 204 psString ppSimSource(void); 205 206 /// Return long version information 207 psString ppSimVersionLong(void); 208 200 209 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
