GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LATC / V9-1-2 > latc / sun-gcc
#include "AG_number_s.h"
#include <string.h>
Functions | |
| static size_t | sizeofMap (LATC_type type) |
| Return the size of the 32-bit word bit-map that would hold enough bits to map all the instances of this type. | |
| static void | clearMap (unsigned *map, LATC_type type) |
| Set all bits to zero. | |
| static void | setMap (unsigned *map, LATC_type type) |
| Set all bits to one. | |
| static unsigned | countMap (const unsigned *map, LATC_type type) |
| Count the number of set bits. | |
| static void | setBit (unsigned *map, unsigned index) |
| Set bit i. | |
| static void | clearBit (unsigned *map, unsigned index) |
| Clear bit i. | |
| static int | checkBit (const unsigned *map, unsigned index) |
| Check bit i. | |
| int checkBit | ( | const unsigned * | map, | |
| unsigned | i | |||
| ) | [inline, static] |
Check bit i.
| map | Map being manipulated | |
| i | Bit to check |
Referenced by LATC_capture(), LATC_record(), loadAfeConfig(), loadCfeConfig0(), loadCfeConfig1(), loadCpt(), loadSplit(), loadTfeDac(), loadTracker(), readSplit(), readTracker(), and traverseRead().
| void clearBit | ( | unsigned * | map, | |
| unsigned | i | |||
| ) | [inline, static] |
| void clearMap | ( | unsigned * | map, | |
| LATC_type | type | |||
| ) | [inline, static] |
Set all bits to zero.
| map | Map being manipulated | |
| type | Component type to be mapped |
References sizeofMap().
| unsigned countMap | ( | const unsigned * | map, | |
| LATC_type | type | |||
| ) | [inline, static] |
Count the number of set bits.
| map | Map being manipulated | |
| type | Component type to be mapped |
Referenced by LATC_record().
| void setBit | ( | unsigned * | map, | |
| unsigned | i | |||
| ) | [inline, static] |
Set bit i.
| map | Map being manipulated | |
| i | Bit to set |
Referenced by readCpt(), and readSplit().
| void setMap | ( | unsigned * | map, | |
| LATC_type | type | |||
| ) | [inline, static] |
Set all bits to one.
| map | Map being manipulated | |
| type | Component type to be mapped |
References sizeofMap().
| size_t sizeofMap | ( | LATC_type | type | ) | [inline, static] |
Return the size of the 32-bit word bit-map that would hold enough bits to map all the instances of this type.
| type | Component type to be mapped |
Referenced by clearMap(), LATC_record(), and setMap().
1.5.8