GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> RIM / dev > rim / rhel6-32
#include "RIM_p.h"
#include "RIM_AG_init_p.h"
#include <string.h>
Functions | |
static __inline size_t | sizeofMap (RIM_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 __inline void | clearMap (RIM_map *map, RIM_type type) |
Set all bits of a map to zero. | |
static __inline void | setMap (RIM_map *map, RIM_type type) |
Set all bits of a map to one. | |
static __inline void | setBit (unsigned *map, unsigned i) |
Set a bit in a map. | |
static __inline void | clearBit (unsigned *map, unsigned i) |
Clear a bit in a map. | |
static __inline int | checkBit (const unsigned *map, unsigned i) |
Check a bit in a map. |
$Id: RIM_number.ic,v 1.3 2011/03/27 06:53:19 saxton Exp $
int checkBit | ( | const unsigned * | map, | |
unsigned | i | |||
) | [static] |
Check a bit in a map.
map | Map being manipulated | |
i | Bit to check |
Referenced by RIM_checkBit(), RIM_compare(), RIM_contrast(), RIM_correct(), RIM_export(), RIM_get(), RIM_import(), RIM_loadAfeConfig(), RIM_loadCfeConfig0(), RIM_loadCfeConfig1(), RIM_loadSplit(), and RIM_loadTfeDac().
void clearBit | ( | unsigned * | map, | |
unsigned | i | |||
) | [static] |
Clear a bit in a map.
map | Map being manipulated | |
i | Bit number to clear |
Referenced by RIM_clearBit(), and RIM_deleteData().
Set all bits of a map to zero.
map | Map being manipulated | |
type | Component type to be mapped |
References sizeofMap().
Referenced by RIM_clearMap().
void setBit | ( | unsigned * | map, | |
unsigned | i | |||
) | [static] |
Set a bit in a map.
map | Map being manipulated | |
i | Bit number to set |
Referenced by RIM_compare(), RIM_set(), and RIM_setBit().
Set all bits of a map to one.
map | Map being manipulated | |
type | Component type to be mapped |
References sizeofMap().
size_t sizeofMap | ( | RIM_type | type | ) | [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 |
References RIM_number().
Referenced by clearMap(), RIM_constructMap(), RIM_export(), RIM_exportMap(), RIM_import(), RIM_importMap(), RIM_sizeofMap(), and setMap().