IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 3, 2009, 3:52:19 PM (17 years ago)
Author:
Paul Price
Message:

Adding version functions to match psLib.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSim/src/ppSim.h

    r21183 r23139  
    1919
    2020// 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; }       \
    2424    }
    2525
     
    147147float ppSimMagToFlux (float mag, float zp);
    148148
    149 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
     149float 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
    154154    );
    155155
    156156int ppSimArgToRecipeS32(bool *status,
    157                         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
     157                        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
    161161    );
    162162
    163163char *ppSimArgToRecipeStr(bool *status,
    164                           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
     164                          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
    168168    );
    169169
    170170bool ppSimArgToRecipeBool(bool *status,
    171                           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
     171                          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
    175175    );
    176176
     
    198198bool ppSimDefinePixels (psArray *sources, pmReadout *readout, psMetadata *recipe);
    199199
     200/// Return software version
     201psString ppSimVersion(void);
     202
     203/// Return software source
     204psString ppSimSource(void);
     205
     206/// Return long version information
     207psString ppSimVersionLong(void);
     208
    200209#endif
Note: See TracChangeset for help on using the changeset viewer.