IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 9, 2006, 3:55:20 PM (20 years ago)
Author:
Paul Price
Message:

Was having trouble reading and writing concepts at different levels. Added 'propagateUp' and 'propagateDown' flags to the pmConceptsRead and pmConceptsWrite functions so we can read up and down the hierarchy. For example, when you read a header at the chip level, it may be a PHU so that you want the FPA to also read concepts from it if it doesn't have its own HDU, and you want the cell to read concepts from it if it doesn't have its own HDU. But if I add a PHU, I only want to propagate upwards, because the downwards propagation will occur when I read the header lower down.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/concepts/pmConcepts.h

    r7311 r7469  
    4747bool pmConceptsReadFPA(pmFPA *fpa,      // FPA for which to read concepts
    4848                       pmConceptSource source, // Source for concepts
     49                       bool propagateDown, // Propagate to lower levels?
    4950                       psDB *db         // Database handle
    5051                      );
    5152bool pmConceptsWriteFPA(pmFPA *fpa,     // FPA for which to write concepts
    5253                        pmConceptSource source, // Source for concepts
     54                        bool propagateDown, // Propagate to lower levels?
    5355                        psDB *db        // Database handle
    5456                       );
     
    5759bool pmConceptsReadChip(pmChip *chip,   // Chip for which to read concepts
    5860                        pmConceptSource source, // Source for concepts
    59                         bool propagate, // Propagate to higher levels as well?
     61                        bool propagateUp, // Propagate to higher levels?
     62                        bool propagateDown, // Propagate to lower levels?
    6063                        psDB *db        // Database handle
    6164                       );
    6265bool pmConceptsWriteChip(pmChip *chip,  // Chip for which to write concepts
    6366                         pmConceptSource source, // Source for concepts
    64                          bool propagate,// Propagate to higher levels as well?
     67                         bool propagateUp,// Propagate to higher levels?
     68                         bool propagateDown, // Propagate to lower levels?
    6569                         psDB *db       // Database handle
    6670                        );
     
    6973bool pmConceptsReadCell(pmCell *cell,   // Cell for which to read concepts
    7074                        pmConceptSource source, // Source for concepts
    71                         bool propagate, // Propagate to higher levels as well?
     75                        bool propagateUp, // Propagate to higher levels?
    7276                        psDB *db        // Database handle
    7377                       );
    7478bool pmConceptsWriteCell(pmCell *cell,  // FPA for which to write concepts
    7579                         pmConceptSource source, // Source for concepts
    76                          bool propagate,// Propagate to higher levels as well?
     80                         bool propagateUp, // Propagate to higher levels?
    7781                         psDB *db       // Database handle
    7882                        );
Note: See TracChangeset for help on using the changeset viewer.