IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 1, 2006, 2:55:23 PM (20 years ago)
Author:
Paul Price
Message:

Addition of a vast quantity of assertions in public functions. Adopted a policy of using assert() within file-static functions (since they are only called internally, any errors there are problems with the program) and using the PS_ASSERT_WHATEVER() macros within public functions. Cleaned a few things up in the process.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmFPACopy.h

    r7017 r7278  
    33
    44// Copy the FPA components, including the pixels
    5 int pmFPACopy(pmFPA *target,            // The target FPA
    6               pmFPA *source             // The source FPA, to be copied
    7              );
    8 int pmChipCopy(pmChip *target,          // The target chip
    9                pmChip *source           // The source chip, to be copied
     5bool pmFPACopy(pmFPA *target,            // The target FPA
     6               pmFPA *source             // The source FPA, to be copied
    107              );
    11 int pmCellCopy(pmCell *target,          // The target cell
    12                pmCell *source           // The source cell, to be copied
    13               );
     8bool pmChipCopy(pmChip *target,          // The target chip
     9                pmChip *source           // The source chip, to be copied
     10               );
     11bool pmCellCopy(pmCell *target,          // The target cell
     12                pmCell *source           // The source cell, to be copied
     13               );
    1414
    1515// Versions that copy the structure and not the pixels; they also allow binning
    16 int pmFPACopyStructure(pmFPA *target,   // The target FPA
    17                        pmFPA *source,   // The source FPA, to be copied
    18                        int xBin, int yBin     // Binning factors in x and y
    19                       );
    20 int pmChipCopyStructure(pmChip *target, // The target chip
    21                         pmChip *source, // The source chip, to be copied
    22                         int xBin, int yBin   // Binning factors in x and y
     16bool pmFPACopyStructure(pmFPA *target,   // The target FPA
     17                        pmFPA *source,   // The source FPA, to be copied
     18                        int xBin, int yBin     // Binning factors in x and y
    2319                       );
    24 int pmCellCopyStructure(pmCell *target, // The target cell
    25                         pmCell *source, // The source cell, to be copied
    26                         int xBin, int yBin // Binning factors in x and y
    27                        );
     20bool pmChipCopyStructure(pmChip *target, // The target chip
     21                         pmChip *source, // The source chip, to be copied
     22                         int xBin, int yBin   // Binning factors in x and y
     23                        );
     24bool pmCellCopyStructure(pmCell *target, // The target cell
     25                         pmCell *source, // The source cell, to be copied
     26                         int xBin, int yBin // Binning factors in x and y
     27                        );
    2828
    2929
Note: See TracChangeset for help on using the changeset viewer.