GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QSE / V2-4-1 > qseprint / sun-gcc
#include <QSE/impl/QSE_map.xx-xxx-xxx.h>
Typedefs | |
typedef unsigned int | QSE_map |
Due to endianness issues, all maps manipulated by these routines must be 32-unsigned ints. This typedef reenforces this notion. | |
Functions | |
static __inline int | QSE_mapScanf (QSE_map map) |
Finds the first set bit (LSB = bit 0) in the specified map The scan is a forward scan from LSB to MSB. | |
static __inline int | QSE_mapScanr (QSE_map map) |
Finds the first set bit (LSB = bit 0) in the specified map The scan is a reverse scan from MSB to LSB. | |
static __inline int | QSE_mapScanF (QSE_map map) |
Finds the first set bit (MSB = bit 0) in the specified map The scan is a forward scan from LSB to MSB. | |
static __inline int | QSE_mapScanR (QSE_map map) |
Finds the first set bit (MSB = bit 0) in the specified map The scan is a reverse scan from MSB to LSB. | |
static __inline QSE_map | QSE_mapRemove (QSE_map map, int bit) |
Removes the specified bit, bit from map. | |
static __inline QSE_map | QSE_mapInsert (QSE_map map, int bit) |
Inserts the specified bit, bit into map. | |
static __inline QSE_map | QSE_mapMask (int bit) |
Converts the bit to a bit mask. | |
static __inline QSE_map | QSE_mapShiftIn (QSE_map map) |
Shifts the map to make room in the low bit numbers for a new bit. | |
static __inline QSE_map | QSE_mapShiftOut (QSE_map map) |
Shifts the map to make room in the low bit numbers for a new bit. |
CVS $Id: QSE_map.h,v 1.4 2011/03/27 01:45:43 russell Exp $
Inserts the specified bit, bit into map.
map | The map to insert the bit into | |
bit | The bit (LSB = 0) to add |
static __inline QSE_map QSE_mapMask | ( | int | bit | ) | [static] |
Converts the bit to a bit mask.
bit | The bit LMSB = 0) to set. |
Referenced by printTower().
Removes the specified bit, bit from map.
map | The map to eliminate the bit from | |
bit | The bit (LSB = 0) to eliminate |
Referenced by classify(), QSE_calPrint(), QSE_ecalPrintTowers(), QSE_ecalTwrPrintFull(), and QSE_tkrPrint().
static __inline int QSE_mapScanF | ( | QSE_map | map | ) | [static] |
Finds the first set bit (MSB = bit 0) in the specified map The scan is a forward scan from LSB to MSB.
static __inline int QSE_mapScanf | ( | QSE_map | map | ) | [static] |
Finds the first set bit (LSB = bit 0) in the specified map The scan is a forward scan from LSB to MSB.
Referenced by QSE_calPrint(), QSE_ecalPrintTowers(), QSE_ecalTwrPrintFull(), and QSE_tkrPrint().
static __inline int QSE_mapScanR | ( | QSE_map | map | ) | [static] |
Finds the first set bit (MSB = bit 0) in the specified map The scan is a reverse scan from MSB to LSB.
Referenced by classify(), and getDisplayChar().
static __inline int QSE_mapScanr | ( | QSE_map | map | ) | [static] |
Finds the first set bit (LSB = bit 0) in the specified map The scan is a reverse scan from MSB to LSB.
Referenced by printTower().
Shifts the map to make room in the low bit numbers for a new bit.
map | The map to shift |
Shifts the map to make room in the low bit numbers for a new bit.
map | The map to shift |