IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 27, 2006, 2:49:13 PM (20 years ago)
Author:
Paul Price
Message:

Fixing up the process of reading recipes from the site and camera configurations, and the command line. Now supports multiple calls to pmConfigReadRecipes, only loading the appropriate data each time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/config/pmConfig.h

    r7676 r7709  
    33 *  @author PAP, IfA
    44 *
    5  *  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
    6  *  @date $Date: 2006-06-24 03:25:14 $
     5 *  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
     6 *  @date $Date: 2006-06-28 00:49:13 $
    77 *
    88 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    1313
    1414#include "pslib.h"
     15
     16// What recipe sources have been read so far?
     17typedef enum {
     18    P_PM_RECIPE_SOURCE_NONE   = 0x00,   // None yet
     19    P_PM_RECIPE_SOURCE_SITE   = 0x01,   // Site configuration
     20    P_PM_RECIPE_SOURCE_CAMERA = 0x02,   // Camera configuration
     21    P_PM_RECIPE_SOURCE_CL     = 0x04,   // Command-line
     22    P_PM_RECIPE_SOURCE_ALL    = 0x07    // All sources
     23} p_pmRecipeSource;
    1524
    1625// Configuration information
     
    2534    int argc;                           // Number of command-line arguments
    2635    char **argv;                        // Command-line arguments (raw version)
     36    // Private members
     37    p_pmRecipeSource recipesRead;       // Which recipe sources have been read
     38    psMetadata *recipesSource;          // Where each recipe came from
    2739}
    2840pmConfig;
Note: See TracChangeset for help on using the changeset viewer.