IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 15, 2008, 10:25:00 AM (18 years ago)
Author:
eugene
Message:

re-organization of the named mask bit handling: pmConfigMaskSetBits now assigns the bits to names and make the recipe consistent

File:
1 edited

Legend:

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

    r16816 r18554  
    44 *  @author Paul Price, IfA
    55 *
    6  *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
    7  *  @date $Date: 2008-03-05 01:06:37 $
     6 *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
     7 *  @date $Date: 2008-07-15 20:25:00 $
    88 *  Copyright 2007 Institute for Astronomy, University of Hawaii
    99 */
     
    2323///
    2424/// The mask values are derived from the MASKS recipe
    25 psMaskType pmConfigMask(const char *masks, ///< List of symbolic names, space/comma delimited
     25psMaskType pmConfigMaskGet(const char *masks, ///< List of symbolic names, space/comma delimited
    2626                        const pmConfig *config ///< Configuration
    2727                        );
    2828
     29bool pmConfigMaskSet(const pmConfig *config, const char *maskName, psMaskType maskValue);
     30
     31// replace the named masks in the recipe with values in the header:
     32// replace only the names in the header in the recipe
     33bool pmConfigMaskReadHeader (pmConfig *config, psMetadata *header);
     34
     35// write the named mask bits to the header
     36bool pmConfigMaskWriteHeader (pmConfig *config, psMetadata *header);
     37
     38bool pmConfigMaskSetBits (psMaskType *outMaskValue, psMaskType *outMarkValue, pmConfig *config);
     39
    2940#endif
Note: See TracChangeset for help on using the changeset viewer.