IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 2, 2008, 10:33:41 AM (18 years ago)
Author:
gusciora
Message:

Added pmMemCheck functions.

File:
1 edited

Legend:

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

    r14954 r15973  
    66 * @author Eugene Magnier, IfA
    77 *
    8  * @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
    9  * @date $Date: 2007-09-21 01:31:51 $
     8 * @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
     9 * @date $Date: 2008-01-02 20:32:25 $
    1010 * Copyright 2005-2006 Institute for Astronomy, University of Hawaii
    1111 */
     
    144144
    145145/// Free all readouts within a cell
    146 void pmCellFreeReadouts(pmCell *cell    ///< Cell for which to free readouts
    147                        );
     146void pmCellFreeReadouts(pmCell *cell);    ///< Cell for which to free readouts
    148147
    149148/// Free all cells within a chip
    150 void pmChipFreeCells(pmChip *chip       ///< Chip for which to free cells
    151                     );
     149void pmChipFreeCells(pmChip *chip);       ///< Chip for which to free cells
    152150
    153151/// Free all data within a readout
    154 void pmReadoutFreeData(pmReadout *readout ///< Readout for which to free data
    155                       );
     152void pmReadoutFreeData(pmReadout *readout); ///< Readout for which to free data
    156153
    157154/// Free all data within a cell (all readouts as well as metadata)
    158 void pmCellFreeData(pmCell *cell        ///< Cell for which to free data
    159                    );
     155void pmCellFreeData(pmCell *cell);        ///< Cell for which to free data
    160156
    161157/// Free all data within a chip (all cells as well as metadata)
    162 void pmChipFreeData(pmChip *chip        ///< Chip for which to free data
    163                    );
     158void pmChipFreeData(pmChip *chip);        ///< Chip for which to free data
    164159
    165160/// Free all data within an FPA (all chips as well as metadata)
    166 void pmFPAFreeData(pmFPA *fpa           ///< FPA for which to free data
    167                   );
     161void pmFPAFreeData(pmFPA *fpa);           ///< FPA for which to free data
    168162
    169163/// Allocate a readout associated with a cell
    170 pmReadout *pmReadoutAlloc(pmCell *cell  ///< Parent cell, or NULL
    171                          );
     164pmReadout *pmReadoutAlloc(pmCell *cell);  ///< Parent cell, or NULL
     165bool psMemCheckReadout(psPtr ptr);
    172166
    173167/// Allocate a cell associated with a chip
     
    175169/// The name is used to set CELL.NAME within the concepts.
    176170pmCell *pmCellAlloc(pmChip *chip,       ///< Parent chip, or NULL
    177                     const char *name    ///< Name of cell, for CELL.NAME
    178                    );
     171                    const char *name);  ///< Name of cell, for CELL.NAME
     172bool psMemCheckCell(psPtr ptr);
     173
    179174
    180175/// Allocate a chip associated with an FPA
     
    182177/// The name is used to set CHIP.NAME within the concepts
    183178pmChip *pmChipAlloc(pmFPA *fpa,         ///< Parent FPA, or NULL
    184                     const char *name    ///< Name of chip, for CHIP.NAME
    185                    );
     179                    const char *name);  ///< Name of chip, for CHIP.NAME
     180bool psMemCheckChip(psPtr ptr);
     181
    186182
    187183/// Allocate an FPA
    188 pmFPA *pmFPAAlloc(const psMetadata *camera ///< Camera configuration (to store in FPA)
    189                  );
    190 
     184pmFPA *pmFPAAlloc(const psMetadata *camera); ///< Camera configuration (to store in FPA)
     185bool psMemCheckFPA(psPtr ptr);
    191186
    192187/// Check parent links within an FPA
     
    194189/// Iterates through the FPA to verify that the "parent" links in the chip, cell and readout are set
    195190/// correctly.  If there are any incorrect links, they are fixed, and the function returns false.
    196 bool pmFPACheckParents(pmFPA *fpa       ///< FPA to check
    197                       );
     191bool pmFPACheckParents(pmFPA *fpa);     ///< FPA to check
     192
    198193/// @}
    199194#endif // #ifndef PM_FPA_H
Note: See TracChangeset for help on using the changeset viewer.